BmnRoot
Loading...
Searching...
No Matches
BmnBdPoint.h
Go to the documentation of this file.
1
2
3#ifndef BMNBDPOINT_H
4#define BMNBDPOINT_H
5
6#include "TObject.h"
7#include "TVector3.h"
8#include "TLorentzVector.h"
9#include "FairMCPoint.h"
10#include "Rtypes.h"
11#include "TVirtualMC.h"
12#include "TParticle.h"
13
14using namespace std;
15
16class BmnBdPoint : public FairMCPoint
17{
18
19 public:
20
22 BmnBdPoint();
23
24
37 BmnBdPoint(Int_t trackID, Int_t detID,
38 Int_t copyNo,
39 TVector3 posIn, TVector3 posOut,
40 TVector3 momIn, TVector3 momOut,
41 Double_t tof, Double_t length, Double_t eLoss,
42 Int_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield,
43 Double_t timeIn, Double_t timeOut, Double_t lengthtrack);
44 // UInt_t EventId,
46 BmnBdPoint(const BmnBdPoint& point) { *this = point; };
47
48
50 virtual ~BmnBdPoint();
51
52
54 Short_t GetCopy() const {return nCopy; };
55 // Short_t GetCopyMother() const {return nCopyMother; };
56
57 Int_t GetIsPrimary() { return fIsPrimary; }
58 Double_t GetCharge() { return fCharge; }
59 Double_t GetPdgId() { return fPdgId; }
60 Double_t GetTimeIn() const { return fTimeIn; }
61 Double_t GetTimeOut() const { return fTimeOut; }
62 Double_t GetLengthtrack() const { return fLengthtrack; }
63
64
65 Double_t GetPxOut() const { return fPxOut; }
66 Double_t GetPyOut() const { return fPyOut; }
67 Double_t GetPzOut() const { return fPzOut; }
68
69 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPxOut,fPyOut,fPzOut);}
70
71 Double_t GetXOut() const { return fXOut; }
72 Double_t GetYOut() const { return fYOut; }
73 Double_t GetZOut() const { return fZOut; }
74
75 void PositionOut(TVector3& pos) { pos.SetXYZ(fXOut,fYOut,fZOut);}
76
77 // ---------------------------------------------------------
78 Float_t GetLightYield() const {return fLightYield;}
79
80 //void GetPolarisation(TVector3 &v) const;
81
82
83 /*
84 Double_t GetX() const { return fX1; };
85 Double_t GetY() const { return fY1; };
86 Double_t GetZ() const { return fZ1; };
87
88 void Position(TVector3& posprim) const { posprim.SetXYZ(fX1, fY1, fZ1); }
89*/
90
92 void SetCopy(Short_t i) { nCopy = i; };
93 // void SetCopyMother(Short_t i) { nCopyMother = i; };
94
95
96
97 //void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz) {fVx=vx; fVy=vy; fVz=vz;}
98
100 virtual void Print(const Option_t* opt) const;
101
102
103 protected:
104
105 Double_t fXOut, fYOut, fZOut;
106 Double_t fPxOut, fPyOut, fPzOut;
107
108 Short_t nCopy; // Copy number
109 // Short_t nCopyMother; // Copy number of mother volume
110
111
113 Double_t fCharge;
114 Int_t fPdgId;
115 Float_t fLightYield;
116 Double_t fTimeIn;
117 Double_t fTimeOut;
118 Double_t fLengthtrack;
119
120
121 ClassDef(BmnBdPoint,5)
122//4
123};
124
125
126#endif
int i
Definition P4_F32vec4.h:22
Double_t fTimeOut
Definition BmnBdPoint.h:117
Double_t GetZOut() const
Definition BmnBdPoint.h:73
Int_t GetIsPrimary()
Definition BmnBdPoint.h:57
Double_t GetTimeIn() const
Definition BmnBdPoint.h:60
Double_t GetPyOut() const
Definition BmnBdPoint.h:66
Double_t GetPxOut() const
Definition BmnBdPoint.h:65
virtual void Print(const Option_t *opt) const
void PositionOut(TVector3 &pos)
Definition BmnBdPoint.h:75
Double_t GetPzOut() const
Definition BmnBdPoint.h:67
Double_t fXOut
Definition BmnBdPoint.h:105
Double_t GetLengthtrack() const
Definition BmnBdPoint.h:62
Double_t GetPdgId()
Definition BmnBdPoint.h:59
virtual ~BmnBdPoint()
Int_t fPdgId
Definition BmnBdPoint.h:114
Int_t fIsPrimary
Definition BmnBdPoint.h:112
Double_t fYOut
Definition BmnBdPoint.h:105
BmnBdPoint(const BmnBdPoint &point)
Definition BmnBdPoint.h:46
void MomentumOut(TVector3 &mom)
Definition BmnBdPoint.h:69
Double_t fZOut
Definition BmnBdPoint.h:105
Double_t fTimeIn
Definition BmnBdPoint.h:116
void SetCopy(Short_t i)
Definition BmnBdPoint.h:92
Float_t GetLightYield() const
Definition BmnBdPoint.h:78
Double_t GetTimeOut() const
Definition BmnBdPoint.h:61
Double_t fLengthtrack
Definition BmnBdPoint.h:118
Double_t fCharge
Definition BmnBdPoint.h:113
Double_t fPzOut
Definition BmnBdPoint.h:106
Float_t fLightYield
Definition BmnBdPoint.h:115
Short_t nCopy
Definition BmnBdPoint.h:108
Short_t GetCopy() const
Definition BmnBdPoint.h:54
Double_t GetXOut() const
Definition BmnBdPoint.h:71
Double_t fPyOut
Definition BmnBdPoint.h:106
Double_t fPxOut
Definition BmnBdPoint.h:106
Double_t GetYOut() const
Definition BmnBdPoint.h:72
Double_t GetCharge()
Definition BmnBdPoint.h:58
STL namespace.