Public Member Functions | |
ResolutionCreator (const edm::ParameterSet &) | |
~ResolutionCreator () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
edm::EDGetTokenT< std::vector< pat::Electron > > | electronsToken_ |
std::vector< double > | etabinVals_ |
int | etanrbins |
TF1 * | fResEtaBin [10][20] |
TF1 * | fResPtEtaBin [10][20][20] |
edm::EDGetTokenT< TtGenEvent > | genEvtToken_ |
TH1F * | hResEtaBin [10][20] |
TH1F * | hResPtEtaBin [10][20][20] |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetsToken_ |
std::string | labelName_ |
int | matchingAlgo_ |
double | maxDist_ |
edm::EDGetTokenT< std::vector< pat::MET > > | metsToken_ |
double | minDR_ |
edm::EDGetTokenT< std::vector< pat::Muon > > | muonsToken_ |
int | nrFilled |
std::string | objectType_ |
std::vector< double > | pTbinVals_ |
int | ptnrbins |
edm::EDGetTokenT< std::vector< pat::Tau > > | tausToken_ |
TTree * | tResVar |
bool | useDeltaR_ |
bool | useMaxDist_ |
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) |
Definition at line 38 of file ResolutionCreator.cc.
|
explicit |
Definition at line 77 of file ResolutionCreator.cc.
References electronsToken_, etabinVals_, genEvtToken_, edm::ParameterSet::getParameter(), jetsToken_, labelName_, metsToken_, minDR_, muonsToken_, nrFilled, objectType_, pTbinVals_, AlCaHLTBitMon_QueryRunRegistry::string, and tausToken_.
|
override |
Definition at line 99 of file ResolutionCreator.cc.
|
overrideprivate |
Definition at line 110 of file ResolutionCreator.cc.
References funct::abs(), b, bgen, HiRegitMuonDetachedTripletStep_cff::DeltaR, MillePedeFileConverter_cfg::e, ModuleToSequenceAssign::Ecal, electrons_cff::electrons, electronsToken_, reco::LeafCandidate::energy(), etabinVals_, etanrbins, HcalObjRepresent::Fill(), TtGenEvtProducer_cfi::genEvt, genEvtToken_, edm::Event::getByToken(), hResPtEtaBin, TtGenEvent::isSemiLeptonic(), fwrapper::jets, jetsToken_, funct::m, TtSemiLepSignalSelMVAComputer_cfi::mets, metsToken_, minDR_, reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::mother(), extraflags_cff::muons, muonsToken_, nrFilled, reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::numberOfMothers(), objectType_, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), TopGenEvent::particles(), reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), hitfit::phidiff(), EnergyCorrector::pt, pTbinVals_, TtGenEvent::singleNeutrino(), reco::LeafCandidate::status(), metsig::tau, nano_cff::taus, and tausToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 276 of file ResolutionCreator.cc.
References b, edm::errors::Configuration, etabinVals_, etanrbins, Exception, fResEtaBin, fResPtEtaBin, hResEtaBin, hResPtEtaBin, TFileService::make(), objectType_, pTbinVals_, ptnrbins, and tResVar.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 351 of file ResolutionCreator.cc.
References DEFINE_FWK_MODULE, relativeConstraints::error, PVValHelper::eta, etabinVals_, etanrbins, fResEtaBin, fResPtEtaBin, hResEtaBin, hResPtEtaBin, createfilelist::int, nrFilled, objectType_, EnergyCorrector::pt, pTbinVals_, ptnrbins, tResVar, and relativeConstraints::value.
|
private |
Definition at line 51 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 56 of file ResolutionCreator.cc.
Referenced by analyze(), beginJob(), endJob(), and ResolutionCreator().
|
private |
Definition at line 62 of file ResolutionCreator.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 67 of file ResolutionCreator.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 66 of file ResolutionCreator.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 49 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 69 of file ResolutionCreator.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 68 of file ResolutionCreator.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 53 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 50 of file ResolutionCreator.cc.
Referenced by ResolutionCreator().
|
private |
Definition at line 58 of file ResolutionCreator.cc.
|
private |
Definition at line 61 of file ResolutionCreator.cc.
|
private |
Definition at line 54 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 57 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 52 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 63 of file ResolutionCreator.cc.
Referenced by analyze(), endJob(), and ResolutionCreator().
|
private |
Definition at line 50 of file ResolutionCreator.cc.
Referenced by analyze(), beginJob(), endJob(), and ResolutionCreator().
|
private |
Definition at line 56 of file ResolutionCreator.cc.
Referenced by analyze(), beginJob(), endJob(), and ResolutionCreator().
|
private |
Definition at line 62 of file ResolutionCreator.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 55 of file ResolutionCreator.cc.
Referenced by analyze(), and ResolutionCreator().
|
private |
Definition at line 70 of file ResolutionCreator.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 60 of file ResolutionCreator.cc.
|
private |
Definition at line 59 of file ResolutionCreator.cc.