Public Types | |
typedef reco::Particle::LorentzVector | LorentzVector |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Member Functions | |
JetCorrectorDemo (const edm::ParameterSet &) | |
~JetCorrectorDemo () | |
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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
Private Attributes | |
edm::Service< TFileService > | fs |
bool | mDebug |
double | mEtaMax |
double | mEtaMin |
TH2F * | mJECvsEta |
TH2F * | mJECvsPt |
edm::EDGetTokenT < reco::JetCorrector > | mJetCorrector |
int | mNGraphPoints |
int | mNHistoPoints |
std::string | mPayloadName |
double | mPtMax |
double | mPtMin |
TRandom * | mRandom |
TGraph * | mUncCorPt [100] |
std::string | mUncertaintyFile |
std::string | mUncertaintyTag |
TGraph * | mUncEta [100] |
bool | mUseCondDB |
std::vector< double > | mVEta |
TGraphErrors * | mVGraphCorPt [100] |
TGraphErrors * | mVGraphEta [100] |
TGraphErrors * | mVGraphPt [100] |
std::vector< double > | mVPt |
double | veta [100][1000] |
double | vex_eta [100][1000] |
double | vex_pt [100][1000] |
double | vjec_eta [100][1000] |
double | vjec_pt [100][1000] |
double | vjecUnc_eta [100][1000] |
double | vjecUnc_pt [100][1000] |
double | vpt [100][1000] |
double | vptcor [100][1000] |
double | vUnc_eta [100][1000] |
double | vUnc_pt [100][1000] |
Additional Inherited Members | |
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 28 of file JetCorrectorDemo.cc.
Definition at line 32 of file JetCorrectorDemo.cc.
|
explicit |
Definition at line 57 of file JetCorrectorDemo.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mDebug, mEtaMax, mEtaMin, mJetCorrector, mNGraphPoints, mNHistoPoints, mPayloadName, mPtMax, mPtMin, mUncertaintyFile, mUncertaintyTag, mUseCondDB, mVEta, mVPt, and AlCaHLTBitMon_QueryRunRegistry::string.
JetCorrectorDemo::~JetCorrectorDemo | ( | ) |
Definition at line 75 of file JetCorrectorDemo.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 80 of file JetCorrectorDemo.cc.
References mvaPFMET_cff::corrector, gather_cfg::cout, alignCSCRings::e, eta(), edm::FileInPath::fullPath(), edm::EventSetup::get(), edm::Event::getByToken(), JetCorrectionUncertainty::getUncertainty(), i, patTestJEC_cfi::jec, mDebug, mEtaMax, mEtaMin, mJECvsEta, mJECvsPt, mJetCorrector, mNGraphPoints, mNHistoPoints, mPayloadName, mPtMax, mPtMin, mRandom, mUncertaintyFile, mUncertaintyTag, mUseCondDB, mVEta, mVPt, funct::pow(), JetCorrectionUncertainty::setJetEta(), JetCorrectionUncertainty::setJetPt(), tmp, veta, vex_eta, vex_pt, vjec_eta, vjec_pt, vjecUnc_eta, vjecUnc_pt, vpt, vptcor, vUnc_eta, and vUnc_pt.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 187 of file JetCorrectorDemo.cc.
References edm::hlt::Exception, fs, TFileService::make(), mEtaMax, mEtaMin, mJECvsEta, mJECvsPt, mNGraphPoints, mPtMax, mPtMin, mRandom, mVEta, and mVPt.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 201 of file JetCorrectorDemo.cc.
References fs, TFileService::make(), mNGraphPoints, mUncCorPt, mUncEta, mVEta, mVGraphCorPt, mVGraphEta, mVGraphPt, mVPt, mergeVDriftHistosByStation::name, veta, vex_eta, vex_pt, vjec_eta, vjec_pt, vjecUnc_eta, vjecUnc_pt, vpt, vptcor, vUnc_eta, and vUnc_pt.
|
private |
Definition at line 47 of file JetCorrectorDemo.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 41 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 43 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), and JetCorrectorDemo().
|
private |
Definition at line 43 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), and JetCorrectorDemo().
|
private |
Definition at line 48 of file JetCorrectorDemo.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 48 of file JetCorrectorDemo.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 39 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 42 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().
|
private |
Definition at line 42 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 40 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 43 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), and JetCorrectorDemo().
|
private |
Definition at line 43 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), and JetCorrectorDemo().
|
private |
Definition at line 51 of file JetCorrectorDemo.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file JetCorrectorDemo.cc.
Referenced by endJob().
|
private |
Definition at line 40 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 40 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 50 of file JetCorrectorDemo.cc.
Referenced by endJob().
|
private |
Definition at line 41 of file JetCorrectorDemo.cc.
Referenced by analyze(), and JetCorrectorDemo().
|
private |
Definition at line 44 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().
|
private |
Definition at line 49 of file JetCorrectorDemo.cc.
Referenced by endJob().
|
private |
Definition at line 49 of file JetCorrectorDemo.cc.
Referenced by endJob().
|
private |
Definition at line 49 of file JetCorrectorDemo.cc.
Referenced by endJob().
|
private |
Definition at line 44 of file JetCorrectorDemo.cc.
Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().
|
private |
Definition at line 45 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.
|
private |
Definition at line 45 of file JetCorrectorDemo.cc.
|
private |
Definition at line 45 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.
|
private |
Definition at line 45 of file JetCorrectorDemo.cc.
|
private |
Definition at line 45 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.
|
private |
Definition at line 46 of file JetCorrectorDemo.cc.