|
Celeritas 0.7.0-dev.356+develop.6a0c715
|
Analyzer module that exports detector geometry information and, optionally , sim::SimEnergyDeposit data to basic ROOT types for use in.
More...
#include <GeoSimExporter.hh>

Classes | |
| struct | Config |
Public Types | |
| using | Parameters = art::EDAnalyzer::Table< Config > |
Public Member Functions | |
| GeoSimExporter (Parameters const &p) | |
| Construct with GDML geometry and export its information. | |
| void | beginJob () override |
| Create TTree with sim data. | |
| void | analyze (art::Event const &event) override |
Loop over optional larg4 Geant4 output simulation file event data with IonAndScint objects and export test data. | |
| GeoSimExporter (GeoSimExporter const &)=delete | |
| GeoSimExporter (GeoSimExporter &&)=delete | |
| GeoSimExporter & | operator= (GeoSimExporter const &)=delete |
| GeoSimExporter & | operator= (GeoSimExporter &&)=delete |
Analyzer module that exports detector geometry information and, optionally , sim::SimEnergyDeposit data to basic ROOT types for use in.
The simplified TTree does not require dictionaries. Each TTree entry is one event. Each TBranch is a vector of sim::SimEnergyDeposit data, and thus each TBranch entry is associated to a sim::SimEnergyDeposit object.
Usage: Export detector geometry data only: $ lar -c job.fcl Export detector geometry and simulation data: $ lar -c job.fcl -s [geant4-output.root]
To store only a subset of events, use the optional -n [num_events] flag.