1 #ifndef SimG4Core_Generator_H
2 #define SimG4Core_Generator_H
9 #include "HepMC/GenEvent.h"
10 #include "HepMC/GenParticle.h"
19 class G4PrimaryParticle;
28 void HepMC2G4(
const HepMC::GenEvent *
g,G4Event *
e);
37 void setGenId(G4PrimaryParticle* p,
int id)
const
virtual const math::XYZTLorentzVector * genVertex() const
void setGenId(G4PrimaryParticle *p, int id) const
virtual const double eventWeight() const
virtual const HepMC::GenEvent * genEvent() const
double theEtaCutForHector
void HepMC2G4(const HepMC::GenEvent *g, G4Event *e)
Generator(const edm::ParameterSet &p)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
void particleAssignDaughters(G4PrimaryParticle *p, HepMC::GenParticle *hp, double length)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void setGenEvent(const HepMC::GenEvent *inpevt)
math::XYZTLorentzVector * vtx_
void nonBeamEvent2G4(const HepMC::GenEvent *g, G4Event *e)
std::vector< int > pdgFilter
bool particlePassesPrimaryCuts(const G4PrimaryParticle *p) const