PandaRoot
PndDiscParticleMCPoint Class Reference

#include <PndDiscParticleMCPoint.h>

Inheritance diagram for PndDiscParticleMCPoint:
PndMCPoint

Public Member Functions

 PndDiscParticleMCPoint ()
 
 PndDiscParticleMCPoint (Int_t track_id, Int_t det_id, Int_t volume_id, TVector3 pos_in, TVector3 mom_in, TVector3 pos_out, TVector3 mom_out, Double_t total_tof, Double_t total_length, Double_t energy_loss, Double_t charge, Double_t mass, Int_t pdgcode, Bool_t pos_in_inside, Bool_t is_primary)
 
virtual ~PndDiscParticleMCPoint ()
 
virtual void Print (const Option_t *opt=nullptr) const
 
void SetVolumeID (Int_t val)
 FairMCPoint forces the implementation. More...
 
void SetCharge (Double_t val)
 
void SetMass (Double_t val)
 
void SetPdgCode (Int_t val)
 
void SetPosInInside (Bool_t val)
 
void SetIsPrimary (Bool_t val)
 
void SetMyEnergyLoss (Double_t val)
 
Int_t GetVolumeID () const
 
Double_t GetCharge () const
 
Double_t GetMass () const
 
Int_t GetPdgCode () const
 
Bool_t GetPosInInside () const
 
Bool_t GetIsPrimary () const
 
Double_t GetMyEnergyLoss () const
 
- 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 fVolume_id = 0
 
Double_t fCharge = 0.
 
Double_t fMass = 0.
 
Int_t fPdgCode = 0
 
Bool_t fPos_in_inside = false
 
Bool_t fIs_primary = false
 
Double_t fMy_energy_loss = 0.
 
- 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 13 of file PndDiscParticleMCPoint.h.

Constructor & Destructor Documentation

◆ PndDiscParticleMCPoint() [1/2]

PndDiscParticleMCPoint::PndDiscParticleMCPoint ( )

◆ PndDiscParticleMCPoint() [2/2]

PndDiscParticleMCPoint::PndDiscParticleMCPoint ( Int_t  track_id,
Int_t  det_id,
Int_t  volume_id,
TVector3  pos_in,
TVector3  mom_in,
TVector3  pos_out,
TVector3  mom_out,
Double_t  total_tof,
Double_t  total_length,
Double_t  energy_loss,
Double_t  charge,
Double_t  mass,
Int_t  pdgcode,
Bool_t  pos_in_inside,
Bool_t  is_primary 
)

◆ ~PndDiscParticleMCPoint()

virtual PndDiscParticleMCPoint::~PndDiscParticleMCPoint ( )
virtual

Member Function Documentation

◆ GetCharge()

Double_t PndDiscParticleMCPoint::GetCharge ( ) const
inline

Definition at line 44 of file PndDiscParticleMCPoint.h.

References fCharge.

44 { return fCharge; }

◆ GetIsPrimary()

Bool_t PndDiscParticleMCPoint::GetIsPrimary ( ) const
inline

Definition at line 48 of file PndDiscParticleMCPoint.h.

References fIs_primary.

◆ GetMass()

Double_t PndDiscParticleMCPoint::GetMass ( ) const
inline

Definition at line 45 of file PndDiscParticleMCPoint.h.

References fMass.

45 { return fMass; }

◆ GetMyEnergyLoss()

Double_t PndDiscParticleMCPoint::GetMyEnergyLoss ( ) const
inline

Definition at line 49 of file PndDiscParticleMCPoint.h.

References fMy_energy_loss.

49 { return fMy_energy_loss; }

◆ GetPdgCode()

Int_t PndDiscParticleMCPoint::GetPdgCode ( ) const
inline

Definition at line 46 of file PndDiscParticleMCPoint.h.

References fPdgCode.

◆ GetPosInInside()

Bool_t PndDiscParticleMCPoint::GetPosInInside ( ) const
inline

Definition at line 47 of file PndDiscParticleMCPoint.h.

References fPos_in_inside.

◆ GetVolumeID()

Int_t PndDiscParticleMCPoint::GetVolumeID ( ) const
inline

Definition at line 43 of file PndDiscParticleMCPoint.h.

References fVolume_id.

◆ Print()

virtual void PndDiscParticleMCPoint::Print ( const Option_t *  opt = nullptr) const
virtual

◆ SetCharge()

void PndDiscParticleMCPoint::SetCharge ( Double_t  val)
inline

Definition at line 36 of file PndDiscParticleMCPoint.h.

References fCharge.

36 { fCharge = val; }

◆ SetIsPrimary()

void PndDiscParticleMCPoint::SetIsPrimary ( Bool_t  val)
inline

Definition at line 40 of file PndDiscParticleMCPoint.h.

References fIs_primary.

◆ SetMass()

void PndDiscParticleMCPoint::SetMass ( Double_t  val)
inline

Definition at line 37 of file PndDiscParticleMCPoint.h.

References fMass.

37 { fMass = val; }

◆ SetMyEnergyLoss()

void PndDiscParticleMCPoint::SetMyEnergyLoss ( Double_t  val)
inline

Definition at line 41 of file PndDiscParticleMCPoint.h.

References fMy_energy_loss.

◆ SetPdgCode()

void PndDiscParticleMCPoint::SetPdgCode ( Int_t  val)
inline

Definition at line 38 of file PndDiscParticleMCPoint.h.

References fPdgCode.

◆ SetPosInInside()

void PndDiscParticleMCPoint::SetPosInInside ( Bool_t  val)
inline

Definition at line 39 of file PndDiscParticleMCPoint.h.

References fPos_in_inside.

◆ SetVolumeID()

void PndDiscParticleMCPoint::SetVolumeID ( Int_t  val)
inline

FairMCPoint forces the implementation.

Definition at line 35 of file PndDiscParticleMCPoint.h.

References fVolume_id.

Member Data Documentation

◆ fCharge

Double_t PndDiscParticleMCPoint::fCharge = 0.
protected

Definition at line 53 of file PndDiscParticleMCPoint.h.

Referenced by GetCharge(), and SetCharge().

◆ fIs_primary

Bool_t PndDiscParticleMCPoint::fIs_primary = false
protected

Definition at line 57 of file PndDiscParticleMCPoint.h.

Referenced by GetIsPrimary(), and SetIsPrimary().

◆ fMass

Double_t PndDiscParticleMCPoint::fMass = 0.
protected

Definition at line 54 of file PndDiscParticleMCPoint.h.

Referenced by GetMass(), and SetMass().

◆ fMy_energy_loss

Double_t PndDiscParticleMCPoint::fMy_energy_loss = 0.
protected

Definition at line 59 of file PndDiscParticleMCPoint.h.

Referenced by GetMyEnergyLoss(), and SetMyEnergyLoss().

◆ fPdgCode

Int_t PndDiscParticleMCPoint::fPdgCode = 0
protected

Definition at line 55 of file PndDiscParticleMCPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fPos_in_inside

Bool_t PndDiscParticleMCPoint::fPos_in_inside = false
protected

Definition at line 56 of file PndDiscParticleMCPoint.h.

Referenced by GetPosInInside(), and SetPosInInside().

◆ fVolume_id

Int_t PndDiscParticleMCPoint::fVolume_id = 0
protected

Definition at line 52 of file PndDiscParticleMCPoint.h.

Referenced by GetVolumeID(), and SetVolumeID().


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