FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndDrcPDHit Class Reference

#include <PndDrcPDHit.h>

Inheritance diagram for PndDrcPDHit:

Public Member Functions

 PndDrcPDHit ()
 
 PndDrcPDHit (Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t time, Double_t timeThreshold, Int_t index)
 
virtual ~PndDrcPDHit ()
 
virtual void Print (const Option_t *opt="") const
 
void SetBarID (Int_t BarID)
 
void SetBoxID (Int_t BoxID)
 
void SetTrackID (Int_t TrackID)
 
void SetTrackIniVertex (TVector3 TrackIniVertex)
 
void SetMotherID (Int_t MrID)
 
void SetPdgCode (Int_t Pdg)
 
void SetTrackMom (TVector3 TrackMom)
 
void SetMotherIDPho (Int_t MrIDPho)
 
void SetTimeAtBar (Double_t TimeAtBar)
 
void SetEvtTim (Double_t EvtTim)
 
void SetEventTim (Double_t EventTim)
 
void SetPileUp (Double_t pileup)
 
void SetEventNo (Int_t EventNo)
 
virtual Double_t GetTime ()
 
virtual Double_t GetTimeThreshold ()
 
virtual Int_t GetRefIndex ()
 
TVector3 GetPosition () const
 
Int_t GetSensorId ()
 
Int_t GetBarID () const
 
Int_t GetBoxID () const
 
Int_t GetTrackID () const
 
TVector3 GetTrackIniVertex ()
 
Int_t GetMotherID () const
 
Int_t GetPdgCode () const
 
TVector3 GetTrackMom ()
 
Int_t GetMotherIDPho () const
 
Double_t GetTimeAtBar () const
 
Double_t GetEvtTim () const
 
Double_t GetEventTim () const
 
Double_t GetPileUp () const
 
Int_t GetEventNo () const
 

Protected Attributes

Int_t fSensorId
 
Double_t fTime
 
Double_t fTimeThreshold
 
Int_t fBarID
 
Int_t fBoxID
 
Int_t fTrackID
 
TVector3 fTrackIniVertex
 
Int_t fMrID
 
Int_t fMrIDPho
 
Int_t fPdg
 
TVector3 fTrackMom
 
Double_t fTimeAtBar
 
Double_t fEvtTim
 
Double_t fEventTim
 
Double_t fPileUp
 
Int_t fEventNo
 

Detailed Description

Definition at line 13 of file PndDrcPDHit.h.

Constructor & Destructor Documentation

PndDrcPDHit::PndDrcPDHit ( )

Default constructor

Definition at line 15 of file PndDrcPDHit.cxx.

16  :FairHit(),
17  fSensorId(-999),
18  fTime(-999.),
19  fTimeThreshold(-999.), fBarID(-999), fBoxID(-999), fTrackID(-999), fTrackIniVertex(TVector3()), fMrID(-999), fMrIDPho(-999), fPdg(-999), fTrackMom(TVector3()), fTimeAtBar(-999), fEvtTim(-999), fEventTim(-999), fPileUp(-999), fEventNo(-999)
20 {
21 }
Int_t fTrackID
Definition: PndDrcPDHit.h:80
Int_t fPdg
Definition: PndDrcPDHit.h:84
TVector3 fTrackIniVertex
Definition: PndDrcPDHit.h:81
Double_t fTimeThreshold
Definition: PndDrcPDHit.h:77
Double_t fTime
Definition: PndDrcPDHit.h:77
Int_t fEventNo
Definition: PndDrcPDHit.h:90
Double_t fPileUp
Definition: PndDrcPDHit.h:89
Int_t fSensorId
Definition: PndDrcPDHit.h:76
Int_t fMrID
Definition: PndDrcPDHit.h:82
Double_t fEventTim
Definition: PndDrcPDHit.h:88
Double_t fEvtTim
Definition: PndDrcPDHit.h:87
Double_t fTimeAtBar
Definition: PndDrcPDHit.h:86
Int_t fBoxID
Definition: PndDrcPDHit.h:79
Int_t fMrIDPho
Definition: PndDrcPDHit.h:83
TVector3 fTrackMom
Definition: PndDrcPDHit.h:85
Int_t fBarID
Definition: PndDrcPDHit.h:78
PndDrcPDHit::PndDrcPDHit ( Int_t  detID,
Int_t  sensorId,
TVector3 &  pos,
TVector3 &  dpos,
Double_t  time,
Double_t  timeThreshold,
Int_t  index 
)

Definition at line 27 of file PndDrcPDHit.cxx.

34  :FairHit(detID, pos, dpos, index),fSensorId (sensorId),
35  fTime (time),fTimeThreshold (timeThreshold),
36  fBarID(), fBoxID(), fTrackID(), fTrackIniVertex(TVector3()), fMrID(), fMrIDPho(), fPdg(), fTrackMom(TVector3()), fTimeAtBar(), fEvtTim(), fEventTim(), fPileUp(), fEventNo()
37 {
38 }
Int_t fTrackID
Definition: PndDrcPDHit.h:80
TVector3 pos
Int_t fPdg
Definition: PndDrcPDHit.h:84
TVector3 fTrackIniVertex
Definition: PndDrcPDHit.h:81
Double_t fTimeThreshold
Definition: PndDrcPDHit.h:77
Double_t fTime
Definition: PndDrcPDHit.h:77
Int_t fEventNo
Definition: PndDrcPDHit.h:90
Double_t fPileUp
Definition: PndDrcPDHit.h:89
Int_t fSensorId
Definition: PndDrcPDHit.h:76
Int_t fMrID
Definition: PndDrcPDHit.h:82
Double_t fEventTim
Definition: PndDrcPDHit.h:88
Double_t fEvtTim
Definition: PndDrcPDHit.h:87
Double_t fTimeAtBar
Definition: PndDrcPDHit.h:86
Int_t fBoxID
Definition: PndDrcPDHit.h:79
Int_t fMrIDPho
Definition: PndDrcPDHit.h:83
TVector3 fTrackMom
Definition: PndDrcPDHit.h:85
Int_t fBarID
Definition: PndDrcPDHit.h:78
PndDrcPDHit::~PndDrcPDHit ( )
virtual

Copy constructor Destructor

Definition at line 41 of file PndDrcPDHit.cxx.

41 {}

Member Function Documentation

Int_t PndDrcPDHit::GetBarID ( ) const
inline

Definition at line 60 of file PndDrcPDHit.h.

References fBarID.

60 { return fBarID; }
Int_t fBarID
Definition: PndDrcPDHit.h:78
Int_t PndDrcPDHit::GetBoxID ( ) const
inline

Definition at line 61 of file PndDrcPDHit.h.

References fBoxID.

61 { return fBoxID; }
Int_t fBoxID
Definition: PndDrcPDHit.h:79
Int_t PndDrcPDHit::GetEventNo ( ) const
inline

Definition at line 72 of file PndDrcPDHit.h.

References fEventNo.

72 { return fEventNo; }
Int_t fEventNo
Definition: PndDrcPDHit.h:90
Double_t PndDrcPDHit::GetEventTim ( ) const
inline

Definition at line 70 of file PndDrcPDHit.h.

References fEventTim.

70 { return fEventTim; }
Double_t fEventTim
Definition: PndDrcPDHit.h:88
Double_t PndDrcPDHit::GetEvtTim ( ) const
inline

Definition at line 69 of file PndDrcPDHit.h.

References fEvtTim.

69 { return fEvtTim; }
Double_t fEvtTim
Definition: PndDrcPDHit.h:87
Int_t PndDrcPDHit::GetMotherID ( ) const
inline

Definition at line 64 of file PndDrcPDHit.h.

References fMrID.

64 { return fMrID; }
Int_t fMrID
Definition: PndDrcPDHit.h:82
Int_t PndDrcPDHit::GetMotherIDPho ( ) const
inline

Definition at line 67 of file PndDrcPDHit.h.

References fMrIDPho.

67 { return fMrIDPho; }
Int_t fMrIDPho
Definition: PndDrcPDHit.h:83
Int_t PndDrcPDHit::GetPdgCode ( ) const
inline

Definition at line 65 of file PndDrcPDHit.h.

References fPdg.

65 { return fPdg; }
Int_t fPdg
Definition: PndDrcPDHit.h:84
Double_t PndDrcPDHit::GetPileUp ( ) const
inline

Definition at line 71 of file PndDrcPDHit.h.

References fPileUp.

71 { return fPileUp; }
Double_t fPileUp
Definition: PndDrcPDHit.h:89
TVector3 PndDrcPDHit::GetPosition ( ) const
inline

Definition at line 58 of file PndDrcPDHit.h.

References fX, fY, and fZ.

Referenced by PndDrcLutFill::ProcessPhotonHit(), PndPhoGunShortP::ProcessPhotonHit(), and PndPhoGunShort::ProcessPhotonHit().

58 { return TVector3(fX, fY, fZ); }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
virtual Int_t PndDrcPDHit::GetRefIndex ( )
inlinevirtual
Int_t PndDrcPDHit::GetSensorId ( )
inline
virtual Double_t PndDrcPDHit::GetTime ( )
inlinevirtual
Double_t PndDrcPDHit::GetTimeAtBar ( ) const
inline

Definition at line 68 of file PndDrcPDHit.h.

References fTimeAtBar.

68 { return fTimeAtBar; }
Double_t fTimeAtBar
Definition: PndDrcPDHit.h:86
virtual Double_t PndDrcPDHit::GetTimeThreshold ( )
inlinevirtual

Definition at line 56 of file PndDrcPDHit.h.

References fTimeThreshold.

56 {return fTimeThreshold;}
Double_t fTimeThreshold
Definition: PndDrcPDHit.h:77
Int_t PndDrcPDHit::GetTrackID ( ) const
inline

Definition at line 62 of file PndDrcPDHit.h.

References fTrackID.

62 { return fTrackID; }
Int_t fTrackID
Definition: PndDrcPDHit.h:80
TVector3 PndDrcPDHit::GetTrackIniVertex ( )
inline

Definition at line 63 of file PndDrcPDHit.h.

References fTrackIniVertex.

63 { return fTrackIniVertex; }
TVector3 fTrackIniVertex
Definition: PndDrcPDHit.h:81
TVector3 PndDrcPDHit::GetTrackMom ( )
inline

Definition at line 66 of file PndDrcPDHit.h.

References fTrackMom.

66 { return fTrackMom; }
TVector3 fTrackMom
Definition: PndDrcPDHit.h:85
void PndDrcPDHit::Print ( const Option_t *  opt = "") const
virtual

Output to screen

Definition at line 46 of file PndDrcPDHit.cxx.

References fTime.

46  {
47  (void)opt; // to remove "unused" warnings
48  cout << "DIRC Photon hit: Time = " << fTime << endl;
49 }
Double_t fTime
Definition: PndDrcPDHit.h:77
void PndDrcPDHit::SetBarID ( Int_t  BarID)

Modifiers

Definition at line 51 of file PndDrcPDHit.cxx.

References fBarID.

51  {
52  fBarID = BarID;
53 }
Int_t fBarID
Definition: PndDrcPDHit.h:78
void PndDrcPDHit::SetBoxID ( Int_t  BoxID)

Definition at line 54 of file PndDrcPDHit.cxx.

References fBoxID.

54  {
55  fBoxID = BoxID;
56 }
Int_t fBoxID
Definition: PndDrcPDHit.h:79
void PndDrcPDHit::SetEventNo ( Int_t  EventNo)

Definition at line 87 of file PndDrcPDHit.cxx.

References fEventNo.

87  {
88  fEventNo = EventNo;
89 }
Int_t fEventNo
Definition: PndDrcPDHit.h:90
void PndDrcPDHit::SetEventTim ( Double_t  EventTim)

Definition at line 81 of file PndDrcPDHit.cxx.

References fEventTim.

81  {
82  fEventTim = EventTim;
83 }
Double_t fEventTim
Definition: PndDrcPDHit.h:88
void PndDrcPDHit::SetEvtTim ( Double_t  EvtTim)

Definition at line 78 of file PndDrcPDHit.cxx.

References fEvtTim.

78  {
79  fEvtTim = EvtTim;
80 }
Double_t fEvtTim
Definition: PndDrcPDHit.h:87
void PndDrcPDHit::SetMotherID ( Int_t  MrID)

Definition at line 63 of file PndDrcPDHit.cxx.

References fMrID.

63  {
64  fMrID = MrID;
65 }
Int_t fMrID
Definition: PndDrcPDHit.h:82
void PndDrcPDHit::SetMotherIDPho ( Int_t  MrIDPho)

Definition at line 72 of file PndDrcPDHit.cxx.

References fMrIDPho.

72  {
73  fMrIDPho = MrIDPho;
74 }
Int_t fMrIDPho
Definition: PndDrcPDHit.h:83
void PndDrcPDHit::SetPdgCode ( Int_t  Pdg)

Definition at line 66 of file PndDrcPDHit.cxx.

References fPdg.

Referenced by PndDrcHitFinder::Exec().

66  {
67  fPdg = Pdg;
68 }
Int_t fPdg
Definition: PndDrcPDHit.h:84
void PndDrcPDHit::SetPileUp ( Double_t  pileup)

Definition at line 84 of file PndDrcPDHit.cxx.

References fPileUp.

84  {
85  fPileUp = pileup;
86 }
Double_t fPileUp
Definition: PndDrcPDHit.h:89
void PndDrcPDHit::SetTimeAtBar ( Double_t  TimeAtBar)

Definition at line 75 of file PndDrcPDHit.cxx.

References fTimeAtBar.

Referenced by PndDrcHitFinder::Exec().

75  {
76  fTimeAtBar = TimeAtBar;
77 }
Double_t fTimeAtBar
Definition: PndDrcPDHit.h:86
void PndDrcPDHit::SetTrackID ( Int_t  TrackID)

Definition at line 57 of file PndDrcPDHit.cxx.

References fTrackID.

57  {
58  fTrackID = TrackID;
59 }
Int_t fTrackID
Definition: PndDrcPDHit.h:80
void PndDrcPDHit::SetTrackIniVertex ( TVector3  TrackIniVertex)

Definition at line 60 of file PndDrcPDHit.cxx.

References fTrackIniVertex.

60  {
61  fTrackIniVertex = TrackIniVertex;
62 }
TVector3 fTrackIniVertex
Definition: PndDrcPDHit.h:81
void PndDrcPDHit::SetTrackMom ( TVector3  TrackMom)

Definition at line 69 of file PndDrcPDHit.cxx.

References fTrackMom.

69  {
70  fTrackMom = TrackMom;
71 }
TVector3 fTrackMom
Definition: PndDrcPDHit.h:85

Member Data Documentation

Int_t PndDrcPDHit::fBarID
protected

Definition at line 78 of file PndDrcPDHit.h.

Referenced by GetBarID(), and SetBarID().

Int_t PndDrcPDHit::fBoxID
protected

Definition at line 79 of file PndDrcPDHit.h.

Referenced by GetBoxID(), and SetBoxID().

Int_t PndDrcPDHit::fEventNo
protected

Definition at line 90 of file PndDrcPDHit.h.

Referenced by GetEventNo(), and SetEventNo().

Double_t PndDrcPDHit::fEventTim
protected

Definition at line 88 of file PndDrcPDHit.h.

Referenced by GetEventTim(), and SetEventTim().

Double_t PndDrcPDHit::fEvtTim
protected

Definition at line 87 of file PndDrcPDHit.h.

Referenced by GetEvtTim(), and SetEvtTim().

Int_t PndDrcPDHit::fMrID
protected

Definition at line 82 of file PndDrcPDHit.h.

Referenced by GetMotherID(), and SetMotherID().

Int_t PndDrcPDHit::fMrIDPho
protected

Definition at line 83 of file PndDrcPDHit.h.

Referenced by GetMotherIDPho(), and SetMotherIDPho().

Int_t PndDrcPDHit::fPdg
protected

Definition at line 84 of file PndDrcPDHit.h.

Referenced by GetPdgCode(), and SetPdgCode().

Double_t PndDrcPDHit::fPileUp
protected

Definition at line 89 of file PndDrcPDHit.h.

Referenced by GetPileUp(), and SetPileUp().

Int_t PndDrcPDHit::fSensorId
protected

Definition at line 76 of file PndDrcPDHit.h.

Referenced by GetSensorId().

Double_t PndDrcPDHit::fTime
protected

Definition at line 77 of file PndDrcPDHit.h.

Referenced by GetTime(), and Print().

Double_t PndDrcPDHit::fTimeAtBar
protected

Definition at line 86 of file PndDrcPDHit.h.

Referenced by GetTimeAtBar(), and SetTimeAtBar().

Double_t PndDrcPDHit::fTimeThreshold
protected

Definition at line 77 of file PndDrcPDHit.h.

Referenced by GetTimeThreshold().

Int_t PndDrcPDHit::fTrackID
protected

Definition at line 80 of file PndDrcPDHit.h.

Referenced by GetTrackID(), and SetTrackID().

TVector3 PndDrcPDHit::fTrackIniVertex
protected

Definition at line 81 of file PndDrcPDHit.h.

Referenced by GetTrackIniVertex(), and SetTrackIniVertex().

TVector3 PndDrcPDHit::fTrackMom
protected

Definition at line 85 of file PndDrcPDHit.h.

Referenced by GetTrackMom(), and SetTrackMom().


The documentation for this class was generated from the following files: