PandaRoot
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 13 of file PndDrcEVPoint.h.

Constructor & Destructor Documentation

◆ PndDrcEVPoint() [1/2]

PndDrcEVPoint::PndDrcEVPoint ( )

Default constructor

◆ PndDrcEVPoint() [2/2]

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]

◆ ~PndDrcEVPoint()

virtual PndDrcEVPoint::~PndDrcEVPoint ( )
virtual

Copy constructor Destructor

Member Function Documentation

◆ GetDetectorID()

Int_t PndDrcEVPoint::GetDetectorID ( ) const
inline

Definition at line 42 of file PndDrcEVPoint.h.

42 { return fDetectorID; };

◆ GetNormal()

TVector3 PndDrcEVPoint::GetNormal ( )
inline

Definition at line 41 of file PndDrcEVPoint.h.

References fNormal.

41 { return fNormal; };
TVector3 fNormal
Definition: PndDrcEVPoint.h:59

◆ GetPdgCode()

Int_t PndDrcEVPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 39 of file PndDrcEVPoint.h.

References fPdgCode.

39 { return fPdgCode; };

◆ GetTimeAtEVEntrance()

virtual Double_t PndDrcEVPoint::GetTimeAtEVEntrance ( )
inlinevirtual

Definition at line 44 of file PndDrcEVPoint.h.

References fTimeAtEVEntrance.

44 { return fTimeAtEVEntrance; }
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:57

◆ GetTimeStart()

virtual Double_t PndDrcEVPoint::GetTimeStart ( )
inlinevirtual

Definition at line 43 of file PndDrcEVPoint.h.

References fTimeStart.

43 { return fTimeStart; }
Double_t fTimeStart
Definition: PndDrcEVPoint.h:56

◆ GetVeloPhoton()

virtual Double_t PndDrcEVPoint::GetVeloPhoton ( )
inlinevirtual

Definition at line 45 of file PndDrcEVPoint.h.

References fVeloPhoton.

45 { return fVeloPhoton; }
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:58

◆ Print()

virtual void PndDrcEVPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Referenced by SetPdgCode().

◆ SetPdgCode()

void PndDrcEVPoint::SetPdgCode ( Int_t  id)
inline

Modifiers

Definition at line 48 of file PndDrcEVPoint.h.

References fPdgCode, and Print().

48 { fPdgCode = id; };

Member Data Documentation

◆ fNormal

TVector3 PndDrcEVPoint::fNormal
protected

Definition at line 59 of file PndDrcEVPoint.h.

Referenced by GetNormal().

◆ fPdgCode

Int_t PndDrcEVPoint::fPdgCode
protected

Definition at line 55 of file PndDrcEVPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fTimeAtEVEntrance

Double_t PndDrcEVPoint::fTimeAtEVEntrance
protected

Definition at line 57 of file PndDrcEVPoint.h.

Referenced by GetTimeAtEVEntrance().

◆ fTimeStart

Double_t PndDrcEVPoint::fTimeStart
protected

Definition at line 56 of file PndDrcEVPoint.h.

Referenced by GetTimeStart().

◆ fVeloPhoton

Double_t PndDrcEVPoint::fVeloPhoton
protected

Definition at line 58 of file PndDrcEVPoint.h.

Referenced by GetVeloPhoton().


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