#include <EmbeddingKineReweightNtupleProducer.h>
Classes | |
struct | branchEntryType |
Private Types | |
typedef std::map< std::string, branchEntryType > | branchMap |
typedef std::vector < edm::InputTag > | vInputTag |
Private Member Functions | |
void | addBranch_EnPxPyPz (const std::string &) |
void | addBranch_MEtResProjections (const std::string &) |
void | addBranchF (const std::string &) |
void | addBranchI (const std::string &) |
void | printBranches (std::ostream &) |
void | setValue_EnPxPyPz (const std::string &, const reco::Candidate::LorentzVector &) |
void | setValue_MEtResProjections (const std::string &, const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector &) |
void | setValueF (const std::string &, double) |
void | setValueI (const std::string &, int) |
Static Private Attributes | |
static int | verbosity_ = 0 |
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) |
Produce Ntuple for computing embeddingKineReweight LUTs
Definition at line 31 of file EmbeddingKineReweightNtupleProducer.h.
|
private |
Definition at line 82 of file EmbeddingKineReweightNtupleProducer.h.
|
private |
Definition at line 72 of file EmbeddingKineReweightNtupleProducer.h.
EmbeddingKineReweightNtupleProducer::EmbeddingKineReweightNtupleProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 28 of file EmbeddingKineReweightNtupleProducer.cc.
References edm::ParameterSet::getParameter(), srcGenCaloMEt_, srcGenDiTaus_, srcGenFilterInfo_, srcGenParticles_, srcGenPFMEt_, srcRecCaloMEt_, srcRecJets_, srcRecLeg1_, srcRecLeg2_, srcRecPFMEt_, srcSelectedMuons_, and srcWeights_.
EmbeddingKineReweightNtupleProducer::~EmbeddingKineReweightNtupleProducer | ( | ) |
Definition at line 51 of file EmbeddingKineReweightNtupleProducer.cc.
|
private |
Definition at line 361 of file EmbeddingKineReweightNtupleProducer.cc.
References addBranchF(), addBranchI(), python.multivaluedict::append(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginJob().
|
private |
Definition at line 374 of file EmbeddingKineReweightNtupleProducer.cc.
References addBranchF(), python.multivaluedict::append(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginJob().
|
private |
Definition at line 302 of file EmbeddingKineReweightNtupleProducer.cc.
References assert(), branches_, mergeVDriftHistosByStation::name, ntuple_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addBranch_EnPxPyPz(), addBranch_MEtResProjections(), and beginJob().
|
private |
Definition at line 312 of file EmbeddingKineReweightNtupleProducer.cc.
References assert(), branches_, mergeVDriftHistosByStation::name, ntuple_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addBranch_EnPxPyPz(), and beginJob().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 116 of file EmbeddingKineReweightNtupleProducer.cc.
References Abs(), assert(), reco::Candidate::begin(), branches_, dtNoiseDBValidation_cfg::cerr, reco::Candidate::charge(), reco::CompositeCandidate::daughter(), reco::Candidate::end(), genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByLabel(), getSelMuons(), getTheMuMinus(), getTheMuPlus(), edm::RefToBase< T >::isNonnull(), edm::InputTag::label(), ntuple_, reco::CompositeCandidate::numberOfDaughters(), reco::Candidate::p4(), reco::LeafCandidate::p4(), setValue_EnPxPyPz(), setValue_MEtResProjections(), setValueF(), setValueI(), srcGenCaloMEt_, srcGenDiTaus_, srcGenFilterInfo_, srcGenParticles_, srcGenPFMEt_, srcRecCaloMEt_, srcRecJets_, srcRecLeg1_, srcRecLeg2_, srcRecPFMEt_, srcSelectedMuons_, srcWeights_, AlCaHLTBitMon_QueryRunRegistry::string, and histoStyle::weight.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 56 of file EmbeddingKineReweightNtupleProducer.cc.
References addBranch_EnPxPyPz(), addBranch_MEtResProjections(), addBranchF(), addBranchI(), edm::InputTag::label(), TFileService::make(), ntuple_, srcGenFilterInfo_, srcWeights_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 322 of file EmbeddingKineReweightNtupleProducer.cc.
References branches_, and moduleLabel_.
|
private |
Definition at line 384 of file EmbeddingKineReweightNtupleProducer.cc.
References python.multivaluedict::append(), setValueF(), setValueI(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 397 of file EmbeddingKineReweightNtupleProducer.cc.
References python.multivaluedict::append(), setValueF(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 333 of file EmbeddingKineReweightNtupleProducer.cc.
References branches_, gather_cfg::cout, edm::hlt::Exception, relativeConstraints::value, and verbosity_.
Referenced by analyze(), setValue_EnPxPyPz(), and setValue_MEtResProjections().
|
private |
Definition at line 345 of file EmbeddingKineReweightNtupleProducer.cc.
References branches_, gather_cfg::cout, edm::hlt::Exception, relativeConstraints::value, and verbosity_.
Referenced by analyze(), and setValue_EnPxPyPz().
|
private |
Definition at line 83 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by addBranchF(), addBranchI(), analyze(), printBranches(), setValueF(), and setValueI().
|
private |
Definition at line 55 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and printBranches().
|
private |
Definition at line 85 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by addBranchF(), addBranchI(), analyze(), and beginJob().
|
private |
Definition at line 67 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 57 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 74 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), beginJob(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 59 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 69 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 68 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 65 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 62 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 63 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 70 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 60 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), and EmbeddingKineReweightNtupleProducer().
|
private |
Definition at line 73 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by analyze(), beginJob(), and EmbeddingKineReweightNtupleProducer().
|
staticprivate |
Definition at line 87 of file EmbeddingKineReweightNtupleProducer.h.
Referenced by setValueF(), and setValueI().