Celeritas 0.7.0-dev.356+develop.6a0c715
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
celeritas::GeoSimExporter Class Reference

Analyzer module that exports detector geometry information and, optionally , sim::SimEnergyDeposit data to basic ROOT types for use in. More...

#include <GeoSimExporter.hh>

Inheritance diagram for celeritas::GeoSimExporter:
Inheritance graph
[legend]

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
 
GeoSimExporteroperator= (GeoSimExporter const &)=delete
 
GeoSimExporteroperator= (GeoSimExporter &&)=delete
 

Detailed Description

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.


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