Celeritas 0.7.0-dev.356+develop.6a0c715
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::SimEnergyDepositData Struct Reference

Required input data to construct a sim::SimEnergyDeposit class object. More...

#include <SimEnergyDepositData.hh>

Public Attributes

std::vector< int > * NumPhotons {nullptr}
 
std::vector< int > * NumElectrons {nullptr}
 
std::vector< double > * ScintYieldRatio {nullptr}
 
std::vector< double > * Energy {nullptr}
 
std::vector< double > * Time {nullptr}
 
std::vector< double > * StartX {nullptr}
 
std::vector< double > * StartY {nullptr}
 
std::vector< double > * StartZ {nullptr}
 
std::vector< double > * EndX {nullptr}
 
std::vector< double > * EndY {nullptr}
 
std::vector< double > * EndZ {nullptr}
 
std::vector< double > * StartT {nullptr}
 
std::vector< double > * EndT {nullptr}
 
std::vector< int > * TrackID {nullptr}
 
std::vector< int > * PdgCode {nullptr}
 

Detailed Description

Required input data to construct a sim::SimEnergyDeposit class object.

This struct is used to store/read the required data to construct a sim::SimEnergyDeposit object into/from a ROOT file without the need of a dictionary.

The struct element names replicate the sim::SimEnergyDeposit getters for easier manipulation using C++ macros.

The data members are pointers to allow the reuse of this struct by both the exporter ( GeoSimExporterModule ) and reader ( LarDataReader ) classes: For the reader, the pointers are necessary, as ROOT requires nullptr during TTree::SetBranchAddress .

See also
GeoSimExporterModule
LarDataReader

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