#include <TKStatus.h>
Public Member Functions | |
TKStatus (const edm::ParameterSet &) | |
~TKStatus () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 &context) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
void | endJob (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
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) |
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) |
Private Member Functions | |
void | dumpTkDcsStatus (std::string &) |
Private Attributes | |
int | beginLumi_ |
bool | checkStatus_ |
int | countEvt_ |
int | countLumi_ |
edm::EDGetTokenT< DcsStatusCollection > | dcsStatus_ |
bool | dcsTk [6] |
std::string | dcsTkFileName_ |
bool | debug_ |
int | endLumi_ |
std::ofstream | fasciiDcsTkFile |
edm::TimeValue_t | ftimestamp |
int | lastlumi_ |
edm::ParameterSet | parameters_ |
std::time_t | refTime |
int | runnum |
std::time_t | tmpTime |
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 &) |
Definition at line 25 of file TKStatus.h.
TKStatus::TKStatus | ( | const edm::ParameterSet & | ps | ) |
Definition at line 10 of file TKStatus.cc.
References countLumi_, dcsStatus_, dcsTk, dcsTkFileName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, lastlumi_, parameters_, runnum, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 21 of file TKStatus.cc.
|
overrideprotected |
Definition at line 44 of file TKStatus.cc.
References DcsStatus::BPIX, checkStatus_, dcsStatus_, dcsTk, dcsTkFileName_, dumpTkDcsStatus(), DcsStatus::FPIX, edm::Event::getByToken(), mps_fire::i, DcsStatus::TECm, DcsStatus::TECp, DcsStatus::TIBTID, and DcsStatus::TOB.
|
overrideprotectedvirtual |
|
overrideprotected |
Definition at line 35 of file TKStatus.cc.
References checkStatus_, lastlumi_, and edm::LuminosityBlockBase::luminosityBlock().
|
overrideprotected |
|
private |
Definition at line 85 of file TKStatus.cc.
References dcsTk, DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::fileName, mps_fire::i, diffTreeTool::index, GetRecoTauVFromDQM_MC_cff::outFile, runnum, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
protected |
Definition at line 79 of file TKStatus.cc.
|
overrideprotected |
Definition at line 66 of file TKStatus.cc.
References edm::LuminosityBlockBase::id(), lastlumi_, and edm::LuminosityBlockID::luminosityBlock().
|
overrideprotected |
Definition at line 74 of file TKStatus.cc.
|
private |
Definition at line 63 of file TKStatus.h.
|
private |
Definition at line 60 of file TKStatus.h.
Referenced by analyze(), and beginLuminosityBlock().
|
private |
Definition at line 61 of file TKStatus.h.
|
private |
Definition at line 62 of file TKStatus.h.
Referenced by TKStatus().
|
private |
Definition at line 57 of file TKStatus.h.
Referenced by analyze(), and TKStatus().
|
private |
Definition at line 66 of file TKStatus.h.
Referenced by analyze(), dumpTkDcsStatus(), and TKStatus().
|
private |
Definition at line 55 of file TKStatus.h.
Referenced by analyze(), and TKStatus().
|
private |
Definition at line 59 of file TKStatus.h.
|
private |
Definition at line 64 of file TKStatus.h.
|
private |
Definition at line 56 of file TKStatus.h.
|
private |
Definition at line 72 of file TKStatus.h.
|
private |
Definition at line 65 of file TKStatus.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and TKStatus().
|
private |
Definition at line 54 of file TKStatus.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), and TKStatus().
|
private |
Definition at line 71 of file TKStatus.h.
|
private |
Definition at line 73 of file TKStatus.h.
Referenced by beginRun(), dumpTkDcsStatus(), and TKStatus().
|
private |
Definition at line 70 of file TKStatus.h.