75 auto const& edep_vec(*edep_handle);
77 for(
auto const&
edep : edep_vec){
94 lar::providerFrom<detinfo::DetectorPropertiesService>(),
96 lar::providerFrom<spacecharge::SpaceChargeService>());
98 fNtuple = tfs->
make<TNtuple>(
"nt_is",
"EDep IS Calc Ntuple",
"run:event:t:x:y:z:ds:e:trackid:pdg:e_deposit:n_electron:n_photon");
Store parameters for running LArG4.
double EnergyDeposit() const
ISCalculationAna & operator=(ISCalculationAna const &)=delete
double NumberIonizationElectrons() const
void reconfigure(fhicl::ParameterSet const &p)
#define DEFINE_ART_MODULE(klass)
void analyze(art::Event const &e) override
T get(std::string const &key) const
EventNumber_t event() const
EDAnalyzer(Table< Config > const &config)
void CalculateIonizationAndScintillation(sim::SimEnergyDeposit const &edep)
double NumberScintillationPhotons() const
T * make(ARGS...args) const
contains information for a single step in the detector simulation
ISCalculationAna(fhicl::ParameterSet const &p)
ISCalculationSeparate fISAlg
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void Initialize(const detinfo::LArProperties *larp, const detinfo::DetectorProperties *detp, const sim::LArG4Parameters *lgp, const spacecharge::SpaceCharge *sce)