virtual StatusCode fillEvt(HepMC::GenEvent *event)
For filling the HepMC event object.
virtual StatusCode genInitialize()
For initializing the generator, if required.
virtual StatusCode callGenerator()
For calling the generator on each iteration of the event loop.
std::vector< HepMC::GenEvent * > m_evts
std::vector< double > m_pileupProfileIntegral
std::vector< float > m_multbcid
int nPileupEvents(CLHEP::HepRandomEngine *rndmEngine)
MultiParticleGunPileup(const std::string &name, ISvcLocator *pSvcLocator)
~MultiParticleGunPileup()
virtual StatusCode genFinalize()
For finalising the generator, if required.
std::vector< int > m_pileupProfile
TH1D * m_htgPileupProfile
ParticleSampler * m_partSampler