Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
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 |
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 | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 40 of file CentralityTableProducer.cc.
|
explicit |
Definition at line 82 of file CentralityTableProducer.cc.
References gather_cfg::cout, debug_, firstRunOnly_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTFile_, inputTFileName_, makeDBFromTFile_, makeTFileFromDB_, and rootTag_.
|
override |
Definition at line 99 of file CentralityTableProducer.cc.
|
overrideprivate |
Definition at line 111 of file CentralityTableProducer.cc.
References CB, gather_cfg::cout, firstRunOnly_, fs, edm::EventBase::id(), TFileDirectory::make(), makeTFileFromDB_, TFileService::mkdir(), edm::EventID::run(), runnum_, and RecoMuonValidator_cff::subDir.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 125 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(), 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(), edmIntegrityCheck::pool, printBin(), rootTag_, runnum_, text_, and CentralityTable::BinValues::var.
|
private |
Definition at line 164 of file CentralityTableProducer.cc.
References CentralityTable::CBin::b, CentralityTable::CBin::bin_edge, gather_cfg::cout, DEFINE_FWK_MODULE, 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 65 of file CentralityTableProducer.cc.
|
private |
Definition at line 64 of file CentralityTableProducer.cc.
Referenced by endJob().
|
private |
Definition at line 54 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 53 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 59 of file CentralityTableProducer.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file CentralityTableProducer.cc.
|
private |
Definition at line 57 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 58 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 51 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 52 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 61 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 67 of file CentralityTableProducer.cc.
|
private |
Definition at line 62 of file CentralityTableProducer.cc.
Referenced by endJob(), and printBin().