15#ifndef TRACKRECORDGENERATOR_H
16#define TRACKRECORDGENERATOR_H
21#include "CLHEP/Vector/LorentzVector.h"
32 virtual StatusCode
fillEvt(HepMC::GenEvent* evt);
GenModule(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual ~TrackRecordGenerator()
bool m_stopParticles
Stop particles before simulation.
double m_smearTR
Amount by which to smear TR position.
virtual StatusCode fillEvt(HepMC::GenEvent *evt)
For filling the HepMC event object.
float m_stopped_tplus
Bounds for random time.
std::vector< CLHEP::HepLorentzVector > m_fourMom
std::vector< HepMC::Polarization > m_polarization
std::vector< CLHEP::HepLorentzVector > m_fourPos
std::string m_recordName
TrackRecord collection name.
std::vector< int > m_pdgCode
TrackRecordGenerator(const std::string &name, ISvcLocator *pSvcLocator)
double m_smearTRp
Amount by which to smear TR momentum.
virtual StatusCode callGenerator()
For calling the generator on each iteration of the event loop.
CLHEP::Hep3Vector m_center
bool m_add_cL
For stopped particles, add c*L to the time.