#include <Generator.h>
Public Member Functions | |
virtual const double | eventWeight () const |
Generator (const edm::ParameterSet &p) | |
virtual const HepMC::GenEvent * | genEvent () const |
virtual const math::XYZTLorentzVector * | genVertex () const |
void | HepMC2G4 (const HepMC::GenEvent *g, G4Event *e) |
void | nonCentralEvent2G4 (const HepMC::GenEvent *g, G4Event *e) |
void | setGenEvent (const HepMC::GenEvent *inpevt) |
virtual | ~Generator () |
Private Member Functions | |
bool | isExotic (int pdgcode) const |
bool | isExoticNonDetectable (int pdgcode) const |
bool | IsInTheFilterList (int pdgcode) const |
void | particleAssignDaughters (G4PrimaryParticle *p, HepMC::GenParticle *hp, double length) |
bool | particlePassesPrimaryCuts (const G4ThreeVector &p) const |
void | setGenId (G4PrimaryParticle *p, int id) const |
Private Attributes | |
HepMC::GenEvent * | evt_ |
bool | fEtaCuts |
bool | fFiductialCuts |
LumiMonitorFilter * | fLumiFilter |
bool | fPCuts |
bool | fPDGFilter |
bool | fPhiCuts |
bool | fPtransCut |
double | maxZCentralCMS |
std::vector< int > | pdgFilter |
bool | pdgFilterSel |
double | theDecLenCut |
double | theDecRCut2 |
double | theEtaCutForHector |
double | theMaxEtaCut |
double | theMaxPCut |
double | theMaxPhiCut |
double | theMinEtaCut |
double | theMinPCut |
double | theMinPhiCut |
double | theMinPtCut2 |
int | verbose |
math::XYZTLorentzVector * | vtx_ |
double | weight_ |
double | Z_hector |
double | Z_lmax |
double | Z_lmin |
Definition at line 19 of file Generator.h.
Generator::Generator | ( | const edm::ParameterSet & | p | ) |
Definition at line 23 of file Generator.cc.
References LumiMonitorFilter::Describe(), JetChargeProducer_cfi::exp, fEtaCuts, fFiductialCuts, fLumiFilter, fPCuts, fPDGFilter, fPhiCuts, fPtransCut, cuy::ii, BXlumiParameters_cfi::lumi, visualization-live-secondInstance_cfg::m, maxZCentralCMS, AlCaHLTBitMon_ParallelJobs::p, pdgFilter, pdgFilterSel, contentValuesCheck::ss, theDecLenCut, theDecRCut2, theEtaCutForHector, theMaxEtaCut, theMaxPCut, theMaxPhiCut, theMinEtaCut, theMinPCut, theMinPhiCut, theMinPtCut2, Z_hector, Z_lmax, and Z_lmin.
|
virtual |
|
inlinevirtual |
Definition at line 32 of file Generator.h.
References weight_.
Referenced by RunManagerMTWorker::produce().
|
inlinevirtual |
Definition at line 30 of file Generator.h.
References evt_.
Referenced by RunManagerMTWorker::produce().
|
inlinevirtual |
Definition at line 31 of file Generator.h.
References vtx_.
Referenced by RunManagerMTWorker::produce().
void Generator::HepMC2G4 | ( | const HepMC::GenEvent * | g, |
G4Event * | e | ||
) |
Definition at line 112 of file Generator.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, class-composition::children, fEtaCuts, fFiductialCuts, fLumiFilter, fPCuts, fPDGFilter, fPhiCuts, fPtransCut, GenParticle::GenParticle, isExotic(), isExoticNonDetectable(), LumiMonitorFilter::isGoodForLumiMonitor(), IsInTheFilterList(), LogDebug, visualization-live-secondInstance_cfg::m, maxZCentralCMS, AlCaHLTBitMon_ParallelJobs::p, particleAssignDaughters(), dileptonTrigSettings_cff::pdg, pdgFilterSel, phi, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, setGenId(), mathSSE::sqrt(), contentValuesCheck::ss, mps_update::status, RandomServiceHelper::t1, theDecRCut2, theMaxPCut, theMaxPhiCut, theMinPtCut2, verbose, vtx_, weight_, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, protons_cff::xi, geometryCSVtoXML::xx, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, geometryCSVtoXML::yy, testProducerWithPsetDescEmpty_cfi::z2, Z_hector, Z_lmax, and Z_lmin.
Referenced by RunManagerMTWorker::generateEvent().
|
private |
Definition at line 524 of file Generator.cc.
References funct::abs(), and EgammaValidation_cff::pdgid.
Referenced by HepMC2G4().
|
private |
Definition at line 532 of file Generator.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, LHEGenericFilter_cfi::ParticleID, and EgammaValidation_cff::pdgid.
Referenced by HepMC2G4().
|
private |
Definition at line 539 of file Generator.cc.
References funct::abs(), pdgFilter, and EgammaValidation_cff::pdgid.
Referenced by HepMC2G4().
void Generator::nonCentralEvent2G4 | ( | const HepMC::GenEvent * | g, |
G4Event * | e | ||
) |
Definition at line 549 of file Generator.cc.
References GenParticle::GenParticle, runTauDisplay::gp, mps_fire::i, setGenId(), findQualityFiles::v, and verbose.
Referenced by RunManagerMTWorker::generateEvent().
|
private |
Definition at line 430 of file Generator.cc.
References class-composition::children, createTree::dd, LogDebug, AlCaHLTBitMon_ParallelJobs::p, setGenId(), mathSSE::sqrt(), verbose, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by HepMC2G4().
|
private |
Definition at line 492 of file Generator.cc.
References MillePedeFileConverter_cfg::e, PVValHelper::eta, fEtaCuts, RemoveAddSevLevel::flag, fPCuts, fPhiCuts, LogDebug, AlCaHLTBitMon_ParallelJobs::p, phi, theMaxEtaCut, theMaxPCut, theMaxPhiCut, and verbose.
|
inline |
Definition at line 24 of file Generator.h.
References evt_.
Referenced by RunManagerMTWorker::generateEvent().
|
inlineprivate |
Definition at line 40 of file Generator.h.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by HepMC2G4(), nonCentralEvent2G4(), and particleAssignDaughters().
|
private |
Definition at line 61 of file Generator.h.
Referenced by genEvent(), and setGenEvent().
|
private |
Definition at line 45 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and particlePassesPrimaryCuts().
|
private |
Definition at line 47 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 60 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and ~Generator().
|
private |
Definition at line 43 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and particlePassesPrimaryCuts().
|
private |
Definition at line 67 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 46 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and particlePassesPrimaryCuts().
|
private |
Definition at line 44 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 58 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 65 of file Generator.h.
Referenced by Generator(), and IsInTheFilterList().
|
private |
Definition at line 66 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 57 of file Generator.h.
Referenced by Generator().
|
private |
Definition at line 55 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 56 of file Generator.h.
Referenced by Generator().
|
private |
Definition at line 51 of file Generator.h.
Referenced by Generator(), and particlePassesPrimaryCuts().
|
private |
Definition at line 54 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and particlePassesPrimaryCuts().
|
private |
Definition at line 49 of file Generator.h.
Referenced by Generator(), HepMC2G4(), and particlePassesPrimaryCuts().
|
private |
Definition at line 50 of file Generator.h.
Referenced by Generator().
|
private |
Definition at line 52 of file Generator.h.
Referenced by Generator().
|
private |
Definition at line 48 of file Generator.h.
Referenced by Generator().
|
private |
Definition at line 53 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 59 of file Generator.h.
Referenced by HepMC2G4(), nonCentralEvent2G4(), particleAssignDaughters(), and particlePassesPrimaryCuts().
|
private |
Definition at line 62 of file Generator.h.
Referenced by genVertex(), and HepMC2G4().
|
private |
Definition at line 63 of file Generator.h.
Referenced by eventWeight(), and HepMC2G4().
|
private |
Definition at line 64 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 64 of file Generator.h.
Referenced by Generator(), and HepMC2G4().
|
private |
Definition at line 64 of file Generator.h.
Referenced by Generator(), and HepMC2G4().