1 #include "art/Framework/Core/EDFilter.h"
2 #include "art/Framework/Core/ModuleMacros.h"
3 #include "art/Framework/Principal/Event.h"
12 virtual bool filter(art::Event&
e)
override;
24 , fBeamTimeMin(pset.
get<double>(
"BeamTimeMin"))
25 , fBeamTimeMax(pset.
get<double>(
"BeamTimeMax"))
26 , fEnergyDeposit(pset.
get<double>(
"EnergyDeposit"))
27 , fSimEnergyDepModuleName(pset.
get<
std::string>(
"SimEnergyDepModuleName"))
33 const art::ValidHandle<std::vector<sim::SimEnergyDeposit>>&
40 const double time(energyDep.Time() * 1e-3);
45 energy += energyDep.Energy();
SimEnergyDepFakeTriggerFilter(fhicl::ParameterSet const &pset)
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
virtual bool filter(art::Event &e) override
const double fBeamTimeMax
const double fEnergyDeposit
const std::string fSimEnergyDepModuleName
const double fBeamTimeMin
contains information for a single step in the detector simulation
Energy deposition in the active material.