EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::RootMaterialTrackWriter::Config Struct Reference

#include <acts/blob/sPHENIX/Examples/Io/Root/include/ActsExamples/Io/Root/RootMaterialTrackWriter.hpp>

+ Collaboration diagram for ActsExamples::RootMaterialTrackWriter::Config:

Public Attributes

std::string collection
 material collection to write
 
std::string filePath = ""
 path of the output file
 
std::string fileMode = "RECREATE"
 file access mode
 
std::string treeName = "material-tracks"
 name of the output tree
 
TFile * rootFile = nullptr
 common root file
 
bool recalculateTotals = false
 Re-calculate total values from individual steps (for cross-checks)
 
bool prePostStep = false
 Write aut pre and post step (for G4), otherwise central step position.
 
bool storeSurface = false
 Write the surface to which the material step correpond.
 
bool storeVolume = false
 Write the volume to which the material step correpond.
 

Detailed Description

Definition at line 44 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 44 of file RootMaterialTrackWriter.hpp

Member Data Documentation

std::string ActsExamples::RootMaterialTrackWriter::Config::collection
Initial value:
=
"material-tracks"

material collection to write

Definition at line 45 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 45 of file RootMaterialTrackWriter.hpp

Referenced by materialMappingExample(), materialValidationExample(), ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter(), and runGeantinoRecording().

std::string ActsExamples::RootMaterialTrackWriter::Config::fileMode = "RECREATE"

file access mode

Definition at line 48 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 48 of file RootMaterialTrackWriter.hpp

Referenced by ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter().

std::string ActsExamples::RootMaterialTrackWriter::Config::filePath = ""

path of the output file

Definition at line 47 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 47 of file RootMaterialTrackWriter.hpp

Referenced by materialMappingExample(), materialValidationExample(), ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter(), and runGeantinoRecording().

bool ActsExamples::RootMaterialTrackWriter::Config::prePostStep = false

Write aut pre and post step (for G4), otherwise central step position.

Definition at line 55 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 55 of file RootMaterialTrackWriter.hpp

Referenced by ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter(), and runGeantinoRecording().

bool ActsExamples::RootMaterialTrackWriter::Config::recalculateTotals = false

Re-calculate total values from individual steps (for cross-checks)

Definition at line 53 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 53 of file RootMaterialTrackWriter.hpp

Referenced by runGeantinoRecording().

TFile* ActsExamples::RootMaterialTrackWriter::Config::rootFile = nullptr

common root file

Definition at line 50 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 50 of file RootMaterialTrackWriter.hpp

bool ActsExamples::RootMaterialTrackWriter::Config::storeSurface = false

Write the surface to which the material step correpond.

Definition at line 57 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 57 of file RootMaterialTrackWriter.hpp

Referenced by materialMappingExample(), materialValidationExample(), and ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter().

bool ActsExamples::RootMaterialTrackWriter::Config::storeVolume = false

Write the volume to which the material step correpond.

Definition at line 59 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 59 of file RootMaterialTrackWriter.hpp

Referenced by materialMappingExample(), materialValidationExample(), and ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter().

std::string ActsExamples::RootMaterialTrackWriter::Config::treeName = "material-tracks"

name of the output tree

Definition at line 49 of file RootMaterialTrackWriter.hpp.

View newest version in sPHENIX GitHub at line 49 of file RootMaterialTrackWriter.hpp

Referenced by ActsExamples::RootMaterialTrackWriter::RootMaterialTrackWriter().


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