FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
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 19 of file PndDrcPDPoint.h.

Constructor & Destructor Documentation

PndDrcPDPoint::PndDrcPDPoint ( )

Default constructor

Definition at line 15 of file PndDrcPDPoint.cxx.

16  :FairMCPoint(), fPdgCode(0), fMcpId(0), fBarPointId(0), fmomAtEV(TVector3()), ftimeAtEV(0)
17 {
18 }
TVector3 fmomAtEV
Definition: PndDrcPDPoint.h:73
Double_t ftimeAtEV
Definition: PndDrcPDPoint.h:74
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]

Definition at line 24 of file PndDrcPDPoint.cxx.

27  :FairMCPoint(trackID, detID, pos, mom, tof, length, 0.0, (UInt_t) eventID), fPdgCode(pdgCode), fMcpId(mcpId), fBarPointId(barPointId), fmomAtEV(momAtEV), ftimeAtEV(timeAtEV)
28 {
29  SetLink(FairLink("MCTrack", trackID));
30 }
TVector3 fmomAtEV
Definition: PndDrcPDPoint.h:73
TVector3 pos
Double_t ftimeAtEV
Definition: PndDrcPDPoint.h:74
Double_t mom
Definition: plot_dirc.C:14
PndDrcPDPoint::~PndDrcPDPoint ( )
virtual

Copy constructor Destructor

Definition at line 36 of file PndDrcPDPoint.cxx.

36 { }

Member Function Documentation

Int_t PndDrcPDPoint::GetBarPointID ( ) const
inline
Int_t PndDrcPDPoint::GetDetectorID ( ) const
inline

Definition at line 55 of file PndDrcPDPoint.h.

Referenced by PndDrcTimeDigiTask::Exec(), and PndDrcDigiTask::ProcessPhotonPoint().

55 { return fDetectorID; };
Int_t PndDrcPDPoint::GetMcpId ( ) const
inline

Definition at line 57 of file PndDrcPDPoint.h.

References fMcpId.

Referenced by PndDrcTimeDigiTask::Exec(), and PndDrcDigiTask::ProcessPhotonPoint().

57 { return fMcpId; };
TVector3 PndDrcPDPoint::GetMomAtEV ( ) const
inline

Definition at line 53 of file PndDrcPDPoint.h.

References fmomAtEV.

53 { return fmomAtEV; };
TVector3 fmomAtEV
Definition: PndDrcPDPoint.h:73
Int_t PndDrcPDPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 52 of file PndDrcPDPoint.h.

References fPdgCode.

52 { return fPdgCode; };
Double_t PndDrcPDPoint::GetTimeAtEV ( ) const
inline

Definition at line 54 of file PndDrcPDPoint.h.

References ftimeAtEV.

54 { return ftimeAtEV; };
Double_t ftimeAtEV
Definition: PndDrcPDPoint.h:74
void PndDrcPDPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 41 of file PndDrcPDPoint.cxx.

References fX, fY, and fZ.

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

Modifiers

Definition at line 60 of file PndDrcPDPoint.h.

References fPdgCode.

60 { fPdgCode = id; };

Member Data Documentation

Int_t PndDrcPDPoint::fBarPointId
protected

Definition at line 72 of file PndDrcPDPoint.h.

Referenced by GetBarPointID().

Int_t PndDrcPDPoint::fMcpId
protected

Definition at line 71 of file PndDrcPDPoint.h.

Referenced by GetMcpId().

TVector3 PndDrcPDPoint::fmomAtEV
protected

Definition at line 73 of file PndDrcPDPoint.h.

Referenced by GetMomAtEV().

Int_t PndDrcPDPoint::fPdgCode
protected

Definition at line 70 of file PndDrcPDPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

Double_t PndDrcPDPoint::ftimeAtEV
protected

Definition at line 74 of file PndDrcPDPoint.h.

Referenced by GetTimeAtEV().


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