VMC Version 2.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | List of all members
TMCParticleStatus Struct Reference

#include <TMCParticleStatus.h>

Public Member Functions

 TMCParticleStatus ()=default
 Default constructor.
 
void InitFromParticle (const TParticle *particle)
 Use TParticle information as a starting point.
 
virtual ~TMCParticleStatus ()=default
 
void Print () const
 Print all info at once.
 

Public Attributes

Int_t fStepNumber = 0
 Number of steps.
 
Double_t fTrackLength = 0.
 Track length.
 
TLorentzVector fPosition
 position
 
TLorentzVector fMomentum
 momentum
 
TVector3 fPolarization
 polarization
 
Double_t fWeight = 1.
 weight
 
UInt_t fGeoStateIndex = 0
 geo state cache
 
Int_t fId = -1
 Unique ID assigned by the user.
 
Int_t fParentId = -1
 Unique ID assigned by the user.
 
Bool_t fIsOutside
 Flags to (re)set for TGeoNavigator's fIsOutside state.
 

Private Member Functions

 TMCParticleStatus (const TMCParticleStatus &)
 Copying kept private.
 
TMCParticleStatusoperator= (const TMCParticleStatus &)
 Assignement kept private.
 

Detailed Description

Definition at line 35 of file TMCParticleStatus.h.

Constructor & Destructor Documentation

◆ TMCParticleStatus() [1/2]

TMCParticleStatus::TMCParticleStatus ( )
default

Default constructor.

◆ ~TMCParticleStatus()

virtual TMCParticleStatus::~TMCParticleStatus ( )
virtualdefault

◆ TMCParticleStatus() [2/2]

TMCParticleStatus::TMCParticleStatus ( const TMCParticleStatus )
private

Copying kept private.

Member Function Documentation

◆ InitFromParticle()

void TMCParticleStatus::InitFromParticle ( const TParticle *  particle)
inline

Use TParticle information as a starting point.

Definition at line 41 of file TMCParticleStatus.h.

◆ Print()

void TMCParticleStatus::Print ( ) const
inline

Print all info at once.

Definition at line 56 of file TMCParticleStatus.h.

◆ operator=()

TMCParticleStatus & TMCParticleStatus::operator= ( const TMCParticleStatus )
private

Assignement kept private.

Member Data Documentation

◆ fStepNumber

Int_t TMCParticleStatus::fStepNumber = 0

Number of steps.

Definition at line 83 of file TMCParticleStatus.h.

Referenced by Print().

◆ fTrackLength

Double_t TMCParticleStatus::fTrackLength = 0.

Track length.

Definition at line 85 of file TMCParticleStatus.h.

Referenced by Print().

◆ fPosition

TLorentzVector TMCParticleStatus::fPosition

position

Definition at line 87 of file TMCParticleStatus.h.

Referenced by InitFromParticle(), and Print().

◆ fMomentum

TLorentzVector TMCParticleStatus::fMomentum

momentum

Definition at line 89 of file TMCParticleStatus.h.

Referenced by InitFromParticle(), and Print().

◆ fPolarization

TVector3 TMCParticleStatus::fPolarization

polarization

Definition at line 91 of file TMCParticleStatus.h.

Referenced by InitFromParticle(), and Print().

◆ fWeight

Double_t TMCParticleStatus::fWeight = 1.

weight

Definition at line 93 of file TMCParticleStatus.h.

Referenced by InitFromParticle(), and Print().

◆ fGeoStateIndex

UInt_t TMCParticleStatus::fGeoStateIndex = 0

geo state cache

Definition at line 95 of file TMCParticleStatus.h.

Referenced by Print().

◆ fId

Int_t TMCParticleStatus::fId = -1

Unique ID assigned by the user.

Definition at line 97 of file TMCParticleStatus.h.

Referenced by Print().

◆ fParentId

Int_t TMCParticleStatus::fParentId = -1

Unique ID assigned by the user.

Definition at line 99 of file TMCParticleStatus.h.

Referenced by Print().

◆ fIsOutside

Bool_t TMCParticleStatus::fIsOutside

Flags to (re)set for TGeoNavigator's fIsOutside state.

Definition at line 101 of file TMCParticleStatus.h.


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