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

#include <PndDrcEVPoint.h>

Inheritance diagram for PndDrcEVPoint:

Public Member Functions

 PndDrcEVPoint ()
 
 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, Double_t VeloPhoton, TVector3 normal=TVector3(0, 0, 0))
 
virtual ~PndDrcEVPoint ()
 
Int_t GetPdgCode () const
 
TVector3 GetNormal ()
 
Int_t GetDetectorID () const
 
virtual Double_t GetTimeStart ()
 
virtual Double_t GetTimeAtEVEntrance ()
 
virtual Double_t GetVeloPhoton ()
 
void SetPdgCode (Int_t id)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Int_t fPdgCode
 
Double_t fTimeStart
 
Double_t fTimeAtEVEntrance
 
Double_t fVeloPhoton
 
TVector3 fNormal
 

Detailed Description

Definition at line 15 of file PndDrcEVPoint.h.

Constructor & Destructor Documentation

PndDrcEVPoint::PndDrcEVPoint ( )

Default constructor

Definition at line 15 of file PndDrcEVPoint.cxx.

16  :FairMCPoint(), fPdgCode(0),fTimeStart(0.) ,fTimeAtEVEntrance(0.), fVeloPhoton(0.), fNormal(TVector3())
17 {
18 }
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:70
TVector3 fNormal
Definition: PndDrcEVPoint.h:71
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:69
Double_t fTimeStart
Definition: PndDrcEVPoint.h:68
PndDrcEVPoint::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,
Double_t  VeloPhoton,
TVector3  normal = TVector3(0,0,0) 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posPoint coordinates [cm]
momMomentum of track at MCPoint [GeV]
momAtEVMomentum of track at entering the EV [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 24 of file PndDrcEVPoint.cxx.

26  :FairMCPoint(trackID, detID, pos, mom, tof, length, 0.0, (UInt_t) eventID),
27  fPdgCode(pdgCode),
28  fTimeStart(timestart),
29  fTimeAtEVEntrance(timeatEVentrance),
30  fVeloPhoton(VeloPhoton),
31  fNormal(normal)
32  {
33  SetLink(FairLink("MCTrack", trackID));
34  }
TVector3 pos
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:70
TVector3 fNormal
Definition: PndDrcEVPoint.h:71
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:69
Double_t mom
Definition: plot_dirc.C:14
Double_t fTimeStart
Definition: PndDrcEVPoint.h:68
PndDrcEVPoint::~PndDrcEVPoint ( )
virtual

Copy constructor Destructor

Definition at line 40 of file PndDrcEVPoint.cxx.

40 { }

Member Function Documentation

Int_t PndDrcEVPoint::GetDetectorID ( ) const
inline

Definition at line 50 of file PndDrcEVPoint.h.

50 { return fDetectorID; };
TVector3 PndDrcEVPoint::GetNormal ( )
inline

Definition at line 49 of file PndDrcEVPoint.h.

References fNormal.

Referenced by PndDrcReco::DetermineCherenkov(), and PndDrcLutFill::ProcessPhotonHit().

49 { return fNormal; };
TVector3 fNormal
Definition: PndDrcEVPoint.h:71
Int_t PndDrcEVPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 47 of file PndDrcEVPoint.h.

References fPdgCode.

47 { return fPdgCode; };
virtual Double_t PndDrcEVPoint::GetTimeAtEVEntrance ( )
inlinevirtual

Definition at line 52 of file PndDrcEVPoint.h.

References fTimeAtEVEntrance.

52 {return fTimeAtEVEntrance;}
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:69
virtual Double_t PndDrcEVPoint::GetTimeStart ( )
inlinevirtual

Definition at line 51 of file PndDrcEVPoint.h.

References fTimeStart.

51 {return fTimeStart;}
Double_t fTimeStart
Definition: PndDrcEVPoint.h:68
virtual Double_t PndDrcEVPoint::GetVeloPhoton ( )
inlinevirtual

Definition at line 53 of file PndDrcEVPoint.h.

References fVeloPhoton.

53 {return fVeloPhoton;}
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:70
void PndDrcEVPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 45 of file PndDrcEVPoint.cxx.

References fX, fY, and fZ.

45  {
46  (void)opt; // to remove "unused" warnings
47  cout << "-I- PndDrcEVPoint: DRC Point for trackID---> " << fTrackID
48  << " in detector " << fDetectorID << endl;
49 
50  cout << " Position (" << fX << ", " << fY << ", " << fZ
51  << ") cm" << endl;
52  cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
53  << ") GeV" << endl;
54  cout << " Time " << fTime << " ns, Length " << fLength
55  << " cm "<< endl;
56 
57 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
void PndDrcEVPoint::SetPdgCode ( Int_t  id)
inline

Modifiers

Definition at line 57 of file PndDrcEVPoint.h.

References fPdgCode.

57 { fPdgCode = id; };

Member Data Documentation

TVector3 PndDrcEVPoint::fNormal
protected

Definition at line 71 of file PndDrcEVPoint.h.

Referenced by GetNormal().

Int_t PndDrcEVPoint::fPdgCode
protected

Definition at line 67 of file PndDrcEVPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

Double_t PndDrcEVPoint::fTimeAtEVEntrance
protected

Definition at line 69 of file PndDrcEVPoint.h.

Referenced by GetTimeAtEVEntrance().

Double_t PndDrcEVPoint::fTimeStart
protected

Definition at line 68 of file PndDrcEVPoint.h.

Referenced by GetTimeStart().

Double_t PndDrcEVPoint::fVeloPhoton
protected

Definition at line 70 of file PndDrcEVPoint.h.

Referenced by GetVeloPhoton().


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