PandaRoot
PndFtofPoint.h
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // ----- PndFtofpoint header file -----
3 // ----- Created by A.Sanchez -----
4 // ------------------------------------------------------------------------
5 
6 #ifndef PNDFTOFPOINT_H
7 #define PNDFTOFPOINT_H
8 
9 #include "TObject.h"
10 #include "TVector3.h"
11 #include "TLorentzVector.h"
12 #include "PndMCPoint.h"
13 #include "TString.h"
14 
15 class PndFtofPoint : public PndMCPoint {
16 
17  public:
19  PndFtofPoint();
20 
35  PndFtofPoint(Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length,
36  Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout);
37 
39  PndFtofPoint(const PndFtofPoint &point) : PndMCPoint(point) { *this = point; };
40 
42  virtual ~PndFtofPoint();
43 
45  Int_t GetVolumeID() const { return fVolumeID; };
46 
47  Double_t GetPLin() const { return fPLin; };
48  Double_t GetPLout() const { return fPLout; };
49 
50  Double_t Getdist() const { return fdist; };
51  // Double_t Gettheta() const { return ftheta; };
52 
53  TString GetDetName() const { return fDetName; };
54  Double_t GetMass() const { return fmass; };
55 
57  virtual void Print(const Option_t *opt) const;
58 
59  protected:
60  Double32_t fPLin = 0.;
61  Double32_t fPLout = 0.;
62  Double32_t fmass = 0.;
63  Double32_t fcharge = 0.;
64  Double32_t fdist = 0.;
65 
66  TString fDetName;
67 
68  Int_t fVolumeID = -999;
69  Int_t fpdgCode = 0;
70 
72 };
73 
74 #endif
Int_t fpdgCode
Definition: PndFtofPoint.h:69
TString GetDetName() const
Definition: PndFtofPoint.h:53
Double32_t fdist
Definition: PndFtofPoint.h:64
Double32_t fPLout
Definition: PndFtofPoint.h:61
TString fDetName
Definition: PndFtofPoint.h:66
virtual void Print(const Option_t *opt) const
Int_t fVolumeID
Definition: PndFtofPoint.h:68
Double_t GetPLin() const
Definition: PndFtofPoint.h:47
Double_t GetMass() const
Definition: PndFtofPoint.h:54
ClassDef(PndMCPoint, 1)
Double32_t fPLin
Definition: PndFtofPoint.h:60
Double32_t fmass
Definition: PndFtofPoint.h:62
virtual ~PndFtofPoint()
PndFtofPoint(const PndFtofPoint &point)
Definition: PndFtofPoint.h:39
Double32_t fcharge
Definition: PndFtofPoint.h:63
Double_t Getdist() const
Definition: PndFtofPoint.h:50
Int_t GetVolumeID() const
Definition: PndFtofPoint.h:45
Double_t GetPLout() const
Definition: PndFtofPoint.h:48