Public Member Functions | |
CentralityTableProducer (const edm::ParameterSet &) | |
~CentralityTableProducer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::EventSetup &) |
virtual void | endJob () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 112 of file CentralityTableProducer.cc.
References CB, gather_cfg::cout, debug_, firstRunOnly_, fs, edm::EventBase::id(), TFileDirectory::make(), makeTFileFromDB_, TFileDirectory::mkdir(), CentralityProvider::print(), edm::EventID::run(), and runnum_.
|
privatevirtual |
Definition at line 127 of file CentralityTableProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 133 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 172 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 analyze(), and 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().