#include <TKStatus.h>
Public Member Functions | |
TKStatus (const edm::ParameterSet &) | |
~TKStatus () | |
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 () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | endJob (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
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 |
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(), i, lastlumi_, parameters_, runnum, and AlCaHLTBitMon_QueryRunRegistry::string.
TKStatus::~TKStatus | ( | ) |
Definition at line 21 of file TKStatus.cc.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 44 of file TKStatus.cc.
References DcsStatus::BPIX, checkStatus_, dcsStatus_, dcsTk, dcsTkFileName_, dumpTkDcsStatus(), DcsStatus::FPIX, edm::Event::getByToken(), i, DcsStatus::TECm, DcsStatus::TECp, DcsStatus::TIBTID, and DcsStatus::TOB.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 35 of file TKStatus.cc.
References checkStatus_, lastlumi_, and edm::LuminosityBlockBase::luminosityBlock().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 30 of file TKStatus.cc.
References edm::RunBase::run(), and runnum.
|
private |
Definition at line 85 of file TKStatus.cc.
References dcsTk, MillePedeFileConverter_cfg::fileName, i, cmsHarvester::index, GetRecoTauVFromDQM_MC_cff::outFile, runnum, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
protected |
Definition at line 79 of file TKStatus.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 66 of file TKStatus.cc.
References edm::LuminosityBlockBase::id(), lastlumi_, and edm::LuminosityBlockID::luminosityBlock().
|
protectedvirtual |
|
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.