PandaRoot
PndDskFLGHit Class Reference

#include <PndDskFLGHit.h>

Inheritance diagram for PndDskFLGHit:

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
 
TVector3 GetExitPosition () const
 
TVector3 GetExitMomentum () 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)
 

Protected Attributes

Int_t fPdgCode
 PDG code of particle. More...
 
TString fPdgName
 PDG name according to fPdgCode. More...
 
Double_t fEnergy
 Energy [GeV]. More...
 
Double_t fMass
 
Int_t fMotherTrackID
 Track ID of the first mother. More...
 
Int_t fMotherPdgCode
 PDG code of the particle with fMotherTrackID. More...
 
TString fMotherPdgName
 PDG name according to fMotherPdgCode. More...
 
TVector3 fExitPosition
 Position when particle disappears [cm]. More...
 
TVector3 fExitMomentum
 Momentum when particle disappears [GeV]. More...
 
Double_t fExitTime
 Time when particle disappears [ns]. More...
 
Double_t fExitEnergy
 Energy when particle disappears [GeV]. More...
 
Double_t fThetaC
 
Double_t fAngIn
 
TVector3 fMom_cherenkov_photon
 
Int_t fNum_light_guide
 
Int_t fNum_pixel
 

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 71 of file PndDskFLGHit.h.

References fAngIn.

71 { return fAngIn; };
Double_t fAngIn
Definition: PndDskFLGHit.h:100

◆ 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:87

◆ GetExitEnergy()

Double_t PndDskFLGHit::GetExitEnergy ( ) const
inline

Definition at line 68 of file PndDskFLGHit.h.

References fExitEnergy.

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

◆ GetExitMomentum()

TVector3 PndDskFLGHit::GetExitMomentum ( ) const
inline

Definition at line 66 of file PndDskFLGHit.h.

References fExitMomentum.

66 { return fExitMomentum; }
TVector3 fExitMomentum
Momentum when particle disappears [GeV].
Definition: PndDskFLGHit.h:95

◆ GetExitPosition()

TVector3 PndDskFLGHit::GetExitPosition ( ) const
inline

Definition at line 65 of file PndDskFLGHit.h.

References fExitPosition.

65 { return fExitPosition; }
TVector3 fExitPosition
Position when particle disappears [cm].
Definition: PndDskFLGHit.h:94

◆ GetExitTime()

Double_t PndDskFLGHit::GetExitTime ( ) const
inline

Definition at line 67 of file PndDskFLGHit.h.

References fExitTime.

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

◆ GetMass()

Double_t PndDskFLGHit::GetMass ( ) const
inline

Definition at line 69 of file PndDskFLGHit.h.

References fMass.

69 { return fMass; };
Double_t fMass
Definition: PndDskFLGHit.h:88

◆ GetMomPhoton()

TVector3 PndDskFLGHit::GetMomPhoton ( ) const
inline

Definition at line 73 of file PndDskFLGHit.h.

References fMom_cherenkov_photon.

73 { return fMom_cherenkov_photon; };
TVector3 fMom_cherenkov_photon
Definition: PndDskFLGHit.h:101

◆ 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:91

◆ 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:92

◆ 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:90

◆ GetNumLightGuide()

Int_t PndDskFLGHit::GetNumLightGuide ( ) const
inline

Definition at line 74 of file PndDskFLGHit.h.

References fNum_light_guide.

74 { return fNum_light_guide; };
Int_t fNum_light_guide
Definition: PndDskFLGHit.h:102

◆ GetNumPixel()

Int_t PndDskFLGHit::GetNumPixel ( ) const
inline

Definition at line 75 of file PndDskFLGHit.h.

References fNum_pixel.

75 { return fNum_pixel; };
Int_t fNum_pixel
Definition: PndDskFLGHit.h:103

◆ 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:82

◆ 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:86

◆ GetThetaC()

Double_t PndDskFLGHit::GetThetaC ( ) const
inline

Definition at line 72 of file PndDskFLGHit.h.

References fThetaC.

72 { return fThetaC; };
Double_t fThetaC
Definition: PndDskFLGHit.h:99

◆ 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 78 of file PndDskFLGHit.h.

References fAngIn.

78 { fAngIn = ang; };
Double_t fAngIn
Definition: PndDskFLGHit.h:100

◆ 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 82 of file PndDskFLGHit.h.

References fMom_cherenkov_photon, and fPdgCode.

82 { fMom_cherenkov_photon = mom; };
TVector3 fMom_cherenkov_photon
Definition: PndDskFLGHit.h:101

◆ SetNumLightGuide()

void PndDskFLGHit::SetNumLightGuide ( Int_t  i)
inline

Definition at line 80 of file PndDskFLGHit.h.

References fNum_light_guide, and i.

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

◆ SetNumPixel()

void PndDskFLGHit::SetNumPixel ( Int_t  i)
inline

Definition at line 81 of file PndDskFLGHit.h.

References fNum_pixel, and i.

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

◆ SetThetaC()

void PndDskFLGHit::SetThetaC ( Double_t  theta)
inline

Definition at line 79 of file PndDskFLGHit.h.

References fThetaC.

79 { fThetaC = theta; };
Double_t fThetaC
Definition: PndDskFLGHit.h:99

Member Data Documentation

◆ fAngIn

Double_t PndDskFLGHit::fAngIn
protected

Definition at line 100 of file PndDskFLGHit.h.

Referenced by GetAngIn(), and SetAngIn().

◆ fEnergy

Double_t PndDskFLGHit::fEnergy
protected

Energy [GeV].

Definition at line 87 of file PndDskFLGHit.h.

Referenced by GetEnergy().

◆ fExitEnergy

Double_t PndDskFLGHit::fExitEnergy
protected

Energy when particle disappears [GeV].

Definition at line 97 of file PndDskFLGHit.h.

Referenced by GetExitEnergy().

◆ fExitMomentum

TVector3 PndDskFLGHit::fExitMomentum
protected

Momentum when particle disappears [GeV].

Definition at line 95 of file PndDskFLGHit.h.

Referenced by GetExitMomentum().

◆ fExitPosition

TVector3 PndDskFLGHit::fExitPosition
protected

Position when particle disappears [cm].

Definition at line 94 of file PndDskFLGHit.h.

Referenced by GetExitPosition().

◆ fExitTime

Double_t PndDskFLGHit::fExitTime
protected

Time when particle disappears [ns].

Definition at line 96 of file PndDskFLGHit.h.

Referenced by GetExitTime().

◆ fMass

Double_t PndDskFLGHit::fMass
protected

Definition at line 88 of file PndDskFLGHit.h.

Referenced by GetMass().

◆ fMom_cherenkov_photon

TVector3 PndDskFLGHit::fMom_cherenkov_photon
protected

Definition at line 101 of file PndDskFLGHit.h.

Referenced by GetMomPhoton(), and SetMomPhoton().

◆ fMotherPdgCode

Int_t PndDskFLGHit::fMotherPdgCode
protected

PDG code of the particle with fMotherTrackID.

Definition at line 91 of file PndDskFLGHit.h.

Referenced by GetMotherPdgCode().

◆ fMotherPdgName

TString PndDskFLGHit::fMotherPdgName
protected

PDG name according to fMotherPdgCode.

Definition at line 92 of file PndDskFLGHit.h.

Referenced by GetMotherPdgName().

◆ fMotherTrackID

Int_t PndDskFLGHit::fMotherTrackID
protected

Track ID of the first mother.

Definition at line 90 of file PndDskFLGHit.h.

Referenced by GetMotherTrackID().

◆ fNum_light_guide

Int_t PndDskFLGHit::fNum_light_guide
protected

Definition at line 102 of file PndDskFLGHit.h.

Referenced by GetNumLightGuide(), and SetNumLightGuide().

◆ fNum_pixel

Int_t PndDskFLGHit::fNum_pixel
protected

Definition at line 103 of file PndDskFLGHit.h.

Referenced by GetNumPixel(), and SetNumPixel().

◆ fPdgCode

Int_t PndDskFLGHit::fPdgCode
protected

PDG code of particle.

Definition at line 82 of file PndDskFLGHit.h.

Referenced by GetPdgCode(), and SetMomPhoton().

◆ fPdgName

TString PndDskFLGHit::fPdgName
protected

PDG name according to fPdgCode.

Definition at line 86 of file PndDskFLGHit.h.

Referenced by GetPdgName().

◆ fThetaC

Double_t PndDskFLGHit::fThetaC
protected

Definition at line 99 of file PndDskFLGHit.h.

Referenced by GetThetaC(), and SetThetaC().


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