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