#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 &&orig) | |
HepMCProduct (HepMCProduct const &orig) | |
bool | isPBoostApplied () const |
bool | isVtxBoostApplied () const |
bool | isVtxGenApplied () const |
HepMCProduct & | operator= (HepMCProduct &&other) |
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 21 of file HepMCProduct.h.
|
inline |
Definition at line 23 of file HepMCProduct.h.
|
explicit |
Definition at line 16 of file HepMCProduct.cc.
|
virtual |
Definition at line 19 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, and isVtxGenApplied_.
HepMCProduct::HepMCProduct | ( | HepMCProduct const & | orig | ) |
Definition at line 122 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, and trackingPlots::other.
HepMCProduct::HepMCProduct | ( | HepMCProduct && | orig | ) |
Definition at line 148 of file HepMCProduct.cc.
void HepMCProduct::addHepMCData | ( | HepMC::GenEvent * | evt | ) |
void HepMCProduct::applyVtxGen | ( | HepMC::FourVector const & | vtxShift | ) |
Definition at line 36 of file HepMCProduct.cc.
References evt_, isVtxGenApplied(), isVtxGenApplied_, and submitPVValidationJobs::t.
|
inline |
Definition at line 30 of file HepMCProduct.h.
References applyVtxGen().
Referenced by applyVtxGen().
void HepMCProduct::boostToLab | ( | TMatrixD const * | lorentz, |
std::string const & | type | ||
) |
Definition at line 57 of file HepMCProduct.cc.
References gather_cfg::cout, evt_, isPBoostApplied(), isPBoostApplied_, isVtxBoostApplied(), isVtxBoostApplied_, and p4.
|
inline |
Definition at line 37 of file HepMCProduct.h.
References evt_.
Referenced by cms::PileupVertexAccumulator::accumulate(), JetAnaPythia< Jet >::analyze(), HepMCEventWriter::analyze(), CTPPSBeamSmearingValidator::analyze(), EgammaSuperClusters::analyze(), CTPPSHepMCDistributionPlotter::analyze(), CaloTowersValidation::analyze(), CTPPSAcceptancePlotter::analyze(), RivetAnalyzer::analyze(), WValidation::analyze(), BasicHepMCHeavyIonValidation::analyze(), DrellYanValidation::analyze(), BasicHepMCValidation::analyze(), BasicGenParticleValidation::analyze(), ValidationMisalignedTracker::analyze(), MBUEandQCDValidation::analyze(), CTPPSProtonReconstructionSimulationValidator::analyze(), HiggsValidation::analyze(), HFPMTHitAnalyzer::analyze(), SimAnalyzerMinbias::analyze(), CaloSimHitStudy::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), EcalPreshowerSimHitsValidation::analyze(), DuplicationChecker::analyze(), edm::TestMix::analyze(), SimplePhotonAnalyzer::analyze(), EcalSimHitsValidation::analyze(), HcalSimHitsValidation::analyze(), HOSimHitStudy::analyze(), EcalSimHitStudy::analyze(), ElectronSeedAnalyzer::analyze(), HGCalTimingAnalyzer::analyze(), EcalRecHitsValidation::analyze(), TTbar_Kinematics::analyze(), MCVerticesAnalyzer::analyze(), EcalDigisValidation::analyze(), HcalRecHitsValidation::analyze(), MCvsRecoVerticesAnalyzer::analyze(), StudyCaloGen::analyze(), HGCalTBAnalyzer::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(), BsJpsiPhiFilter::filter(), PythiaFilterMultiMother::filter(), MCParticleModuloFilter::filter(), GaussianZBeamSpotFilter::filter(), LHEFilter::filter(), PythiaFilterGammaGamma::filter(), PythiaFilterZJetWithOutBg::filter(), PythiaFilterZJet::filter(), PythiaFilterEMJetHeep::filter(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetWithOutBg::filter(), MCProcessRangeFilter::filter(), PythiaFilterHT::filter(), MCProcessFilter::filter(), PythiaHLTSoupFilter::filter(), MCSmartSingleParticleFilter::filter(), ZgMassFilter::filter(), MCSingleParticleYPt::filter(), ZgammaMassFilter::filter(), MCZll::filter(), DJpsiFilter::filter(), MCMultiParticleFilter::filter(), PythiaFilterTTBar::filter(), ComphepSingletopFilterPy8::filter(), HighMultiplicityGenFilter::filter(), MCParticlePairFilter::filter(), MCSingleParticleFilter::filter(), PythiaFilter::filter(), PythiaMomDauFilter::filter(), PythiaFilterMotherSister::filter(), PythiaProbeFilter::filter(), PythiaDauFilter::filter(), PythiaDauVFilter::filter(), FourLepFilter::filter(), CosmicGenFilterHelix::filter(), ProtonTaggerFilter::filter(), PythiaAllDauVFilter::filter(), HGCalTBCheckGunPostion::filter(), PythiaFilterIsolatedTrack::filter(), PythiaDauVFilterMatchID::filter(), MCVerticesWeight::filter(), PythiaFilterMultiAncestor::filter(), HerwigMaxPtPartonFilter::filter(), MuScleFitUtils::findGenMuFromRes(), MuScleFitMuonSelector::findGenMuFromRes(), MuScleFitUtils::findSimMuFromRes(), MuScleFitMuonSelector::findSimMuFromRes(), RunManagerMTWorker::generateEvent(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), VertexClassifier::genPrimaryVertices(), TrackClassifier::genPrimaryVertices(), MixEvtVtxGenerator::getVertex(), MCPdgIndexFilter::pass(), PFTauElecRejectionBenchmark::process(), FamosProducer::produce(), BaseEvtVtxGenerator::produce(), PassThroughEvtVtxGenerator::produce(), EcalTBMCInfoProducer::produce(), HectorProducer::produce(), BeamDivergenceVtxGenerator::produce(), MixEvtVtxGenerator::produce(), HTXSRivetProducer::produce(), TauSpinnerCMS::produce(), GenHIEventProducer::produce(), MixBoostEvtVtxGenerator::produce(), PPSSimTrackProducer::produce(), L1TkFastVertexProducer::produce(), BetaBoostEvtVtxGenerator::produce(), CTPPSSimHitProducer::produce(), EmbeddingVertexCorrector::produce(), CTPPSDirectProtonSimulation::produce(), GenParticleProducer::produce(), and WeightManager::weight().
const HepMC::GenEvent & HepMCProduct::getHepMCData | ( | ) | const |
Definition at line 119 of file HepMCProduct.cc.
References evt_.
|
inline |
Definition at line 41 of file HepMCProduct.h.
References isPBoostApplied_.
Referenced by boostToLab().
|
inline |
Definition at line 40 of file HepMCProduct.h.
References isVtxBoostApplied_.
Referenced by boostToLab().
|
inline |
Definition at line 39 of file HepMCProduct.h.
References isVtxGenApplied_.
Referenced by applyVtxGen(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), MixEvtVtxGenerator::getVertex(), and MixEvtVtxGenerator::produce().
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct && | other | ) |
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct const & | other | ) |
Definition at line 141 of file HepMCProduct.cc.
References trackingPlots::other, swap(), and groupFilesInBlocks::temp.
void HepMCProduct::swap | ( | HepMCProduct & | other | ) |
Definition at line 132 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, trackingPlots::other, and std::swap().
Referenced by operator=().
|
private |
Definition at line 50 of file HepMCProduct.h.
Referenced by addHepMCData(), applyVtxGen(), boostToLab(), GetEvent(), getHepMCData(), HepMCProduct(), swap(), and ~HepMCProduct().
|
private |
Definition at line 54 of file HepMCProduct.h.
Referenced by boostToLab(), HepMCProduct(), isPBoostApplied(), swap(), and ~HepMCProduct().
|
private |
Definition at line 53 of file HepMCProduct.h.
Referenced by boostToLab(), HepMCProduct(), isVtxBoostApplied(), swap(), and ~HepMCProduct().
|
private |
Definition at line 52 of file HepMCProduct.h.
Referenced by applyVtxGen(), HepMCProduct(), isVtxGenApplied(), swap(), and ~HepMCProduct().