FairRoot/PandaRoot
PndDrcEVPoint.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndDrcEVPoint header file -----
3 // ----- Created 16/06/13 by H. Kumawat -----
4 // -------------------------------------------------------------------------
5 
6 
7 
8 #ifndef PNDDRCEVPOINT_H
9 #define PNDDRCEVPOINT_H
10 
11 #include "TObject.h"
12 #include "TVector3.h"
13 #include "FairMCPoint.h"
14 
15 class PndDrcEVPoint : public FairMCPoint
16 {
17 
18  public:
19 
21  PndDrcEVPoint();
22 
23 
34  PndDrcEVPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
35  Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID, Double_t timestart, Double_t timestartEV, Double_t VeloPhoton,TVector3 normal=TVector3(0,0,0));
36 
37 
39  // PndDrcEVPoint(const PndDrcEVPoint& point) { *this = point; }; // not needed
40 
41 
43  virtual ~PndDrcEVPoint();
44 
45 
47  Int_t GetPdgCode() const{ return fPdgCode; };
48 // TVector3 GetMomAtEV() const{ return fmomAtEV; };
49  TVector3 GetNormal() { return fNormal; };
50  Int_t GetDetectorID() const{ return fDetectorID; };
51  virtual Double_t GetTimeStart() {return fTimeStart;}
53  virtual Double_t GetVeloPhoton() {return fVeloPhoton;}
54 
55 
57  void SetPdgCode(Int_t id) { fPdgCode = id; };
58 
59 
61  // virtual void Print(const Option_t* opt = 0) const = 0;
62  virtual void Print(const Option_t* opt) const ;
63 
64 
65  protected:
66 
67  Int_t fPdgCode;
71  TVector3 fNormal;
72 // TVector3 fmomAtEV;
73 
74 
75 
76  ClassDef(PndDrcEVPoint,1)
77 
78 };
79 
80 #endif
TVector3 pos
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:70
TVector3 fNormal
Definition: PndDrcEVPoint.h:71
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:69
virtual Double_t GetTimeStart()
Definition: PndDrcEVPoint.h:51
Int_t GetDetectorID() const
Definition: PndDrcEVPoint.h:50
Double_t mom
Definition: plot_dirc.C:14
virtual Double_t GetVeloPhoton()
Definition: PndDrcEVPoint.h:53
virtual ~PndDrcEVPoint()
virtual void Print(const Option_t *opt) const
Double_t
virtual Double_t GetTimeAtEVEntrance()
Definition: PndDrcEVPoint.h:52
Int_t GetPdgCode() const
Definition: PndDrcEVPoint.h:47
TVector3 GetNormal()
Definition: PndDrcEVPoint.h:49
Double_t fTimeStart
Definition: PndDrcEVPoint.h:68
void SetPdgCode(Int_t id)
Definition: PndDrcEVPoint.h:57