BmnRoot
Loading...
Searching...
No Matches
BmnFDPoint.h
Go to the documentation of this file.
1
2#ifndef BMNFDPOINT_H
3#define BMNFDPOINT_H
4
5#include "TObject.h"
6#include "TVector3.h"
7#include "TLorentzVector.h"
8#include "FairMCPoint.h"
9#include "Rtypes.h"
10#include "TVirtualMC.h"
11#include "TParticle.h"
12
13using namespace std;
14
15class BmnFDPoint : public FairMCPoint
16{
17
18 public:
19
21 BmnFDPoint();
22
23 BmnFDPoint(Int_t trackID, Int_t detID,
24 Int_t copyNo,
25 TVector3 posIn, TVector3 posOut,
26 TVector3 momIn, TVector3 momOut,
27 Double_t tof, Double_t length, Double_t eLoss,
28 Int_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield,
29 Double_t timeIn, Double_t timeOut, Double_t lengthtrack);
30 // UInt_t EventId,
32 BmnFDPoint(const BmnFDPoint& point) { *this = point; };
33
34
36 virtual ~BmnFDPoint();
37
38
40 Short_t GetCopy() const {return nCopy; };
41 // Short_t GetCopyMother() const {return nCopyMother; };
42
43 Int_t GetIsPrimary() { return fIsPrimary; }
44 Double_t GetCharge() { return fCharge; }
45 Double_t GetPdgId() { return fPdgId; }
46 Double_t GetTimeIn() const { return fTimeIn; }
47 Double_t GetTimeOut() const { return fTimeOut; }
48 Double_t GetLengthtrack() const { return fLengthtrack; }
49
50
51 Double_t GetPxOut() const { return fPxOut; }
52 Double_t GetPyOut() const { return fPyOut; }
53 Double_t GetPzOut() const { return fPzOut; }
54
55 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPxOut,fPyOut,fPzOut);}
56
57 Double_t GetXOut() const { return fXOut; }
58 Double_t GetYOut() const { return fYOut; }
59 Double_t GetZOut() const { return fZOut; }
60
61 void PositionOut(TVector3& pos) { pos.SetXYZ(fXOut,fYOut,fZOut);}
62
63 // ---------------------------------------------------------
64 Float_t GetLightYield() const {return fLightYield;}
65
66 //void GetPolarisation(TVector3 &v) const;
67
68
70 void SetCopy(Short_t i) { nCopy = i; };
71 // void SetCopyMother(Short_t i) { nCopyMother = i; };
72
73
74
75 //void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz) {fVx=vx; fVy=vy; fVz=vz;}
76
78 virtual void Print(const Option_t* opt) const;
79
80
81 protected:
82
83 Double_t fXOut, fYOut, fZOut;
84 Double_t fPxOut, fPyOut, fPzOut;
85
86 Short_t nCopy; // Copy number
87 // Short_t nCopyMother; // Copy number of mother volume
88
89
91 Double_t fCharge;
92 Int_t fPdgId;
93 Float_t fLightYield;
94 Double_t fTimeIn;
95 Double_t fTimeOut;
96 Double_t fLengthtrack;
97
98
99 ClassDef(BmnFDPoint,5)
100//4
101};
102
103
104#endif
int i
Definition P4_F32vec4.h:22
Double_t GetPdgId()
Definition BmnFDPoint.h:45
Double_t fPxOut
Definition BmnFDPoint.h:84
Double_t GetPyOut() const
Definition BmnFDPoint.h:52
Double_t GetTimeIn() const
Definition BmnFDPoint.h:46
Double_t fLengthtrack
Definition BmnFDPoint.h:96
Double_t fXOut
Definition BmnFDPoint.h:83
Double_t GetPzOut() const
Definition BmnFDPoint.h:53
BmnFDPoint(const BmnFDPoint &point)
Definition BmnFDPoint.h:32
virtual ~BmnFDPoint()
Double_t fTimeIn
Definition BmnFDPoint.h:94
Double_t GetLengthtrack() const
Definition BmnFDPoint.h:48
Double_t fPyOut
Definition BmnFDPoint.h:84
void MomentumOut(TVector3 &mom)
Definition BmnFDPoint.h:55
Double_t GetPxOut() const
Definition BmnFDPoint.h:51
Double_t fZOut
Definition BmnFDPoint.h:83
Int_t fIsPrimary
Definition BmnFDPoint.h:90
Double_t fCharge
Definition BmnFDPoint.h:91
Double_t fPzOut
Definition BmnFDPoint.h:84
Int_t GetIsPrimary()
Definition BmnFDPoint.h:43
void SetCopy(Short_t i)
Definition BmnFDPoint.h:70
Short_t nCopy
Definition BmnFDPoint.h:86
Short_t GetCopy() const
Definition BmnFDPoint.h:40
Double_t fYOut
Definition BmnFDPoint.h:83
void PositionOut(TVector3 &pos)
Definition BmnFDPoint.h:61
Double_t GetXOut() const
Definition BmnFDPoint.h:57
Float_t GetLightYield() const
Definition BmnFDPoint.h:64
Float_t fLightYield
Definition BmnFDPoint.h:93
Int_t fPdgId
Definition BmnFDPoint.h:92
Double_t GetYOut() const
Definition BmnFDPoint.h:58
Double_t GetCharge()
Definition BmnFDPoint.h:44
virtual void Print(const Option_t *opt) const
Double_t fTimeOut
Definition BmnFDPoint.h:95
Double_t GetTimeOut() const
Definition BmnFDPoint.h:47
Double_t GetZOut() const
Definition BmnFDPoint.h:59
STL namespace.