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 #ifndef PNDDRCEVPOINT_H
7 #define PNDDRCEVPOINT_H
8 
9 #include "TObject.h"
10 #include "TVector3.h"
11 #include "FairMCPoint.h"
12 
13 class PndDrcEVPoint : public FairMCPoint {
14 
15  public:
17  PndDrcEVPoint();
18 
29  PndDrcEVPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID, Double_t timestart, Double_t timestartEV,
30  Double_t VeloPhoton, TVector3 normal = TVector3(0, 0, 0));
31 
33  // PndDrcEVPoint(const PndDrcEVPoint& point) { *this = point; }; // not needed
34 
36  virtual ~PndDrcEVPoint();
37 
39  Int_t GetPdgCode() const { return fPdgCode; };
40  // TVector3 GetMomAtEV() const{ return fmomAtEV; };
41  TVector3 GetNormal() { return fNormal; };
42  Int_t GetDetectorID() const { return fDetectorID; };
43  virtual Double_t GetTimeStart() { return fTimeStart; }
44  virtual Double_t GetTimeAtEVEntrance() { return fTimeAtEVEntrance; }
45  virtual Double_t GetVeloPhoton() { return fVeloPhoton; }
46 
48  void SetPdgCode(Int_t id) { fPdgCode = id; };
49 
51  // virtual void Print(const Option_t* opt = 0) const = 0;
52  virtual void Print(const Option_t *opt) const;
53 
54  protected:
55  Int_t fPdgCode;
56  Double_t fTimeStart;
58  Double_t fVeloPhoton;
59  TVector3 fNormal;
60  // TVector3 fmomAtEV;
61 
62  ClassDef(PndDrcEVPoint, 1)
63 };
64 
65 #endif
Int_t GetDetectorID() const
Definition: PndDrcEVPoint.h:42
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:58
TVector3 fNormal
Definition: PndDrcEVPoint.h:59
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:57
virtual Double_t GetTimeStart()
Definition: PndDrcEVPoint.h:43
virtual Double_t GetVeloPhoton()
Definition: PndDrcEVPoint.h:45
Int_t GetPdgCode() const
Definition: PndDrcEVPoint.h:39
virtual ~PndDrcEVPoint()
virtual Double_t GetTimeAtEVEntrance()
Definition: PndDrcEVPoint.h:44
TVector3 GetNormal()
Definition: PndDrcEVPoint.h:41
Double_t fTimeStart
Definition: PndDrcEVPoint.h:56
void SetPdgCode(Int_t id)
Definition: PndDrcEVPoint.h:48
virtual void Print(const Option_t *opt) const