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

#include <PndRichPDHit.h>

Inheritance diagram for PndRichPDHit:

Public Member Functions

 PndRichPDHit ()
 
 PndRichPDHit (Int_t index, Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t time, Double_t timeThreshold)
 
virtual ~PndRichPDHit ()
 
virtual void Print (const Option_t *opt="") const
 
virtual Double_t GetTime ()
 
virtual Double_t GetTimeThreshold ()
 
virtual Int_t GetRefIndex ()
 
TVector3 GetPosition () const
 
Int_t GetSensorId () const
 

Protected Attributes

Int_t fIndex
 
Int_t fSensorId
 
Int_t fRefIndex
 
Double_t fX
 
Double_t fY
 
Double_t fZ
 
Double_t fTime
 
Double_t fTimeThreshold
 

Detailed Description

Definition at line 14 of file PndRichPDHit.h.

Constructor & Destructor Documentation

PndRichPDHit::PndRichPDHit ( )

Default constructor

Definition at line 15 of file PndRichPDHit.cxx.

16  :FairHit(),
17  fIndex(-1),
18  fSensorId(-1),
19  fTime(-999.),
20  fTimeThreshold(-999.)
21 {
22 }
Double_t fTime
Definition: PndRichPDHit.h:94
Int_t fSensorId
Definition: PndRichPDHit.h:91
Double_t fTimeThreshold
Definition: PndRichPDHit.h:94
PndRichPDHit::PndRichPDHit ( Int_t  index,
Int_t  detID,
Int_t  sensorId,
TVector3 &  pos,
TVector3 &  dpos,
Double_t  time,
Double_t  timeThreshold 
)

Definition at line 28 of file PndRichPDHit.cxx.

References fX, fY, and fZ.

35 :FairHit(detID, pos, dpos, index),
36  fIndex(index),
37  fSensorId (sensorId),
38  fTime (time),
39  fTimeThreshold (timeThreshold)
40 {
41  fX = pos.X();
42  fY = pos.Y();
43  fZ = pos.Z();
44 }
TVector3 pos
Double_t fTime
Definition: PndRichPDHit.h:94
Int_t fSensorId
Definition: PndRichPDHit.h:91
Double_t fTimeThreshold
Definition: PndRichPDHit.h:94
Double_t fX
Definition: PndRichPDHit.h:93
Double_t fZ
Definition: PndRichPDHit.h:93
Double_t fY
Definition: PndRichPDHit.h:93
PndRichPDHit::~PndRichPDHit ( )
virtual

Copy constructor Destructor

Definition at line 47 of file PndRichPDHit.cxx.

47 {}

Member Function Documentation

TVector3 PndRichPDHit::GetPosition ( ) const
inline

Definition at line 50 of file PndRichPDHit.h.

References fX, fY, and fZ.

Referenced by PndRichReco::CherenkovPhotonListFlat().

50 { return TVector3(fX, fY, fZ); }
Double_t fX
Definition: PndRichPDHit.h:93
Double_t fZ
Definition: PndRichPDHit.h:93
Double_t fY
Definition: PndRichPDHit.h:93
virtual Int_t PndRichPDHit::GetRefIndex ( )
inlinevirtual

Definition at line 49 of file PndRichPDHit.h.

References fRefIndex.

49 {return fRefIndex;}
Int_t fRefIndex
Definition: PndRichPDHit.h:92
Int_t PndRichPDHit::GetSensorId ( ) const
inline

Definition at line 51 of file PndRichPDHit.h.

References fSensorId.

51 {return fSensorId;}
Int_t fSensorId
Definition: PndRichPDHit.h:91
virtual Double_t PndRichPDHit::GetTime ( )
inlinevirtual

Modifiers Accessors

Definition at line 47 of file PndRichPDHit.h.

References fTime.

Referenced by PndRichReco::CherenkovPhotonListFlat().

47 {return fTime;}
Double_t fTime
Definition: PndRichPDHit.h:94
virtual Double_t PndRichPDHit::GetTimeThreshold ( )
inlinevirtual

Definition at line 48 of file PndRichPDHit.h.

References fTimeThreshold.

48 {return fTimeThreshold;}
Double_t fTimeThreshold
Definition: PndRichPDHit.h:94
void PndRichPDHit::Print ( const Option_t *  opt = "") const
virtual

Output to screen

Definition at line 52 of file PndRichPDHit.cxx.

References fTime.

52  {
53  cout << "RICH Photon hit: Time = " << fTime << " opt="<<opt<< endl;
54 }
Double_t fTime
Definition: PndRichPDHit.h:94

Member Data Documentation

Int_t PndRichPDHit::fIndex
protected

Definition at line 90 of file PndRichPDHit.h.

Int_t PndRichPDHit::fRefIndex
protected

Definition at line 92 of file PndRichPDHit.h.

Referenced by GetRefIndex().

Int_t PndRichPDHit::fSensorId
protected

Definition at line 91 of file PndRichPDHit.h.

Referenced by GetSensorId().

Double_t PndRichPDHit::fTime
protected

Definition at line 94 of file PndRichPDHit.h.

Referenced by GetTime(), and Print().

Double_t PndRichPDHit::fTimeThreshold
protected

Definition at line 94 of file PndRichPDHit.h.

Referenced by GetTimeThreshold().

Double_t PndRichPDHit::fX
protected

Definition at line 93 of file PndRichPDHit.h.

Referenced by GetPosition(), and PndRichPDHit().

Double_t PndRichPDHit::fY
protected

Definition at line 93 of file PndRichPDHit.h.

Referenced by GetPosition(), and PndRichPDHit().

Double_t PndRichPDHit::fZ
protected

Definition at line 93 of file PndRichPDHit.h.

Referenced by GetPosition(), and PndRichPDHit().


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