#include <AcceptanceHistoProducer.h>
Public Member Functions | |
AcceptanceHistoProducer (const edm::ParameterSet &cfg) | |
virtual | ~AcceptanceHistoProducer () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
Private Attributes | |
DQMStore * | dbe_ |
std::string | dqmDir_ |
MonitorElement * | hEtaPosEtaNeg_ |
MonitorElement * | hPtNegEtaNeg_ |
MonitorElement * | hPtPosEtaPos_ |
MonitorElement * | hPtPosPtNeg_ |
edm::InputTag | srcGenParticles_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Produces di-muon acceptance histograms and stores them in lumi section.
Definition at line 25 of file AcceptanceHistoProducer.h.
|
explicit |
Definition at line 9 of file AcceptanceHistoProducer.cc.
|
virtual |
Definition at line 16 of file AcceptanceHistoProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 40 of file AcceptanceHistoProducer.cc.
References funct::abs(), assert(), reco::LeafCandidate::charge(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::eta(), MonitorElement::Fill(), genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByLabel(), hEtaPosEtaNeg_, hPtNegEtaNeg_, hPtPosEtaPos_, hPtPosPtNeg_, i, NULL, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::pt(), srcGenParticles_, and reco::LeafCandidate::status().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 20 of file AcceptanceHistoProducer.cc.
References DQMStore::book2DD(), dbe_, dqmDir_, hEtaPosEtaNeg_, hPtNegEtaNeg_, hPtPosEtaPos_, hPtPosPtNeg_, cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), MonitorElement::setLumiFlag(), and MonitorElement::setResetMe().
|
private |
Definition at line 42 of file AcceptanceHistoProducer.h.
Referenced by beginJob().
|
private |
Definition at line 39 of file AcceptanceHistoProducer.h.
Referenced by beginJob().
|
private |
Definition at line 45 of file AcceptanceHistoProducer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 47 of file AcceptanceHistoProducer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 46 of file AcceptanceHistoProducer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 44 of file AcceptanceHistoProducer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 40 of file AcceptanceHistoProducer.h.
Referenced by analyze().