#include <HepMCProduct.h>
Public Member Functions | |
void | addHepMCData (HepMC::GenEvent *evt) |
void | applyVtxGen (HepMC::FourVector const *vtxShift) |
void | applyVtxGen (HepMC::FourVector const &vtxShift) |
void | boostToLab (TMatrixD const *lorentz, std::string const &type) |
const HepMC::GenEvent * | GetEvent () const |
const HepMC::GenEvent & | getHepMCData () const |
HepMCProduct () | |
HepMCProduct (HepMC::GenEvent *evt) | |
HepMCProduct (HepMCProduct const &orig) | |
bool | isPBoostApplied () const |
bool | isVtxBoostApplied () const |
bool | isVtxGenApplied () const |
HepMCProduct & | operator= (HepMCProduct const &other) |
void | swap (HepMCProduct &other) |
virtual | ~HepMCProduct () |
Private Attributes | |
HepMC::GenEvent * | evt_ |
bool | isPBoostApplied_ |
bool | isVtxBoostApplied_ |
bool | isVtxGenApplied_ |
Definition at line 18 of file HepMCProduct.h.
|
inline |
Definition at line 20 of file HepMCProduct.h.
References addHepMCData(), and ~HepMCProduct().
Referenced by isPBoostApplied().
|
explicit |
Definition at line 17 of file HepMCProduct.cc.
|
virtual |
Definition at line 21 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, and isVtxGenApplied_.
Referenced by HepMCProduct().
HepMCProduct::HepMCProduct | ( | HepMCProduct const & | orig | ) |
Definition at line 147 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, and isVtxGenApplied_.
void HepMCProduct::addHepMCData | ( | HepMC::GenEvent * | evt | ) |
|
inline |
Definition at line 29 of file HepMCProduct.h.
References boostToLab(), getHepMCData(), and AlCaHLTBitMon_QueryRunRegistry::string.
void HepMCProduct::applyVtxGen | ( | HepMC::FourVector const & | vtxShift | ) |
Definition at line 39 of file HepMCProduct.cc.
References evt_, isVtxGenApplied(), isVtxGenApplied_, reco::return(), lumiQTWidget::t, funct::true, and x().
void HepMCProduct::boostToLab | ( | TMatrixD const * | lorentz, |
std::string const & | type | ||
) |
Definition at line 64 of file HepMCProduct.cc.
References gather_cfg::cout, evt_, isPBoostApplied(), isPBoostApplied_, isVtxBoostApplied(), isVtxBoostApplied_, p4, reco::return(), and funct::true.
Referenced by applyVtxGen().
|
inline |
Definition at line 38 of file HepMCProduct.h.
References evt_.
Referenced by cms::PileupVertexAccumulator::accumulate(), ZMCHistogrammer::analyze(), JetAnaPythia< Jet >::analyze(), HiBasicGenTest::analyze(), HepMCEventWriter::analyze(), RivetHarvesting::analyze(), RivetAnalyzer::analyze(), EgammaSuperClusters::analyze(), CaloTowersValidation::analyze(), WValidation::analyze(), ValidationMisalignedTracker::analyze(), ElectronSeedAnalyzer::analyze(), BasicHepMCHeavyIonValidation::analyze(), DrellYanValidation::analyze(), BasicGenParticleValidation::analyze(), BasicHepMCValidation::analyze(), MBUEandQCDValidation::analyze(), SimplePhotonAnalyzer::analyze(), HiggsValidation::analyze(), edm::TestMix::analyze(), DuplicationChecker::analyze(), HcalSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), EnergyScaleAnalyzer::analyze(), EcalSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), HcalRecHitsValidation::analyze(), MCVerticesAnalyzer::analyze(), TTbar_Kinematics::analyze(), MCvsRecoVerticesAnalyzer::analyze(), HGCalTBAnalyzer::analyze(), EcalDigisValidation::analyze(), PhotonValidator::analyze(), HGCalSimHitValidation::analyze(), EcalMixingModuleValidation::analyze(), IsolatedGenParticles::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), ZeeCalibration::duringLoop(), DigiVtxPosCorrHistogramMaker::fill(), TrackerHitProducer::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsProducer::fillG4MC(), MuScleFitPlotter::fillGen(), cms::CosmicTIFTrigFilter::filter(), STFilter::filter(), CosmicGenFilterLowE::filter(), ComphepSingletopFilter::filter(), GaussianZBeamSpotFilter::filter(), LHEFilter::filter(), ComphepSingletopFilterPy8::filter(), cms::BHFilter::filter(), PythiaFilterGammaGamma::filter(), PythiaFilterMultiMother::filter(), PythiaFilterEMJet::filter(), JetFlavourCutFilter::filter(), JetFlavourFilter::filter(), PythiaFilterZgamma::filter(), PythiaFilterZJet::filter(), BdecayFilter::filter(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetIsoPi0::filter(), BsJpsiPhiFilter::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetWithOutBg::filter(), PythiaFilterZJetWithOutBg::filter(), GenLeadTrackFilter::filter(), PythiaFilterEMJetHeep::filter(), MCSingleParticleYPt::filter(), HighMultiplicityGenFilter::filter(), TwoVBGenFilter::filter(), MCSmartSingleParticleFilter::filter(), LQGenFilter::filter(), Zto2lFilter::filter(), CosmicGenFilterHelix::filter(), MCLongLivedParticles::filter(), MCZll::filter(), PythiaFilterHT::filter(), MCDecayingPionKaonFilter::filter(), MCDijetResonance::filter(), MCMultiParticleFilter::filter(), DJpsiFilter::filter(), MCSingleParticleFilter::filter(), FourLepFilter::filter(), PythiaDauFilter::filter(), PythiaDauVFilter::filter(), PythiaFilter::filter(), HZZ4lFilter::filter(), MCProcessRangeFilter::filter(), PythiaHLTSoupFilter::filter(), ZgMassFilter::filter(), ZgammaMassFilter::filter(), PythiaMomDauFilter::filter(), MCProcessFilter::filter(), HGCalTBCheckGunPostion::filter(), MCParticlePairFilter::filter(), HerwigMaxPtPartonFilter::filter(), ProtonTaggerFilter::filter(), PythiaFilterIsolatedTrack::filter(), MCVerticesWeight::filter(), UEDMultiLeptonFilter::filter(), HiCentralityBiasFilter::filter(), PythiaFilterTTBar::filter(), MuScleFitUtils::findGenMuFromRes(), MuScleFitMuonSelector::findGenMuFromRes(), MuScleFitUtils::findSimMuFromRes(), MuScleFitMuonSelector::findSimMuFromRes(), RunManagerMTWorker::generateEvent(), RunManager::generateEvent(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), VertexClassifier::genPrimaryVertices(), TrackClassifier::genPrimaryVertices(), MixEvtVtxGenerator::getVertex(), HSCPValidator::makeGenPlots(), HSCPValidator::makeRecoPlots(), MCPdgIndexFilter::pass(), PFTauElecRejectionBenchmark::process(), FamosProducer::produce(), BaseEvtVtxGenerator::produce(), HectorProducer::produce(), EcalTBMCInfoProducer::produce(), CTPPSHectorProducer::produce(), MixEvtVtxGenerator::produce(), TauSpinnerCMS::produce(), GenHIEventProducer::produce(), MixBoostEvtVtxGenerator::produce(), BetaBoostEvtVtxGenerator::produce(), CTPPSSimHitProducer::produce(), EmbeddingVertexCorrector::produce(), GenParticleProducer::produce(), and WeightManager::weight().
const HepMC::GenEvent & HepMCProduct::getHepMCData | ( | ) | const |
Definition at line 141 of file HepMCProduct.cc.
References evt_.
Referenced by applyVtxGen(), and edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenVertex >::Find::operator()().
|
inline |
Definition at line 42 of file HepMCProduct.h.
References HepMCProduct(), isPBoostApplied_, operator=(), trackingPlots::other, and swap().
Referenced by boostToLab().
|
inline |
Definition at line 41 of file HepMCProduct.h.
References isVtxBoostApplied_.
Referenced by boostToLab().
|
inline |
Definition at line 40 of file HepMCProduct.h.
References isVtxGenApplied_.
Referenced by applyVtxGen(), MixEvtVtxGenerator::getVertex(), and MixEvtVtxGenerator::produce().
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct const & | other | ) |
Definition at line 169 of file HepMCProduct.cc.
References swap(), and groupFilesInBlocks::temp.
Referenced by isPBoostApplied().
void HepMCProduct::swap | ( | HepMCProduct & | other | ) |
Definition at line 159 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, and std::swap().
Referenced by isPBoostApplied(), and operator=().
|
private |
Definition at line 49 of file HepMCProduct.h.
Referenced by addHepMCData(), applyVtxGen(), boostToLab(), GetEvent(), getHepMCData(), HepMCProduct(), swap(), and ~HepMCProduct().
|
private |
Definition at line 53 of file HepMCProduct.h.
Referenced by boostToLab(), HepMCProduct(), isPBoostApplied(), swap(), and ~HepMCProduct().
|
private |
Definition at line 52 of file HepMCProduct.h.
Referenced by boostToLab(), HepMCProduct(), isVtxBoostApplied(), swap(), and ~HepMCProduct().
|
private |
Definition at line 51 of file HepMCProduct.h.
Referenced by applyVtxGen(), HepMCProduct(), isVtxGenApplied(), swap(), and ~HepMCProduct().