1 #ifndef _CachedShowerRegeneratorOG_CachedShowerRegenerator_h_
2 #define _CachedShowerRegeneratorOG_CachedShowerRegenerator_h_
13 #include <fwk/VModule.h>
14 #include <utl/Particle.h>
15 #include <utl/RandomEngine.h>
16 #include <utl/ShadowPtr.h>
17 #include <utl/ShowerParticleIterator.h>
19 #include <utl/TimeDistribution.h>
20 #include <utl/AugerUnits.h>
21 #include <boost/tuple/tuple.hpp>
27 class ShowerParticleIterator;
29 class TabulatedFunction;
50 class LogGaussSmearing;
85 VModule::ResultFlag
Init();
pointer with built-in initialization, deletion, deep copying
Iterator to retrieve particles from utl::VShowerParticlList.
void OutputStats(evt::Event &event)
bool fUseStationPositionMatrix
utl::RandomEngine::RandomEngineType * fRandomEngine
Report success to RunController.
std::map< int, TimeStat > TimeStatMap
std::map< int, int > StationParticleMap
VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
utl::ShowerParticleIterator fParticleIt
StationParticleMap fTopParticles
WeightCounterMap fWeightCounterMap
int fNHorizontalParticles
utl::ShadowPtr< LogGaussSmearing > fLogGauss
double fLogGaussSmearingWidth
utl::Accumulator::MinMax< utl::TimeInterval > TimeStat
std::map< int, WeightStat > WeightStatMap
StationParticleMap fUpwardSideParticles
unsigned int fParticlesPerCycle
double fElectronEnergyCut
bool fUseWeightedStationSimulation
double fHorizontalParticleCut
bool IsParticleEnergyLow(const int type, const double energy) const
ShowerData(const StationPositionMatrix &matrix)
WeightStatMap fWeightStat
utl::ShadowPtr< ShowerData > fShowerData
bool fLimitParticlesPerCycle
unsigned int fWeightedStationSimulationParticleLimit
Regenerate thinned MC showers.
utl::Accumulator::MinMaxAverage< double > WeightStat
std::map< unsigned int, double > WeightCounterMap
StationPositionMatrix fStationMatrix
CLHEP::HepRandomEngine RandomEngineType
utl::ShowerParticleIterator fParticlesEnd
VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
void InitNewShower(evt::Event &event)
StationParticleMap fSideParticles
bool fUseWeightDependentResamplingArea
VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("CachedShowerRegeneratorOG", CachedShowerRegenerator)
double fWeightedStationSimulationThinningFactor
CachedShowerRegenerator()