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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 38 of file ResolutionCreator.cc.
|
explicit |
Definition at line 76 of file ResolutionCreator.cc.
References electronsToken_, etabinVals_, genEvtToken_, edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, jetsToken_, labelName_, metsToken_, minDR_, muonsToken_, nrFilled, objectType_, pTbinVals_, AlCaHLTBitMon_QueryRunRegistry::string, and tausToken_.
|
override |
Definition at line 100 of file ResolutionCreator.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 107 of file ResolutionCreator.cc.
References funct::abs(), b, bgen, HLT_FULL_cff::DeltaR, alignCSCRings::e, HI_PhotonSkim_cff::electrons, electronsToken_, reco::LeafCandidate::energy(), etabinVals_, etanrbins, TtGenEvtProducer_cfi::genEvt, genEvtToken_, edm::Event::getByToken(), hResPtEtaBin, dqmiolumiharvest::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(), DiDispStaMuonMonitor_cfi::pt, pTbinVals_, reco::LeafCandidate::status(), metsig::tau, runTauDisplay::taus, and tausToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 272 of file ResolutionCreator.cc.
References b, edm::errors::Configuration, defaults_cfi::etabins, etabinVals_, etanrbins, Exception, fResEtaBin, fResPtEtaBin, hResEtaBin, hResPtEtaBin, TFileService::make(), objectType_, defaults_cfi::ptbins, pTbinVals_, ptnrbins, and tResVar.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 425 of file ResolutionCreator.cc.
References relativeConstraints::error, PVValHelper::eta, etabinVals_, etanrbins, fResEtaBin, fResPtEtaBin, hResEtaBin, hResPtEtaBin, nrFilled, objectType_, DiDispStaMuonMonitor_cfi::pt, pTbinVals_, ptnrbins, sistrip::SpyUtilities::range(), 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.