#include <yetkin/CentralityTableProducer/src/CentralityTableProducer.cc>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginRun (const edm::EventSetup &) |
virtual void | endJob () override |
void | printBin (const CentralityTable::CBin *) |
Private Attributes | |
const CentralityBins * | CB |
CentralityTable * | CT |
bool | debug_ |
bool | firstRunOnly_ |
edm::Service< TFileService > | fs |
edm::ESHandle< CentralityTable > | inputDB_ |
TFile * | inputTFile_ |
string | inputTFileName_ |
bool | makeDBFromTFile_ |
bool | makeTFileFromDB_ |
string | rootTag_ |
unsigned int | runnum_ |
ofstream | text_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 57 of file CentralityTableProducer.cc.
|
explicit |
Definition at line 100 of file CentralityTableProducer.cc.
References gather_cfg::cout, debug_, firstRunOnly_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTFile_, inputTFileName_, makeDBFromTFile_, makeTFileFromDB_, and rootTag_.
CentralityTableProducer::~CentralityTableProducer | ( | ) |
Definition at line 117 of file CentralityTableProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 129 of file CentralityTableProducer.cc.
References CB, gather_cfg::cout, debug_, firstRunOnly_, fs, edm::EventBase::id(), TFileDirectory::make(), makeTFileFromDB_, TFileService::mkdir(), CentralityProvider::print(), edm::EventID::run(), and runnum_.
|
privatevirtual |
Definition at line 144 of file CentralityTableProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file CentralityTableProducer.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), CentralityTable::CBin::b, cond::service::PoolDBOutputService::beginOfTime(), CentralityTable::CBin::bin_edge, CentralityBins::bMeanOfBin(), CentralityBins::bSigmaOfBin(), CB, gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), CT, cond::service::PoolDBOutputService::currentTime(), cond::service::PoolDBOutputService::endOfTime(), CentralityBins::getNbins(), inputTFile_, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), j, CentralityBins::lowEdgeOfBin(), CentralityTable::m_table, makeDBFromTFile_, CentralityTable::BinValues::mean, CentralityTable::CBin::n_coll, CentralityTable::CBin::n_hard, CentralityTable::CBin::n_part, CentralityBins::NcollMeanOfBin(), CentralityBins::NcollSigmaOfBin(), CentralityBins::NhardMeanOfBin(), CentralityBins::NhardSigmaOfBin(), CentralityBins::NpartMeanOfBin(), CentralityBins::NpartSigmaOfBin(), fetchall_from_DQM_v2::pool, printBin(), rootTag_, runnum_, text_, and CentralityTable::BinValues::var.
|
private |
Definition at line 189 of file CentralityTableProducer.cc.
References CentralityTable::CBin::b, CentralityTable::CBin::bin_edge, gather_cfg::cout, CentralityTable::BinValues::mean, CentralityTable::CBin::n_coll, CentralityTable::CBin::n_hard, CentralityTable::CBin::n_part, text_, and CentralityTable::BinValues::var.
Referenced by endJob().
|
private |
Definition at line 83 of file CentralityTableProducer.cc.
|
private |
Definition at line 82 of file CentralityTableProducer.cc.
Referenced by endJob().
|
private |
Definition at line 72 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 71 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 77 of file CentralityTableProducer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file CentralityTableProducer.cc.
|
private |
Definition at line 75 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 76 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 69 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 70 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 79 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 85 of file CentralityTableProducer.cc.
|
private |
Definition at line 80 of file CentralityTableProducer.cc.
Referenced by endJob(), and printBin().