REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
TRestGeant4AnalysisProcess Class Reference

Detailed Description

A pure analysis process to extract information from a TRestGeant4Event.

The TRestGeant4AnalysisProcess allows to extract valuable information from a TRestGeant4Event which contains the information of energy deposits from a Geant4 MonteCarlo simulation. TRestGeant4Event stores hits which include the physical process and geometry volume id where the interaction took place. This process accesses the Geant4 event data and metadata information and it will add the observables defined by the user to the analysisTree.

All energies are given in keV, positions in mm and angles in radians unless stated otherwise.

Volume names and aliases

Observables related to a volume require the name of a volume as it is registered in TRestGeant4Metadata, i.e. the full path of the physical volume (e.g. shielding/vessel/gas). Since these names may be long or contain characters not allowed in a branch name, the volume can be given through the volume attribute, and the observable name will then be just an alias, which must still end in the corresponding keyword.

<observable name="gasVolumeEDep" value="ON" volume="shielding/vessel/gas"
description="Energy deposited in the gas volume in keV" />
Warning
The volume must be defined as an active volume in the TRestGeant4Metadata <storage> section of the simulation, otherwise the observable is not registered and a warning with the list of active volumes is printed.

Generic observables

This process includes generic observables by using a common pattern inside the observable name. These observables require to be completed with the name of a volume, a process or a particle following Geant4 conventions.

Warning
It is important to notice that the keyword used for these observables is case sensitive!

Physics process observables

Note
REST identifies processes by Geant4 process type and subtype, so processes sharing them (e.g. eIoni, hIoni, ionIoni and muIoni) cannot be distinguished by containsProcess<Process>. Energy based observables (<volume><Process>Process and PerProcess<Name>) use the process name and are not affected.

The following table lists the REST process names and their Geant4 equivalent.

REST name Geant4 name Description
Photoelectric phot Photoelectric absorption
Compton compt Compton scattering
Rayleigh Rayl Rayleigh scattering
Conversion conv Gamma conversion (pair production)
PhotonNuclear photonNuclear Photonuclear interaction
Bremsstrahlung eBrem Electron/positron bremsstrahlung
Annihilation annihil Positron annihilation
EIoni eIoni Electron/positron ionisation
HIoni hIoni Hadron ionisation
IonIoni ionIoni Ion ionisation
MuIoni muIoni Muon ionisation
Msc msc Multiple scattering
CoulombScat CoulombScat Single Coulomb scattering
HadElastic hadElastic Hadron elastic scattering
NeutronInelastic neutronInelastic Neutron inelastic scattering
ProtonInelastic protonInelastic Proton inelastic scattering
NCapture nCapture Neutron capture
RadioactiveDecay RadioactiveDecay Radioactive decay
Decay Decay Particle decay

The legacy names Bremstralung, NInelastic and RadiactiveDecay are also accepted. Any other Geant4 process registered in the simulation can be used with its first letter capitalized. An unknown process name produces a warning and the observable is not filled.

Sensitive volume observables

The following observables describe the first track outside the sensitive volume which is the ancestor of the tracks depositing energy in the sensitive volume. They are only filled when such a track exists.

String observables must be declared with type="string".

Primary and global observables

The following list provides observables related to the primary event, as the position, direction or energy of the primary generated.

RML example

<TRestGeant4AnalysisProcess name="g4Ana" value="ON" verboseLevel="warning">
<parameter name="perProcessSensitiveEnergy" value="false" />
<observable name="totalEdep" value="ON" description="Total energy deposited in keV" />
<observable name="energyPrimary" value="ON" description="Primary energy in keV" />
<observable name="eventPrimaryParticleName" type="string" value="ON"
description="Name of the primary particle" />
<observable name="gasVolumeEDep" value="ON" volume="shielding/vessel/gas"
description="Energy deposited in the gas in keV" />
<observable name="gasComptonProcess" value="ON" volume="shielding/vessel/gas"
description="Energy deposited in the gas by Compton scattering in keV" />
<observable name="gasHadElasticProcess" value="ON" volume="shielding/vessel/gas"
description="Energy deposited in the gas by hadron elastic scattering in keV" />
<observable name="gammaTracksCounter" value="ON" description="Number of gamma tracks" />
<observable name="neutronTracksCounter" value="ON" description="Number of neutron tracks" />
<observable name="neutronTracksEDep" value="ON"
description="Energy deposited by neutron tracks in keV" />
<observable name="containsProcessCompt" type="int" value="ON"
description="1 if the event contains a Compton scattering" />
<observable name="containsProcessHadElastic" type="int" value="ON"
description="1 if the event contains a hadron elastic scattering" />
<observable name="containsProcessNCapture" type="int" value="ON"
description="1 if the event contains a neutron capture" />
A pure analysis process to extract information from a TRestGeant4Event.

RESTsoft - Software for Rare Event Searches with TPCs

History of developments:

2016-March: First implementation of Geant4 analysis process into REST_v2. Javier Galan

2017-October: Generic upgrades to add particle and volume observables. Gloria Luzon and Javier Galan

2026-October: Implemented <volume><Process>Process, generic containsProcess<Process> and PerProcess<Name> observables, and updated documentation. Alvaro Ezquerro

Author
Javier Galan
Gloria Luzon

Definition at line 32 of file TRestGeant4AnalysisProcess.h.

#include <TRestGeant4AnalysisProcess.h>

Inheritance diagram for TRestGeant4AnalysisProcess:
TRestEventProcess TRestMetadata

Public Member Functions

 ClassDefOverride (TRestGeant4AnalysisProcess, 3)
 
void EndProcess () override
 Function to include required actions after all events have been processed. More...
 
std::string GetGeant4ProcessName (const std::string &name) const
 It returns the Geant4 process name corresponding to name. More...
 
RESTValue GetInputEvent () const override
 Get pointer to input event. Must be implemented in the derived class. More...
 
RESTValue GetOutputEvent () const override
 Get pointer to output event. Must be implemented in the derived class. More...
 
const char * GetProcessName () const override
 Returns the name of this process. More...
 
void InitProcess () override
 Process initialization. Observable names are interpreted and auxiliar observable members, related to VolumeEdep, MeanPos, TracksCounter, TrackEDep, <volume><Process>Process, containsProcess and PerProcess observables defined in TRestGeant4AnalysisProcess are filled at this stage. More...
 
void LoadConfig (const std::string &configFilename, const std::string &name="")
 Function to load the configuration from an external configuration file. More...
 
TRestEventProcess * Maker ()
 Returns a new instance of this class. More...
 
void PrintMetadata () override
 It prints out the process parameters stored in the metadata structure. More...
 
TRestEvent * ProcessEvent (TRestEvent *inputEvent) override
 The main processing event function. More...
 
 TRestGeant4AnalysisProcess ()
 Default constructor. More...
 
 TRestGeant4AnalysisProcess (const char *configFilename)
 Constructor loading data from a config file. More...
 
 ~TRestGeant4AnalysisProcess ()
 Default destructor. More...
 
- Public Member Functions inherited from TRestEventProcess
virtual Bool_t AddInputFile (const std::string &file)
 
bool ApplyCut ()
 
virtual void BeginOfEventProcess (TRestEvent *inputEvent=nullptr)
 Begin of event process, preparation work. Called right before ProcessEvent() More...
 
 ClassDefOverride (TRestEventProcess, 3)
 
virtual void EndOfEventProcess (TRestEvent *inputEvent=nullptr)
 End of event process. Nothing to do. Called directly after ProcessEvent() More...
 
virtual void EndProcess ()
 To be executed at the end of the run (outside event loop) More...
 
TRestAnalysisTree * GetAnalysisTree () const
 Return the local analysis tree (dummy) More...
 
TCanvas * GetCanvas () const
 Get canvas. More...
 
TRestAnalysisTree * GetFullAnalysisTree ()
 
virtual RESTValue GetInputEvent () const =0
 Get pointer to input event. Must be implemented in the derived class. More...
 
std::vector< std::string > GetListOfAddedObservables ()
 
virtual RESTValue GetOutputEvent () const =0
 Get pointer to output event. Must be implemented in the derived class. More...
 
virtual const char * GetProcessName () const =0
 
TRestRun * GetRunInfo () const
 Return the pointer of the hosting TRestRun object. More...
 
virtual Long64_t GetTotalBytes () const
 
virtual Long64_t GetTotalBytesRead () const
 Interface to external file reading, get the read bytes. To be implemented in external processes. More...
 
virtual void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class. More...
 
virtual void InitProcess ()
 To be executed at the beginning of the run (outside event loop) More...
 
Bool_t isExternal () const
 Return whether this process is external process. More...
 
Int_t LoadSectionMetadata () override
 This method does some preparation of xml section. More...
 
virtual void NotifyAnalysisTreeReset ()
 In case the analysis tree is reset(switched to new file), some process needs to have action. More...
 
virtual Bool_t OpenInputFiles (const std::vector< std::string > &files)
 
virtual TRestEvent * ProcessEvent (TRestEvent *inputEvent)=0
 Process one event. More...
 
std::vector< std::string > ReadObservables ()
 
void RegisterAllObservables (Bool_t value=true)
 
virtual Bool_t ResetEntry ()
 
void SetAnalysisTree (TRestAnalysisTree *tree)
 Set analysis tree of this process, then add observables to it.
 
void SetCanvasSize (Int_t x, Int_t y)
 Set canvas size. More...
 
void SetFriendProcess (TRestEventProcess *p)
 Add friendly process to this process.
 
void SetObservableValidation (bool validate)
 
void SetParallelProcess (TRestEventProcess *p)
 Add parallel process to this process.
 
void SetRunInfo (TRestRun *r)
 Set TRestRun for this process. More...
 
Bool_t singleThreadOnly () const
 Return whether this process is single std::thread only. More...
 
 TRestEventProcess ()
 
 ~TRestEventProcess ()
 

Static Public Member Functions

static const std::map< std::string, std::string > & GetRestToGeant4ProcessNameMap ()
 It returns the map between the process names used in REST observables (<volume><Process>Process) and the process names used by Geant4. More...
 

Protected Member Functions

std::map< std::string, std::string > GetAliasObservableNameToVolume ()
 
- Protected Member Functions inherited from TRestEventProcess
void BeginPrintProcess ()
 [name, cut range]
 
void CreateCanvas ()
 Create the canvas. More...
 
void EndPrintProcess ()
 
TRestEventProcess * GetFriend (const std::string &nameOrType)
 
TRestEventProcess * GetFriendLive (const std::string &nameOrType)
 
template<class T >
T * GetMetadata ()
 Get a metadata object from the host TRestRun. More...
 
TRestMetadata * GetMetadata (const std::string &nameOrType)
 
size_t GetNumberOfParallelProcesses () const
 
template<class T >
T GetObservableValue (const std::string &name)
 
TRestEventProcess * GetParallel (int i)
 
template<class T >
std::vector< T > GetParallelDataMembers (T *member_of_process)
 Get a list of data members from parallel processes which is same to this process's certain data member. More...
 
template<class T >
void SetObservableValue (const std::string &name, const T &value)
 Set observable value for AnalysisTree. More...
 

Private Member Functions

void Initialize () override
 Function to initialize input/output event members and define the section name. More...
 
void LoadDefaultConfig ()
 Function to load the default config in absence of RML input. More...
 
void PrintNotActiveVolumeWarning (const TString &volumeName)
 It prints a warning when the volume used by an observable is not an active volume. More...
 

Private Attributes

std::vector< std::string > fContainsProcessG4Name
 A std::vector storing the Geant4 process name corresponding to each containsProcessXxx observable. More...
 
std::vector< std::string > fContainsProcessObservables
 A std::vector storing the observable names containsProcessXxx. More...
 
std::vector< std::string > fDirID
 
std::vector< std::string > fEnergyInObservables
 It stores the name of observables xxxVolumeEDep related to the energy deposition in volume xxx. More...
 
TRestGeant4Metadata * fG4Metadata
 A pointer to the simulation metadata information accessible to TRestRun. More...
 
TRestGeant4Event * fInputG4Event
 A pointer to the specific TRestGeant4Event input. More...
 
std::vector< std::string > fMeanPosObservables
 A std::vector storing the name of active volumes. More...
 
TRestGeant4Event * fOutputG4Event
 A pointer to the specific TRestGeant4Event output. More...
 
std::vector< std::string > fParticleTrackCounter
 A std::vector storing the xxx particle name extracted from xxxTracksCounter. More...
 
std::vector< std::string > fParticleTrackEdep
 A std::vector storing the xxx particle name extracted from xxxTracksEDep. More...
 
std::vector< std::vector< std::string > > fPerProcessG4Names
 The Geant4 process names contributing to each PerProcessXxx observable. More...
 
std::vector< std::string > fPerProcessObservables
 A std::vector storing the observable names PerProcessXxx (only if fPerProcessSensitiveEnergy). More...
 
std::vector< std::string > fPerProcessParticle
 The particle restriction of each PerProcessXxx observable (empty means any particle). More...
 
Bool_t fPerProcessSensitiveEnergy = false
 
Bool_t fPerProcessSensitiveEnergyNorm = false
 If true, PerProcessXxx observables are normalized to the total energy in the sensitive volume. More...
 
std::vector< std::string > fProcessName
 A std::vector storing the Geant4 name of the process corresponding to each process observable. More...
 
std::vector< std::string > fProcessObservables
 
std::vector< std::string > fProcessVolumeName
 A std::vector storing the volume name corresponding to each process observable. More...
 
std::vector< std::string > fTrackCounterObservables
 A std::vector storing the observable name xxxTracksCounter for a given xxx particle. More...
 
std::vector< std::string > fTracksEDepObservables
 A std::vector storing the observable name xxxTracksEDep for a given xxx particle. More...
 
std::vector< Int_t > fVolumeID
 A std::vector storing the active volume ids of observables xxxVolumeEDep. More...
 
std::vector< Int_t > fVolumeID2
 A std::vector storing the active volume ids corresponding mean position observable xxxMeanPosX,Y,Z. More...
 
std::vector< Int_t > fVolumeID3
 A std::vector storing the active volume ids corresponding process observable . More...
 
std::vector< std::string > fVolumeName
 

Additional Inherited Members

- Protected Types inherited from TRestEventProcess
enum  REST_Process_Output { No_Output , Observable , Internal_Var , Full_Output }
 
- Protected Attributes inherited from TRestEventProcess
TRestAnalysisTree * fAnalysisTree = nullptr
 
TCanvas * fCanvas = nullptr
 < Canvas for some viewer event More...
 
TVector2 fCanvasSize
 Canvas size. More...
 
std::vector< std::pair< std::string, TVector2 > > fCuts
 Stores cut definitions. Any listed observables should be in the range. More...
 
bool fDynamicObs = false
 It defines whether to use added observables only or all the observables appear in the code. More...
 
bool fIsExternal = false
 It defines if the process reads event data from an external source. More...
 
std::map< std::string, int > fObservablesDefined
 Stores the list of all the appeared process observables in the code. More...
 
std::map< std::string, int > fObservablesUpdated
 Stores the list of process observables updated when processing this event. More...
 
bool fReadOnly = false
 not used, keep for compatibility More...
 
TRestRun * fRunInfo = nullptr
 < Pointer to TRestRun object where to find metadata. More...
 
bool fSingleThreadOnly = false
 
bool fValidateObservables = false
 It defines if observable names should be added to the validation list. More...
 

Constructor & Destructor Documentation

◆ TRestGeant4AnalysisProcess() [1/2]

TRestGeant4AnalysisProcess::TRestGeant4AnalysisProcess ( )

Default constructor.

Definition at line 293 of file TRestGeant4AnalysisProcess.cxx.

◆ TRestGeant4AnalysisProcess() [2/2]

TRestGeant4AnalysisProcess::TRestGeant4AnalysisProcess ( const char *  configFilename)

Constructor loading data from a config file.

If no configuration path is defined using TRestMetadata::SetConfigFilePath the path to the config file must be specified using full path, absolute or relative.

The default behaviour is that the config file must be specified with full path, absolute or relative.

Parameters
configFilenameA const char* giving the path to an RML file.

Definition at line 307 of file TRestGeant4AnalysisProcess.cxx.

◆ ~TRestGeant4AnalysisProcess()

TRestGeant4AnalysisProcess::~TRestGeant4AnalysisProcess ( )

Default destructor.

Definition at line 316 of file TRestGeant4AnalysisProcess.cxx.

Member Function Documentation

◆ EndProcess()

void TRestGeant4AnalysisProcess::EndProcess ( )
overridevirtual

Function to include required actions after all events have been processed.

Reimplemented from TRestEventProcess.

Definition at line 944 of file TRestGeant4AnalysisProcess.cxx.

◆ GetAliasObservableNameToVolume()

std::map< std::string, std::string > TRestGeant4AnalysisProcess::GetAliasObservableNameToVolume ( )
protected

Definition at line 911 of file TRestGeant4AnalysisProcess.cxx.

◆ GetGeant4ProcessName()

string TRestGeant4AnalysisProcess::GetGeant4ProcessName ( const std::string &  name) const

It returns the Geant4 process name corresponding to name.

name can be a REST process name (see GetRestToGeant4ProcessNameMap) or a Geant4 process name with the first letter capitalized (e.g. Compt, HadElastic or NCapture). It returns an empty string if no match is found.

Definition at line 411 of file TRestGeant4AnalysisProcess.cxx.

◆ GetInputEvent()

RESTValue TRestGeant4AnalysisProcess::GetInputEvent ( ) const
inlineoverridevirtual

Get pointer to input event. Must be implemented in the derived class.

Implements TRestEventProcess.

Definition at line 120 of file TRestGeant4AnalysisProcess.h.

◆ GetOutputEvent()

RESTValue TRestGeant4AnalysisProcess::GetOutputEvent ( ) const
inlineoverridevirtual

Get pointer to output event. Must be implemented in the derived class.

Implements TRestEventProcess.

Definition at line 121 of file TRestGeant4AnalysisProcess.h.

◆ GetProcessName()

const char * TRestGeant4AnalysisProcess::GetProcessName ( ) const
inlineoverridevirtual

Returns the name of this process.

Implements TRestEventProcess.

Definition at line 140 of file TRestGeant4AnalysisProcess.h.

◆ GetRestToGeant4ProcessNameMap()

const map< string, string > & TRestGeant4AnalysisProcess::GetRestToGeant4ProcessNameMap ( )
static

It returns the map between the process names used in REST observables (<volume><Process>Process) and the process names used by Geant4.

Definition at line 372 of file TRestGeant4AnalysisProcess.cxx.

◆ Initialize()

void TRestGeant4AnalysisProcess::Initialize ( )
overrideprivatevirtual

Function to initialize input/output event members and define the section name.

Reimplemented from TRestMetadata.

Definition at line 327 of file TRestGeant4AnalysisProcess.cxx.

◆ InitProcess()

void TRestGeant4AnalysisProcess::InitProcess ( )
overridevirtual

Process initialization. Observable names are interpreted and auxiliar observable members, related to VolumeEdep, MeanPos, TracksCounter, TrackEDep, <volume><Process>Process, containsProcess and PerProcess observables defined in TRestGeant4AnalysisProcess are filled at this stage.

Reimplemented from TRestEventProcess.

Definition at line 465 of file TRestGeant4AnalysisProcess.cxx.

◆ LoadConfig()

void TRestGeant4AnalysisProcess::LoadConfig ( const std::string &  configFilename,
const std::string &  name = "" 
)

Function to load the configuration from an external configuration file.

If no configuration path is defined in TRestMetadata::SetConfigFilePath the path to the config file must be specified using full path, absolute or relative.

Parameters
configFilenameA const char* giving the path to an RML file.
nameThe name of the specific metadata. It will be used to find the corresponding TRestGeant4AnalysisProcess section inside the RML.

Definition at line 348 of file TRestGeant4AnalysisProcess.cxx.

◆ LoadDefaultConfig()

void TRestGeant4AnalysisProcess::LoadDefaultConfig ( )
private

Function to load the default config in absence of RML input.

Definition at line 321 of file TRestGeant4AnalysisProcess.cxx.

◆ Maker()

TRestEventProcess * TRestGeant4AnalysisProcess::Maker ( )
inline

Returns a new instance of this class.

Definition at line 137 of file TRestGeant4AnalysisProcess.h.

◆ PrintMetadata()

void TRestGeant4AnalysisProcess::PrintMetadata ( )
inlineoverridevirtual

It prints out the process parameters stored in the metadata structure.

Reimplemented from TRestMetadata.

Definition at line 130 of file TRestGeant4AnalysisProcess.h.

◆ PrintNotActiveVolumeWarning()

void TRestGeant4AnalysisProcess::PrintNotActiveVolumeWarning ( const TString &  volumeName)
private

It prints a warning when the volume used by an observable is not an active volume.

Definition at line 442 of file TRestGeant4AnalysisProcess.cxx.

◆ ProcessEvent()

TRestEvent * TRestGeant4AnalysisProcess::ProcessEvent ( TRestEvent *  inputEvent)
overridevirtual

The main processing event function.

Implements TRestEventProcess.

Definition at line 673 of file TRestGeant4AnalysisProcess.cxx.

Field Documentation

◆ fContainsProcessG4Name

std::vector<std::string> TRestGeant4AnalysisProcess::fContainsProcessG4Name
private

A std::vector storing the Geant4 process name corresponding to each containsProcessXxx observable.

Definition at line 78 of file TRestGeant4AnalysisProcess.h.

◆ fContainsProcessObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fContainsProcessObservables
private

A std::vector storing the observable names containsProcessXxx.

Definition at line 75 of file TRestGeant4AnalysisProcess.h.

◆ fDirID

std::vector<std::string> TRestGeant4AnalysisProcess::fDirID
private

A std::vector storing the direction X,Y or Z from corresponding mean position observable xxxMeanPosX,Y,Z.

Definition at line 59 of file TRestGeant4AnalysisProcess.h.

◆ fEnergyInObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fEnergyInObservables
private

It stores the name of observables xxxVolumeEDep related to the energy deposition in volume xxx.

Definition at line 44 of file TRestGeant4AnalysisProcess.h.

◆ fG4Metadata

TRestGeant4Metadata* TRestGeant4AnalysisProcess::fG4Metadata
private

A pointer to the simulation metadata information accessible to TRestRun.

Definition at line 41 of file TRestGeant4AnalysisProcess.h.

◆ fInputG4Event

TRestGeant4Event* TRestGeant4AnalysisProcess::fInputG4Event
private

A pointer to the specific TRestGeant4Event input.

Definition at line 35 of file TRestGeant4AnalysisProcess.h.

◆ fMeanPosObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fMeanPosObservables
private

A std::vector storing the name of active volumes.

It stores the name of observables (xxxMeanPosX,Y,Z) related to mean hits position in volume xxx.

Definition at line 52 of file TRestGeant4AnalysisProcess.h.

◆ fOutputG4Event

TRestGeant4Event* TRestGeant4AnalysisProcess::fOutputG4Event
private

A pointer to the specific TRestGeant4Event output.

Definition at line 38 of file TRestGeant4AnalysisProcess.h.

◆ fParticleTrackCounter

std::vector<std::string> TRestGeant4AnalysisProcess::fParticleTrackCounter
private

A std::vector storing the xxx particle name extracted from xxxTracksCounter.

Definition at line 93 of file TRestGeant4AnalysisProcess.h.

◆ fParticleTrackEdep

std::vector<std::string> TRestGeant4AnalysisProcess::fParticleTrackEdep
private

A std::vector storing the xxx particle name extracted from xxxTracksEDep.

Definition at line 99 of file TRestGeant4AnalysisProcess.h.

◆ fPerProcessG4Names

std::vector<std::vector<std::string> > TRestGeant4AnalysisProcess::fPerProcessG4Names
private

The Geant4 process names contributing to each PerProcessXxx observable.

Definition at line 84 of file TRestGeant4AnalysisProcess.h.

◆ fPerProcessObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fPerProcessObservables
private

A std::vector storing the observable names PerProcessXxx (only if fPerProcessSensitiveEnergy).

Definition at line 81 of file TRestGeant4AnalysisProcess.h.

◆ fPerProcessParticle

std::vector<std::string> TRestGeant4AnalysisProcess::fPerProcessParticle
private

The particle restriction of each PerProcessXxx observable (empty means any particle).

Definition at line 87 of file TRestGeant4AnalysisProcess.h.

◆ fPerProcessSensitiveEnergy

Bool_t TRestGeant4AnalysisProcess::fPerProcessSensitiveEnergy = false
private

If true, PerProcessXxx observables with the energy deposited in the sensitive volume per process are added to the analysis tree.

Definition at line 103 of file TRestGeant4AnalysisProcess.h.

◆ fPerProcessSensitiveEnergyNorm

Bool_t TRestGeant4AnalysisProcess::fPerProcessSensitiveEnergyNorm = false
private

If true, PerProcessXxx observables are normalized to the total energy in the sensitive volume.

Definition at line 105 of file TRestGeant4AnalysisProcess.h.

◆ fProcessName

std::vector<std::string> TRestGeant4AnalysisProcess::fProcessName
private

A std::vector storing the Geant4 name of the process corresponding to each process observable.

Definition at line 72 of file TRestGeant4AnalysisProcess.h.

◆ fProcessObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fProcessObservables
private

A std::vector storing the name of observables xxxYyyProcess related to process Yyy in volume xxx.

Definition at line 63 of file TRestGeant4AnalysisProcess.h.

◆ fProcessVolumeName

std::vector<std::string> TRestGeant4AnalysisProcess::fProcessVolumeName
private

A std::vector storing the volume name corresponding to each process observable.

Definition at line 69 of file TRestGeant4AnalysisProcess.h.

◆ fTrackCounterObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fTrackCounterObservables
private

A std::vector storing the observable name xxxTracksCounter for a given xxx particle.

Definition at line 90 of file TRestGeant4AnalysisProcess.h.

◆ fTracksEDepObservables

std::vector<std::string> TRestGeant4AnalysisProcess::fTracksEDepObservables
private

A std::vector storing the observable name xxxTracksEDep for a given xxx particle.

Definition at line 96 of file TRestGeant4AnalysisProcess.h.

◆ fVolumeID

std::vector<Int_t> TRestGeant4AnalysisProcess::fVolumeID
private

A std::vector storing the active volume ids of observables xxxVolumeEDep.

Definition at line 47 of file TRestGeant4AnalysisProcess.h.

◆ fVolumeID2

std::vector<Int_t> TRestGeant4AnalysisProcess::fVolumeID2
private

A std::vector storing the active volume ids corresponding mean position observable xxxMeanPosX,Y,Z.

Definition at line 55 of file TRestGeant4AnalysisProcess.h.

◆ fVolumeID3

std::vector<Int_t> TRestGeant4AnalysisProcess::fVolumeID3
private

A std::vector storing the active volume ids corresponding process observable .

Definition at line 66 of file TRestGeant4AnalysisProcess.h.

◆ fVolumeName

std::vector<std::string> TRestGeant4AnalysisProcess::fVolumeName
private

Definition at line 49 of file TRestGeant4AnalysisProcess.h.


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