PandaRoot
PndDrcPDPoint Class Reference

#include <PndDrcPDPoint.h>

Inheritance diagram for PndDrcPDPoint:

Public Member Functions

 PndDrcPDPoint ()
 
 PndDrcPDPoint (Int_t trackID, Int_t detID, Int_t mcpId, Int_t barPintId, TVector3 pos, TVector3 mom, TVector3 momAtEV, Double_t timeAtEV, Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID)
 
virtual ~PndDrcPDPoint ()
 
Int_t GetPdgCode () const
 
TVector3 GetMomAtEV () const
 
Double_t GetTimeAtEV () const
 
Int_t GetDetectorID () const
 
Int_t GetBarPointID () const
 
Int_t GetMcpId () const
 
void SetPdgCode (Int_t id)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Int_t fPdgCode
 
Int_t fMcpId
 
Int_t fBarPointId
 
TVector3 fmomAtEV
 
Double_t ftimeAtEV
 

Detailed Description

PndDrcPDPoint.h

Definition at line 16 of file PndDrcPDPoint.h.

Constructor & Destructor Documentation

◆ PndDrcPDPoint() [1/2]

PndDrcPDPoint::PndDrcPDPoint ( )

Default constructor

◆ PndDrcPDPoint() [2/2]

PndDrcPDPoint::PndDrcPDPoint ( Int_t  trackID,
Int_t  detID,
Int_t  mcpId,
Int_t  barPintId,
TVector3  pos,
TVector3  mom,
TVector3  momAtEV,
Double_t  timeAtEV,
Double_t  tof,
Double_t  length,
Int_t  pdgCode,
Int_t  eventID 
)

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]

◆ ~PndDrcPDPoint()

virtual PndDrcPDPoint::~PndDrcPDPoint ( )
virtual

Copy constructor Destructor

Member Function Documentation

◆ GetBarPointID()

Int_t PndDrcPDPoint::GetBarPointID ( ) const
inline

Definition at line 46 of file PndDrcPDPoint.h.

References fBarPointId.

46 { return fBarPointId; };

◆ GetDetectorID()

Int_t PndDrcPDPoint::GetDetectorID ( ) const
inline

Definition at line 45 of file PndDrcPDPoint.h.

45 { return fDetectorID; };

◆ GetMcpId()

Int_t PndDrcPDPoint::GetMcpId ( ) const
inline

Definition at line 47 of file PndDrcPDPoint.h.

References fMcpId.

47 { return fMcpId; };

◆ GetMomAtEV()

TVector3 PndDrcPDPoint::GetMomAtEV ( ) const
inline

Definition at line 43 of file PndDrcPDPoint.h.

References fmomAtEV.

43 { return fmomAtEV; };
TVector3 fmomAtEV
Definition: PndDrcPDPoint.h:60

◆ GetPdgCode()

Int_t PndDrcPDPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 42 of file PndDrcPDPoint.h.

References fPdgCode.

42 { return fPdgCode; };

◆ GetTimeAtEV()

Double_t PndDrcPDPoint::GetTimeAtEV ( ) const
inline

Definition at line 44 of file PndDrcPDPoint.h.

References ftimeAtEV.

44 { return ftimeAtEV; };
Double_t ftimeAtEV
Definition: PndDrcPDPoint.h:61

◆ Print()

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

Output to screen

Referenced by SetPdgCode().

◆ SetPdgCode()

void PndDrcPDPoint::SetPdgCode ( Int_t  id)
inline

Modifiers

Definition at line 50 of file PndDrcPDPoint.h.

References fPdgCode, and Print().

50 { fPdgCode = id; };

Member Data Documentation

◆ fBarPointId

Int_t PndDrcPDPoint::fBarPointId
protected

Definition at line 59 of file PndDrcPDPoint.h.

Referenced by GetBarPointID().

◆ fMcpId

Int_t PndDrcPDPoint::fMcpId
protected

Definition at line 58 of file PndDrcPDPoint.h.

Referenced by GetMcpId().

◆ fmomAtEV

TVector3 PndDrcPDPoint::fmomAtEV
protected

Definition at line 60 of file PndDrcPDPoint.h.

Referenced by GetMomAtEV().

◆ fPdgCode

Int_t PndDrcPDPoint::fPdgCode
protected

Definition at line 57 of file PndDrcPDPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ ftimeAtEV

Double_t PndDrcPDPoint::ftimeAtEV
protected

Definition at line 61 of file PndDrcPDPoint.h.

Referenced by GetTimeAtEV().


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