PandaRoot
PndDskFLGHit Class Reference

#include <PndDskFLGHit.h>

Inheritance diagram for PndDskFLGHit:
PndMCPoint

Public Member Functions

 PndDskFLGHit ()
 
 PndDskFLGHit (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Int_t pdgCode, TString pdgName, Double_t energy, Int_t motherTrackID, Int_t motherPdgCode, TString motherPdgName, Double_t mass, Double_t angIn, Double_t thetaC, TVector3 mom_cherenkov_photon, Int_t num_light_guide, Int_t num_pixel)
 
 PndDskFLGHit (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t angIn, Double_t thetaC, TVector3 mom_cherenkov_photon, Int_t num_light_guide, Int_t num_pixel)
 
virtual ~PndDskFLGHit ()
 
virtual void Print (const Option_t *opt) const
 
void SetFinalValues (TVector3 exitPosition, TVector3 exitMomentum, Double_t exitTime, Double_t exitEnergy)
 
Int_t GetPdgCode () const
 
TString GetPdgName () const
 
Double_t GetEnergy () const
 
Int_t GetMotherTrackID () const
 
Int_t GetMotherPdgCode () const
 
TString GetMotherPdgName () const
 
Double_t GetExitTime () const
 
Double_t GetExitEnergy () const
 
Double_t GetMass () const
 
Double_t GetAngIn () const
 
Double_t GetThetaC () const
 
TVector3 GetMomPhoton () const
 
Int_t GetNumLightGuide () const
 
Int_t GetNumPixel () const
 
void SetAngIn (Double_t ang)
 
void SetThetaC (Double_t theta)
 
void SetNumLightGuide (Int_t i)
 
void SetNumPixel (Int_t i)
 
void SetMomPhoton (TVector3 mom)
 
- Public Member Functions inherited from PndMCPoint
 PndMCPoint ()
 
virtual ~PndMCPoint ()
 
 PndMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 posOut, TVector3 mom, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0)
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
TVector3 GetPosition () const
 
TVector3 GetPositionOut () const
 
TVector3 GetMeanPosition () const
 
void PositionOut (TVector3 &pos) const
 
TVector3 GetMomentum () const
 
TVector3 GetMomentumOut () const
 
void MomentumOut (TVector3 &mom) const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 

Protected Attributes

Int_t fPdgCode = -1
 PDG code of particle. More...
 
TString fPdgName
 PDG name according to fPdgCode. More...
 
Double_t fEnergy = 0.
 Energy [GeV]. More...
 
Double_t fMass = 0.
 
Int_t fMotherTrackID = -1
 Track ID of the first mother. More...
 
Int_t fMotherPdgCode = -1
 PDG code of the particle with fMotherTrackID. More...
 
TString fMotherPdgName
 PDG name according to fMotherPdgCode. More...
 
Double_t fExitTime = 0.
 Time when particle disappears [ns]. More...
 
Double_t fExitEnergy = 0.
 Energy when particle disappears [GeV]. More...
 
Double_t fThetaC = 0.
 
Double_t fAngIn = 0.
 
TVector3 fMom_cherenkov_photon
 
Int_t fNum_light_guide = -1
 
Int_t fNum_pixel = -1
 
- Protected Attributes inherited from PndMCPoint
Double32_t fXOut = 0.
 
Double32_t fYOut = 0.
 
Double32_t fZOut = 0.
 
Double32_t fPxOut = 0.
 
Double32_t fPyOut = 0.
 
Double32_t fPzOut = 0.
 

Additional Inherited Members

- Protected Member Functions inherited from PndMCPoint
 ClassDef (PndMCPoint, 1)
 

Detailed Description

Definition at line 11 of file PndDskFLGHit.h.

Constructor & Destructor Documentation

◆ PndDskFLGHit() [1/3]

PndDskFLGHit::PndDskFLGHit ( )

Default constructor

◆ PndDskFLGHit() [2/3]

PndDskFLGHit::PndDskFLGHit ( Int_t  trackID,
Int_t  detectorID,
TVector3  position,
TVector3  momentum,
Double_t  time,
Int_t  pdgCode,
TString  pdgName,
Double_t  energy,
Int_t  motherTrackID,
Int_t  motherPdgCode,
TString  motherPdgName,
Double_t  mass,
Double_t  angIn,
Double_t  thetaC,
TVector3  mom_cherenkov_photon,
Int_t  num_light_guide,
Int_t  num_pixel 
)

Standard constructor with arguments

Parameters
trackIDIndex of MCTrack
detectorIDDetector ID where the first hit is produced
positionPosition of Particle when created [cm]
momentumMomentum of Particle when created [eV]
timeTime since event start when created [ns]
pdgCodeParticles PDG code
pdgNameParticles PDG name according to pdgCode
energyEnergy of the Particle when created [GeV]
motherTrackIDTrack ID of particle that created the Particle
motherPdgCodePDG Code of particle that created the Particle
motherPdgNamePDG Name of particle that created the Particle

◆ PndDskFLGHit() [3/3]

PndDskFLGHit::PndDskFLGHit ( Int_t  trackID,
Int_t  detectorID,
TVector3  position,
TVector3  momentum,
Double_t  time,
Double_t  angIn,
Double_t  thetaC,
TVector3  mom_cherenkov_photon,
Int_t  num_light_guide,
Int_t  num_pixel 
)

◆ ~PndDskFLGHit()

virtual PndDskFLGHit::~PndDskFLGHit ( )
virtual

Copy constructor Destructor

Member Function Documentation

◆ GetAngIn()

Double_t PndDskFLGHit::GetAngIn ( ) const
inline

Definition at line 69 of file PndDskFLGHit.h.

References fAngIn.

69 { return fAngIn; };
Double_t fAngIn
Definition: PndDskFLGHit.h:96

◆ GetEnergy()

Double_t PndDskFLGHit::GetEnergy ( ) const
inline

Definition at line 61 of file PndDskFLGHit.h.

References fEnergy.

61 { return fEnergy; }
Double_t fEnergy
Energy [GeV].
Definition: PndDskFLGHit.h:85

◆ GetExitEnergy()

Double_t PndDskFLGHit::GetExitEnergy ( ) const
inline

Definition at line 66 of file PndDskFLGHit.h.

References fExitEnergy.

66 { return fExitEnergy; }
Double_t fExitEnergy
Energy when particle disappears [GeV].
Definition: PndDskFLGHit.h:93

◆ GetExitTime()

Double_t PndDskFLGHit::GetExitTime ( ) const
inline

Definition at line 65 of file PndDskFLGHit.h.

References fExitTime.

65 { return fExitTime; }
Double_t fExitTime
Time when particle disappears [ns].
Definition: PndDskFLGHit.h:92

◆ GetMass()

Double_t PndDskFLGHit::GetMass ( ) const
inline

Definition at line 67 of file PndDskFLGHit.h.

References fMass.

67 { return fMass; };
Double_t fMass
Definition: PndDskFLGHit.h:86

◆ GetMomPhoton()

TVector3 PndDskFLGHit::GetMomPhoton ( ) const
inline

Definition at line 71 of file PndDskFLGHit.h.

References fMom_cherenkov_photon.

71 { return fMom_cherenkov_photon; };
TVector3 fMom_cherenkov_photon
Definition: PndDskFLGHit.h:97

◆ GetMotherPdgCode()

Int_t PndDskFLGHit::GetMotherPdgCode ( ) const
inline

Definition at line 63 of file PndDskFLGHit.h.

References fMotherPdgCode.

63 { return fMotherPdgCode; }
Int_t fMotherPdgCode
PDG code of the particle with fMotherTrackID.
Definition: PndDskFLGHit.h:89

◆ GetMotherPdgName()

TString PndDskFLGHit::GetMotherPdgName ( ) const
inline

Definition at line 64 of file PndDskFLGHit.h.

References fMotherPdgName.

64 { return fMotherPdgName; }
TString fMotherPdgName
PDG name according to fMotherPdgCode.
Definition: PndDskFLGHit.h:90

◆ GetMotherTrackID()

Int_t PndDskFLGHit::GetMotherTrackID ( ) const
inline

Definition at line 62 of file PndDskFLGHit.h.

References fMotherTrackID.

62 { return fMotherTrackID; }
Int_t fMotherTrackID
Track ID of the first mother.
Definition: PndDskFLGHit.h:88

◆ GetNumLightGuide()

Int_t PndDskFLGHit::GetNumLightGuide ( ) const
inline

Definition at line 72 of file PndDskFLGHit.h.

References fNum_light_guide.

72 { return fNum_light_guide; };
Int_t fNum_light_guide
Definition: PndDskFLGHit.h:98

◆ GetNumPixel()

Int_t PndDskFLGHit::GetNumPixel ( ) const
inline

Definition at line 73 of file PndDskFLGHit.h.

References fNum_pixel.

73 { return fNum_pixel; };
Int_t fNum_pixel
Definition: PndDskFLGHit.h:99

◆ GetPdgCode()

Int_t PndDskFLGHit::GetPdgCode ( ) const
inline

Accessors

Definition at line 59 of file PndDskFLGHit.h.

References fPdgCode.

59 { return fPdgCode; }
Int_t fPdgCode
PDG code of particle.
Definition: PndDskFLGHit.h:83

◆ GetPdgName()

TString PndDskFLGHit::GetPdgName ( ) const
inline

Definition at line 60 of file PndDskFLGHit.h.

References fPdgName.

60 { return fPdgName; }
TString fPdgName
PDG name according to fPdgCode.
Definition: PndDskFLGHit.h:84

◆ GetThetaC()

Double_t PndDskFLGHit::GetThetaC ( ) const
inline

Definition at line 70 of file PndDskFLGHit.h.

References fThetaC.

70 { return fThetaC; };
Double_t fThetaC
Definition: PndDskFLGHit.h:95

◆ Print()

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

Virtual method Print

Screen output of Particle

◆ SetAngIn()

void PndDskFLGHit::SetAngIn ( Double_t  ang)
inline

Modifiers

Definition at line 76 of file PndDskFLGHit.h.

References fAngIn.

76 { fAngIn = ang; };
Double_t fAngIn
Definition: PndDskFLGHit.h:96

◆ SetFinalValues()

void PndDskFLGHit::SetFinalValues ( TVector3  exitPosition,
TVector3  exitMomentum,
Double_t  exitTime,
Double_t  exitEnergy 
)

Method SetFinalValues

Set the final values for a particle

Parameters
exitPositionPosition when particle disappears [cm]
exitMomentumMomentum when particle disappears [GeV]
exitTimeTime when particle disappears [ns]
exitEnergyEnergy when particle disappears [GeV]

◆ SetMomPhoton()

void PndDskFLGHit::SetMomPhoton ( TVector3  mom)
inline

Definition at line 80 of file PndDskFLGHit.h.

References fMom_cherenkov_photon.

80 { fMom_cherenkov_photon = mom; };
TVector3 fMom_cherenkov_photon
Definition: PndDskFLGHit.h:97

◆ SetNumLightGuide()

void PndDskFLGHit::SetNumLightGuide ( Int_t  i)
inline

Definition at line 78 of file PndDskFLGHit.h.

References fNum_light_guide, and i.

78 { fNum_light_guide = i; };
Int_t fNum_light_guide
Definition: PndDskFLGHit.h:98
unsigned int i
Definition: P4_F32vec4.h:21

◆ SetNumPixel()

void PndDskFLGHit::SetNumPixel ( Int_t  i)
inline

Definition at line 79 of file PndDskFLGHit.h.

References fNum_pixel, and i.

79 { fNum_pixel = i; };
Int_t fNum_pixel
Definition: PndDskFLGHit.h:99
unsigned int i
Definition: P4_F32vec4.h:21

◆ SetThetaC()

void PndDskFLGHit::SetThetaC ( Double_t  theta)
inline

Definition at line 77 of file PndDskFLGHit.h.

References fThetaC.

77 { fThetaC = theta; };
Double_t fThetaC
Definition: PndDskFLGHit.h:95

Member Data Documentation

◆ fAngIn

Double_t PndDskFLGHit::fAngIn = 0.
protected

Definition at line 96 of file PndDskFLGHit.h.

Referenced by GetAngIn(), and SetAngIn().

◆ fEnergy

Double_t PndDskFLGHit::fEnergy = 0.
protected

Energy [GeV].

Definition at line 85 of file PndDskFLGHit.h.

Referenced by GetEnergy().

◆ fExitEnergy

Double_t PndDskFLGHit::fExitEnergy = 0.
protected

Energy when particle disappears [GeV].

Definition at line 93 of file PndDskFLGHit.h.

Referenced by GetExitEnergy().

◆ fExitTime

Double_t PndDskFLGHit::fExitTime = 0.
protected

Time when particle disappears [ns].

Definition at line 92 of file PndDskFLGHit.h.

Referenced by GetExitTime().

◆ fMass

Double_t PndDskFLGHit::fMass = 0.
protected

Definition at line 86 of file PndDskFLGHit.h.

Referenced by GetMass().

◆ fMom_cherenkov_photon

TVector3 PndDskFLGHit::fMom_cherenkov_photon
protected

Definition at line 97 of file PndDskFLGHit.h.

Referenced by GetMomPhoton(), and SetMomPhoton().

◆ fMotherPdgCode

Int_t PndDskFLGHit::fMotherPdgCode = -1
protected

PDG code of the particle with fMotherTrackID.

Definition at line 89 of file PndDskFLGHit.h.

Referenced by GetMotherPdgCode().

◆ fMotherPdgName

TString PndDskFLGHit::fMotherPdgName
protected

PDG name according to fMotherPdgCode.

Definition at line 90 of file PndDskFLGHit.h.

Referenced by GetMotherPdgName().

◆ fMotherTrackID

Int_t PndDskFLGHit::fMotherTrackID = -1
protected

Track ID of the first mother.

Definition at line 88 of file PndDskFLGHit.h.

Referenced by GetMotherTrackID().

◆ fNum_light_guide

Int_t PndDskFLGHit::fNum_light_guide = -1
protected

Definition at line 98 of file PndDskFLGHit.h.

Referenced by GetNumLightGuide(), and SetNumLightGuide().

◆ fNum_pixel

Int_t PndDskFLGHit::fNum_pixel = -1
protected

Definition at line 99 of file PndDskFLGHit.h.

Referenced by GetNumPixel(), and SetNumPixel().

◆ fPdgCode

Int_t PndDskFLGHit::fPdgCode = -1
protected

PDG code of particle.

Definition at line 83 of file PndDskFLGHit.h.

Referenced by GetPdgCode().

◆ fPdgName

TString PndDskFLGHit::fPdgName
protected

PDG name according to fPdgCode.

Definition at line 84 of file PndDskFLGHit.h.

Referenced by GetPdgName().

◆ fThetaC

Double_t PndDskFLGHit::fThetaC = 0.
protected

Definition at line 95 of file PndDskFLGHit.h.

Referenced by GetThetaC(), and SetThetaC().


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