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 |
bool | debug_ |
bool | firstRunOnly_ |
edm::Service< TFileService > | fs |
TFile * | inputTFile_ |
string | inputTFileName_ |
bool | makeDBFromTFile_ |
bool | makeTFileFromDB_ |
string | rootTag_ |
unsigned int | runnum_ |
ofstream | text_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 39 of file CentralityTableProducer.cc.
|
explicit |
Definition at line 78 of file CentralityTableProducer.cc.
References gather_cfg::cout, debug_, firstRunOnly_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTFile_, inputTFileName_, TFileService::kSharedResource, makeDBFromTFile_, makeTFileFromDB_, and rootTag_.
|
override |
Definition at line 93 of file CentralityTableProducer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 103 of file CentralityTableProducer.cc.
References CB, gather_cfg::cout, firstRunOnly_, fs, iEvent, makeTFileFromDB_, TFileService::mkdir(), runnum_, and PostProcessorHcalIsoTrack_cfi::subDir.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 115 of file CentralityTableProducer.cc.
References CentralityTable::CBin::b, CentralityTable::CBin::bin_edge, CentralityBins::bMeanOfBin(), CentralityBins::bSigmaOfBin(), CB, gather_cfg::cout, CentralityBins::getNbins(), inputTFile_, dqmiolumiharvest::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(), submitPVResolutionJobs::pool, printBin(), rootTag_, runnum_, text_, and CentralityTable::BinValues::var.
|
private |
Definition at line 149 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 62 of file CentralityTableProducer.cc.
|
private |
Definition at line 53 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 52 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 57 of file CentralityTableProducer.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 56 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer().
|
private |
Definition at line 50 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 51 of file CentralityTableProducer.cc.
Referenced by analyze(), and CentralityTableProducer().
|
private |
Definition at line 59 of file CentralityTableProducer.cc.
Referenced by CentralityTableProducer(), and endJob().
|
private |
Definition at line 64 of file CentralityTableProducer.cc.
|
private |
Definition at line 60 of file CentralityTableProducer.cc.
Referenced by endJob(), and printBin().