Public Member Functions | |
CentralityTableProducer (const edm::ParameterSet &) | |
~CentralityTableProducer () | |
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 | 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) |
Definition at line 40 of file CentralityTableProducer.cc.
|
explicit |
Definition at line 83 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 100 of file CentralityTableProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 112 of file CentralityTableProducer.cc.
References CB, gather_cfg::cout, firstRunOnly_, fs, edm::EventBase::id(), TFileDirectory::make(), makeTFileFromDB_, TFileService::mkdir(), edm::EventID::run(), and runnum_.
|
privatevirtual |
Definition at line 125 of file CentralityTableProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 131 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 170 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 66 of file CentralityTableProducer.cc.
|
private |
Definition at line 65 of file CentralityTableProducer.cc.
Referenced by endJob().
|
private |
Definition at line 55 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 54 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 60 of file CentralityTableProducer.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file CentralityTableProducer.cc.
|
private |
Definition at line 58 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 59 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 52 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 53 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 62 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 68 of file CentralityTableProducer.cc.
|
private |
Definition at line 63 of file CentralityTableProducer.cc.
Referenced by endJob(), and printBin().