FairRoot/PandaRoot
PndDrcPDPoint.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndDrcPDPoint header file -----
3 // ----- Created 09/04/08 by E. Fioravanti and A. Cecchi -----
4 // -------------------------------------------------------------------------
5 
6 
12 #ifndef PNDDRCPDPOINT_H
13 #define PNDDRCPDPOINT_H
14 
15 #include "TObject.h"
16 #include "TVector3.h"
17 #include "FairMCPoint.h"
18 
19 class PndDrcPDPoint : public FairMCPoint
20 {
21 
22  public:
23 
25  PndDrcPDPoint();
26 
27 
38  PndDrcPDPoint(Int_t trackID, Int_t detID, Int_t mcpId, Int_t barPintId,
39  TVector3 pos, TVector3 mom, TVector3 momAtEV, Double_t timeAtEV,
40  Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID);
41 
42 
44  //PndDrcPDPoint(const PndDrcPDPoint& point) { *this = point; }; // not needed
45 
46 
48  virtual ~PndDrcPDPoint();
49 
50 
52  Int_t GetPdgCode() const{ return fPdgCode; };
53  TVector3 GetMomAtEV() const{ return fmomAtEV; };
54  Double_t GetTimeAtEV() const{ return ftimeAtEV; };
55  Int_t GetDetectorID() const{ return fDetectorID; };
56  Int_t GetBarPointID() const{ return fBarPointId; };
57  Int_t GetMcpId() const{ return fMcpId; };
58 
60  void SetPdgCode(Int_t id) { fPdgCode = id; };
61 
62 
64  // virtual void Print(const Option_t* opt = 0) const = 0;
65  virtual void Print(const Option_t* opt) const ;
66 
67 
68  protected:
69 
70  Int_t fPdgCode;
71  Int_t fMcpId;
72  Int_t fBarPointId;
73  TVector3 fmomAtEV;
75 
76 
77  ClassDef(PndDrcPDPoint,3)
78 
79 };
80 
81 #endif
TVector3 fmomAtEV
Definition: PndDrcPDPoint.h:73
TVector3 pos
virtual void Print(const Option_t *opt) const
Int_t GetMcpId() const
Definition: PndDrcPDPoint.h:57
Int_t GetDetectorID() const
Definition: PndDrcPDPoint.h:55
Double_t ftimeAtEV
Definition: PndDrcPDPoint.h:74
void SetPdgCode(Int_t id)
Definition: PndDrcPDPoint.h:60
Double_t mom
Definition: plot_dirc.C:14
Int_t GetBarPointID() const
Definition: PndDrcPDPoint.h:56
Double_t
virtual ~PndDrcPDPoint()
Double_t GetTimeAtEV() const
Definition: PndDrcPDPoint.h:54
Int_t GetPdgCode() const
Definition: PndDrcPDPoint.h:52
TVector3 GetMomAtEV() const
Definition: PndDrcPDPoint.h:53