#include <BasicGenParticleValidation.h>
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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_.
|
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().