Public Member Functions | |
ResolutionCreator (const edm::ParameterSet &) | |
~ResolutionCreator () | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual 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(), HLT_25ns10e33_v2_cff::InputTag, jetsToken_, labelName_, metsToken_, minDR_, muonsToken_, nrFilled, objectType_, pTbinVals_, AlCaHLTBitMon_QueryRunRegistry::string, and tausToken_.
ResolutionCreator::~ResolutionCreator | ( | ) |
Definition at line 99 of file ResolutionCreator.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 110 of file ResolutionCreator.cc.
References funct::abs(), b, bgen, HLT_25ns10e33_v2_cff::DeltaR, alignCSCRings::e, HI_PhotonSkim_cff::electrons, electronsToken_, reco::LeafCandidate::energy(), etabinVals_, etanrbins, HcalObjRepresent::Fill(), TtGenEvtProducer_cfi::genEvt, genEvtToken_, edm::Event::getByToken(), hResPtEtaBin, j, fwrapper::jets, jetsToken_, visualization-live-secondInstance_cfg::m, metsToken_, minDR_, reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::mother(), patZpeak::muons, muonsToken_, nrFilled, reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::numberOfMothers(), objectType_, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), hitfit::phidiff(), EnergyCorrector::pt, pTbinVals_, reco::LeafCandidate::status(), metsig::tau, 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 relativeConstraints::error, eta, etabinVals_, etanrbins, fResEtaBin, fResPtEtaBin, hResEtaBin, hResPtEtaBin, 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.