#include <BasicGenParticleValidation.h>
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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_.
|
virtual |
Definition at line 30 of file BasicGenParticleValidation.cc.
|
overridevirtual |
Gathering the HepMCProduct information
Definition at line 69 of file BasicGenParticleValidation.cc.
References gather_cfg::cout, spr::deltaEta, stringResolutionProvider_cfi::eta, MonitorElement::Fill(), alignBH_cfg::fixed, genJetCentral, genjetCollectionToken_, genJetDeltaEtaMin, genJetEnergy, genJetEta, genJetMult, genJetPhi, genJetPt, genJetPto1, genJetPto10, genJetPto100, patPFMETCorrections_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, mps_update::theIndex, verbosity_, WeightManager::weight(), mps_merge::weight, and wmanager_.
|
overridevirtual |
Setting the DQM top directories
Booking the ME's
multiplicity
Implements DQMEDAnalyzer.
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().