33 produces< std::vector<sim::SimEnergyDeposit> >(
instance);
42 auto out = std::make_unique< std::vector<sim::SimEnergyDeposit> >();
45 const int nelepercm = 50000;
46 const double mevpercm = 2.0;
55 const auto vdiff = end-start;
56 const auto vlen = sqrt(vdiff.Mag2());
57 const auto vdir = vdiff.unit();
59 const double stepsize = 0.1;
60 const int nsteps = vlen/stepsize;
63 const double ns = 1.0;
64 const double us = 1000.0*ns;
65 const double ms = 1000.0*us;
70 for (
double jump : { -1.6*ms, -1*ms, +3125*ns, (3125+1600)*ns, }) {
72 for (
int istep=1; istep<nsteps; ++istep) {
85 std::cerr <<
"BlipMaker making " << out->size() <<
" depos to instance: " <<
instance << std::endl;
code to link reconstructed objects back to the MC truth information
const std::string instance
#define DEFINE_ART_MODULE(klass)
void produce(art::Event &evt)
contains information for a single step in the detector simulation
BlipMaker(Parameters const ¶ms)
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
const BlipMakerConfig m_cfg
Event finding and building.