#include <BasicGenParticleValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
BasicGenParticleValidation (const edm::ParameterSet &) | |
void | bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override |
bool | matchParticles (const HepMC::GenParticle *&, const reco::GenParticle *&) |
~BasicGenParticleValidation () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Definition at line 37 of file BasicGenParticleValidation.h.
|
explicit |
Definition at line 15 of file BasicGenParticleValidation.cc.
References genjetCollection_, genjetCollectionToken_, genparticleCollection_, genparticleCollectionToken_, hepmcCollection_, and hepmcCollectionToken_.
|
override |
Definition at line 30 of file BasicGenParticleValidation.cc.
|
override |
Gathering the HepMCProduct information
Definition at line 69 of file BasicGenParticleValidation.cc.
References gather_cfg::cout, spr::deltaEta, PVValHelper::eta, MonitorElement::Fill(), alignBH_cfg::fixed, genJetCentral, genjetCollectionToken_, genJetDeltaEtaMin, genJetEnergy, genJetEta, genJetMult, genJetPhi, genJetPt, genJetPto1, genJetPto10, genJetPto100, ttbarCategorization_cff::genJets, genJetTotPt, genMatched, genparticleCollectionToken_, GenHFHadronMatcher_cfi::genParticles, genPMultiplicity, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), hepmcCollectionToken_, mps_fire::i, reco::btau::jetEta, matchedResolution, matchParticles(), min(), multipleMatching, nEvt, HadronAndPartonSelector_cfi::particles, EnergyCorrector::pt, rho, verbosity_, WeightManager::weight(), mps_merge::weight, and wmanager_.
|
override |
Setting the DQM top directories
Booking the ME's
multiplicity
Definition at line 34 of file BasicGenParticleValidation.cc.
References DQMHelper::book1dHisto(), genJetCentral, genJetDeltaEtaMin, genJetEnergy, genJetEta, genJetMult, genJetPhi, genJetPt, genJetPto1, genJetPto10, genJetPto100, genJetTotPt, genMatched, genPMultiplicity, matchedResolution, multipleMatching, nEvt, and DQMStore::IBooker::setCurrentFolder().
bool BasicGenParticleValidation::matchParticles | ( | const HepMC::GenParticle *& | hepmcP, |
const reco::GenParticle *& | recoP | ||
) |
Definition at line 229 of file BasicGenParticleValidation.cc.
References matchPr_, reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by analyze().
|
private |
Definition at line 78 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 51 of file BasicGenParticleValidation.h.
Referenced by BasicGenParticleValidation().
|
private |
Definition at line 84 of file BasicGenParticleValidation.h.
Referenced by analyze(), and BasicGenParticleValidation().
|
private |
Definition at line 73 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 69 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 70 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 75 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 77 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 62 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 50 of file BasicGenParticleValidation.h.
Referenced by BasicGenParticleValidation().
|
private |
Definition at line 83 of file BasicGenParticleValidation.h.
Referenced by analyze(), and BasicGenParticleValidation().
|
private |
Definition at line 61 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 49 of file BasicGenParticleValidation.h.
Referenced by BasicGenParticleValidation().
|
private |
Definition at line 82 of file BasicGenParticleValidation.h.
Referenced by analyze(), and BasicGenParticleValidation().
|
private |
Definition at line 64 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 52 of file BasicGenParticleValidation.h.
Referenced by matchParticles().
|
private |
Definition at line 63 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 57 of file BasicGenParticleValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 54 of file BasicGenParticleValidation.h.
Referenced by analyze().
|
private |
Definition at line 48 of file BasicGenParticleValidation.h.
Referenced by analyze().