#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) | |
HepMCProduct (HepMCProduct &&orig) | |
bool | isPBoostApplied () const |
bool | isVtxBoostApplied () const |
bool | isVtxGenApplied () const |
HepMCProduct & | operator= (HepMCProduct const &other) |
HepMCProduct & | operator= (HepMCProduct &&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 17 of file HepMCProduct.cc.
|
virtual |
Definition at line 20 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, and isVtxGenApplied_.
HepMCProduct::HepMCProduct | ( | HepMCProduct const & | orig | ) |
Definition at line 123 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, and trackingPlots::other.
HepMCProduct::HepMCProduct | ( | HepMCProduct && | orig | ) |
void HepMCProduct::addHepMCData | ( | HepMC::GenEvent * | evt | ) |
|
inline |
Definition at line 30 of file HepMCProduct.h.
References applyVtxGen().
Referenced by applyVtxGen().
void HepMCProduct::applyVtxGen | ( | HepMC::FourVector const & | vtxShift | ) |
Definition at line 37 of file HepMCProduct.cc.
References evt_, isVtxGenApplied(), isVtxGenApplied_, submitPVValidationJobs::t, and x.
void HepMCProduct::boostToLab | ( | TMatrixD const * | lorentz, |
std::string const & | type | ||
) |
Definition at line 58 of file HepMCProduct.cc.
References gather_cfg::cout, evt_, isPBoostApplied(), isPBoostApplied_, isVtxBoostApplied(), and isVtxBoostApplied_.
|
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(), CTPPSAcceptancePlotter::analyze(), CaloTowersValidation::analyze(), RivetAnalyzer::analyze(), WValidation::analyze(), BasicHepMCHeavyIonValidation::analyze(), DrellYanValidation::analyze(), BasicGenParticleValidation::analyze(), BasicHepMCValidation::analyze(), CTPPSProtonReconstructionSimulationValidator::analyze(), MBUEandQCDValidation::analyze(), ValidationMisalignedTracker::analyze(), HFPMTHitAnalyzer::analyze(), HiggsValidation::analyze(), SimAnalyzerMinbias::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), EcalPreshowerSimHitsValidation::analyze(), DuplicationChecker::analyze(), EcalSimHitsValidation::analyze(), CaloSimHitStudy::analyze(), edm::TestMix::analyze(), HcalSimHitsValidation::analyze(), HOSimHitStudy::analyze(), EcalSimHitStudy::analyze(), HGCalTimingAnalyzer::analyze(), TTbar_Kinematics::analyze(), MCVerticesAnalyzer::analyze(), EcalDigisValidation::analyze(), EcalRecHitsValidation::analyze(), HcalRecHitsValidation::analyze(), StudyCaloGen::analyze(), MCvsRecoVerticesAnalyzer::analyze(), HGCalTBAnalyzer::analyze(), HGCalSimHitValidation::analyze(), EcalMixingModuleValidation::analyze(), IsolatedGenParticles::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), ZeeCalibration::duringLoop(), DigiVtxPosCorrHistogramMaker::fill(), TrackerHitProducer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProducer::fillG4MC(), MuScleFitPlotter::fillGen(), cms::CosmicTIFTrigFilter::filter(), BsJpsiPhiFilter::filter(), PythiaFilterMultiMother::filter(), MCParticleModuloFilter::filter(), LHEFilter::filter(), GaussianZBeamSpotFilter::filter(), PythiaFilterGammaGamma::filter(), PythiaFilterZJet::filter(), PythiaFilterZJetWithOutBg::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(), HighMultiplicityGenFilter::filter(), ComphepSingletopFilterPy8::filter(), PythiaFilterTTBar::filter(), MCDisplacementFilter::filter(), MCParticlePairFilter::filter(), PythiaFilter::filter(), MCSingleParticleFilter::filter(), PythiaMomDauFilter::filter(), PythiaFilterMotherSister::filter(), FourLepFilter::filter(), PythiaDauFilter::filter(), PythiaDauVFilter::filter(), PythiaProbeFilter::filter(), CosmicGenFilterHelix::filter(), ProtonTaggerFilter::filter(), PythiaAllDauVFilter::filter(), HGCalTBCheckGunPostion::filter(), PythiaDauVFilterMatchID::filter(), MCVerticesWeight::filter(), PythiaFilterIsolatedTrack::filter(), PythiaFilterMultiAncestor::filter(), HerwigMaxPtPartonFilter::filter(), MuScleFitUtils::findGenMuFromRes(), MuScleFitMuonSelector::findGenMuFromRes(), MuScleFitUtils::findSimMuFromRes(), MuScleFitMuonSelector::findSimMuFromRes(), RunManagerMTWorker::generateEvent(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), VertexClassifier::genPrimaryVertices(), TrackClassifier::genPrimaryVertices(), MixEvtVtxGenerator::getVertex(), MCPdgIndexFilter::pass(), PFTauElecRejectionBenchmark::process(), BaseEvtVtxGenerator::produce(), PassThroughEvtVtxGenerator::produce(), HectorProducer::produce(), BeamDivergenceVtxGenerator::produce(), MixEvtVtxGenerator::produce(), EcalTBMCInfoProducer::produce(), HTXSRivetProducer::produce(), TauSpinnerCMS::produce(), PPSSimTrackProducer::produce(), MixBoostEvtVtxGenerator::produce(), CTPPSSimHitProducer::produce(), EmbeddingVertexCorrector::produce(), PPSDirectProtonSimulation::produce(), GenParticleProducer::produce(), and WeightManager::weight().
const HepMC::GenEvent & HepMCProduct::getHepMCData | ( | ) | const |
|
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(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), MixEvtVtxGenerator::getVertex(), and MixEvtVtxGenerator::produce().
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct const & | other | ) |
Definition at line 142 of file HepMCProduct.cc.
References trackingPlots::other, swap(), and groupFilesInBlocks::temp.
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct && | other | ) |
void HepMCProduct::swap | ( | HepMCProduct & | other | ) |
Definition at line 133 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, trackingPlots::other, and std::swap().
Referenced by HepMCProduct(), and 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().