1 #ifndef SimG4Core_Generator_H 2 #define SimG4Core_Generator_H 10 #include "HepMC/GenEvent.h" 11 #include "HepMC/GenParticle.h" 16 class G4PrimaryParticle;
27 void HepMC2G4(
const HepMC::GenEvent *
g,G4Event *
e);
41 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)
bool isExoticNonDetectable(int pdgcode) const
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.
LumiMonitorFilter * fLumiFilter
void setGenEvent(const HepMC::GenEvent *inpevt)
bool isExotic(int pdgcode) const
math::XYZTLorentzVector * vtx_
void nonBeamEvent2G4(const HepMC::GenEvent *g, G4Event *e)
return(e1-e2)*(e1-e2)+dp *dp
bool particlePassesPrimaryCuts(const G4ThreeVector &p) const
std::vector< int > pdgFilter
bool IsInTheFilterList(int pdgcode) const