Public Member Functions | |
JetResolutionDemo (const edm::ParameterSet &) | |
~JetResolutionDemo () | |
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 | endJob () override |
Private Attributes | |
edm::Service< TFileService > | fs |
bool | m_debug = false |
edm::EDGetTokenT< std::vector < pat::Jet > > | m_jets_token |
std::string | m_payload |
TH2 * | m_res_vs_eta = 0 |
std::string | m_resolutions_file |
std::string | m_scale_factors_file |
bool | m_use_conddb = false |
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 25 of file JetResolutionDemo.cc.
|
explicit |
Definition at line 51 of file JetResolutionDemo.cc.
References contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_debug, m_jets_token, m_payload, m_resolutions_file, m_scale_factors_file, m_use_conddb, and AlCaHLTBitMon_QueryRunRegistry::string.
JetResolutionDemo::~JetResolutionDemo | ( | ) |
Definition at line 65 of file JetResolutionDemo.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 71 of file JetResolutionDemo.cc.
References gather_cfg::cout, DOWN, JME::JetResolution::dump(), EnergyCorrector::etas, fs, JME::JetResolution::get(), JME::JetResolutionScaleFactor::get(), JME::JetResolutionObject::Definition::getBins(), edm::Event::getByToken(), JME::JetResolutionObject::getDefinition(), JME::JetResolutionObject::getRecords(), JME::JetResolution::getResolution(), JME::JetResolution::getResolutionObject(), JME::JetResolutionScaleFactor::getScaleFactor(), i, metsig::jet, JME::JetEta, JME::JetPt, fwrapper::jets, m_debug, m_jets_token, m_payload, m_res_vs_eta, m_resolutions_file, m_scale_factors_file, m_use_conddb, TFileService::make(), alignCSCRings::r, diffTwoXMLs::r2, record, dtDQMClient_cfg::resolution, JME::JetParameters::set(), JME::JetParameters::setJetEta(), JME::JetParameters::setJetPt(), and UP.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 201 of file JetResolutionDemo.cc.
|
private |
Definition at line 43 of file JetResolutionDemo.cc.
Referenced by analyze().
|
private |
Definition at line 36 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().
|
private |
Definition at line 34 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().
|
private |
Definition at line 39 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().
|
private |
Definition at line 45 of file JetResolutionDemo.cc.
Referenced by analyze().
|
private |
Definition at line 40 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().
|
private |
Definition at line 41 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().
|
private |
Definition at line 37 of file JetResolutionDemo.cc.
Referenced by analyze(), and JetResolutionDemo().