Public Types | |
enum | statsMode { considerAllME = 0, considerOnlyLumiProductME = 1 } |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
void | endJob () override |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
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 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<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) |
Private Member Functions | |
void | calcIgProfDump (Folder &) |
int | calcstats (int) |
void | dumpMemoryProfile () |
void | print () |
std::pair< unsigned int, unsigned int > | readMemoryEntry () const |
Private Attributes | |
DQMStore * | dbe_ |
bool | dumpMemHistory_ |
bool | dumpToFWJR_ |
bool | isOpenProcFileSuccessful_ |
int | maxbinsglobal_ |
std::string | maxbinsmeglobal_ |
std::string | maxbinsmesubsys_ |
int | maxbinssubsys_ |
std::vector< std::pair< time_t, unsigned int > > | memoryHistoryVector_ |
int | nbinsglobal_ |
int | nbinssubsys_ |
int | nmeglobal_ |
int | nmesubsys_ |
edm::ParameterSet | parameters_ |
std::string | pathnamematch_ |
std::stringstream | procFileName_ |
bool | runineventloop_ |
bool | runonendjob_ |
bool | runonendlumi_ |
bool | runonendrun_ |
time_t | startingTime_ |
int | statsdepth_ |
std::string | subfolder_ |
std::string | subsystem_ |
int | verbose_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Enumerator | |
---|---|
considerAllME | |
considerOnlyLumiProductME |
Definition at line 317 of file DQMStoreStats.cc.
DQMStoreStats::DQMStoreStats | ( | const edm::ParameterSet & | ps | ) |
Definition at line 413 of file DQMStoreStats.cc.
References dumpMemHistory_, dumpToFWJR_, edm::ParameterSet::getUntrackedParameter(), parameters_, pathnamematch_, runineventloop_, runonendjob_, runonendlumi_, runonendrun_, startingTime_, statsdepth_, AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, and verbose_.
|
overridedefault |
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 1057 of file DQMStoreStats.cc.
References calcstats(), considerAllME, considerOnlyLumiProductME, dumpMemoryProfile(), memoryHistoryVector_, readMemoryEntry(), and runineventloop_.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 1028 of file DQMStoreStats.cc.
References DMR_cfg::cerr, dbe_, recoMuon::in, isOpenProcFileSuccessful_, Utilities::operator, and procFileName_.
|
overrideprotected |
Definition at line 1082 of file DQMStoreStats.cc.
|
overrideprotected |
Definition at line 1052 of file DQMStoreStats.cc.
|
private |
Definition at line 441 of file DQMStoreStats.cc.
References Folder::children(), VIterator< Item >::CurrentItem(), VIterator< Item >::First(), cuy::ii, VIterator< Item >::IsDone(), Folder::mainrows(), VIterator< Item >::Next(), Folder::parents(), cms::cuda::stream, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by calcstats().
|
private |
do the stats here and produce output;
mode is coded in DQMStoreStats::statMode enum (select subsets of ME, e.g. those with getLumiFlag() == true)
Definition at line 523 of file DQMStoreStats.cc.
References DQMStoreStatsSubfolder::AddBinsD(), DQMStoreStatsSubfolder::AddBinsF(), DQMStoreStatsSubfolder::AddBinsI(), DQMStoreStatsSubfolder::AddBinsS(), calcIgProfDump(), Folder::cd(), considerAllME, considerOnlyLumiProductME, gather_cfg::cout, dbe_, dumpToFWJR_, dqmMemoryStats::float, dqm::implementation::IGetter::getAllContents(), getEmptyMetric(), createfilelist::int, edm::Service< T >::isAvailable(), maxbinsglobal_, maxbinssubsys_, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, seedmultiplicitymonitor_newtracking_cfi::nBins, nbinsglobal_, nbinssubsys_, castor_dqm_sourceclient_file_cfg::path, pathnamematch_, edm::JobReport::reportAnalysisFile(), runineventloop_, runonendjob_, runonendlumi_, runonendrun_, AlCaHLTBitMon_QueryRunRegistry::string, DQMStoreStatsSubfolder::subfolderName_, DQMStoreStatsSubsystem::subsystemName_, MonitorElementData::TH1D, MonitorElementData::TH1F, MonitorElementData::TH1I, MonitorElementData::TH1S, MonitorElementData::TH2D, MonitorElementData::TH2F, MonitorElementData::TH2I, MonitorElementData::TH2S, MonitorElementData::TH3F, MonitorElementData::TPROFILE, MonitorElementData::TPROFILE2D, and Folder::update().
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 932 of file DQMStoreStats.cc.
References gather_cfg::cout, dumpMemHistory_, isOpenProcFileSuccessful_, memoryHistoryVector_, download_sqlite_cfg::outputFile, and startingTime_.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 1098 of file DQMStoreStats.cc.
References calcstats(), considerAllME, considerOnlyLumiProductME, dumpMemoryProfile(), and runonendjob_.
|
overrideprotected |
Definition at line 1071 of file DQMStoreStats.cc.
References calcstats(), considerAllME, considerOnlyLumiProductME, dumpMemoryProfile(), and runonendlumi_.
|
overrideprotected |
Definition at line 1087 of file DQMStoreStats.cc.
References calcstats(), considerAllME, considerOnlyLumiProductME, dumpMemoryProfile(), and runonendrun_.
|
private |
Definition at line 987 of file DQMStoreStats.cc.
References gather_cfg::cout, maxbinsmesubsys_, maxbinssubsys_, nbinssubsys_, nmesubsys_, subfolder_, and subsystem_.
|
private |
read virtual memory size from /proc/<pid>/status file
Definition at line 1001 of file DQMStoreStats.cc.
References recoMuon::in, isOpenProcFileSuccessful_, procFileName_, AlCaHLTBitMon_QueryRunRegistry::string, and protons_cff::time.
Referenced by analyze().
|
private |
Definition at line 346 of file DQMStoreStats.cc.
Referenced by beginJob(), and calcstats().
|
private |
Definition at line 373 of file DQMStoreStats.cc.
Referenced by DQMStoreStats(), and dumpMemoryProfile().
|
private |
Definition at line 374 of file DQMStoreStats.cc.
Referenced by calcstats(), and DQMStoreStats().
|
private |
Definition at line 366 of file DQMStoreStats.cc.
Referenced by beginJob(), dumpMemoryProfile(), and readMemoryEntry().
|
private |
Definition at line 355 of file DQMStoreStats.cc.
Referenced by calcstats().
|
private |
Definition at line 357 of file DQMStoreStats.cc.
|
private |
Definition at line 358 of file DQMStoreStats.cc.
Referenced by print().
|
private |
Definition at line 356 of file DQMStoreStats.cc.
Referenced by calcstats(), and print().
|
private |
Definition at line 364 of file DQMStoreStats.cc.
Referenced by analyze(), and dumpMemoryProfile().
|
private |
Definition at line 351 of file DQMStoreStats.cc.
Referenced by calcstats().
|
private |
Definition at line 352 of file DQMStoreStats.cc.
Referenced by calcstats(), and print().
|
private |
Definition at line 353 of file DQMStoreStats.cc.
|
private |
Definition at line 354 of file DQMStoreStats.cc.
Referenced by print().
|
private |
Definition at line 347 of file DQMStoreStats.cc.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), and DQMStoreStats().
|
private |
Definition at line 361 of file DQMStoreStats.cc.
Referenced by calcstats(), and DQMStoreStats().
|
private |
Definition at line 367 of file DQMStoreStats.cc.
Referenced by beginJob(), and readMemoryEntry().
|
private |
Definition at line 372 of file DQMStoreStats.cc.
Referenced by analyze(), calcstats(), and DQMStoreStats().
|
private |
Definition at line 370 of file DQMStoreStats.cc.
Referenced by calcstats(), DQMStoreStats(), and endJob().
|
private |
Definition at line 371 of file DQMStoreStats.cc.
Referenced by calcstats(), DQMStoreStats(), and endLuminosityBlock().
|
private |
Definition at line 369 of file DQMStoreStats.cc.
Referenced by calcstats(), DQMStoreStats(), and endRun().
|
private |
Definition at line 365 of file DQMStoreStats.cc.
Referenced by DQMStoreStats(), and dumpMemoryProfile().
|
private |
Definition at line 360 of file DQMStoreStats.cc.
Referenced by DQMStoreStats().
|
private |
Definition at line 350 of file DQMStoreStats.cc.
Referenced by print().
|
private |
Definition at line 349 of file DQMStoreStats.cc.
Referenced by print().
|
private |
Definition at line 362 of file DQMStoreStats.cc.
Referenced by DQMStoreStats().