51 for (DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
52 dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
89 sprintf(index,
"%s",
"_TkStatus");
90 tmpname.insert(fileName.length()-4,
index);
92 outFile.open(tmpname.c_str());
93 outFile <<
"BPIX " << (
dcsTk[0]?
"On":
"Off") << std::endl;
94 outFile <<
"FPIX " << (
dcsTk[1]?
"On":
"Off") << std::endl;
95 outFile <<
"TIBTID " << (
dcsTk[2]?
"On":
"Off") << std::endl;
96 outFile <<
"TOB " << (
dcsTk[3]?
"On":
"Off") << std::endl;
97 outFile <<
"TECp " << (
dcsTk[4]?
"On":
"Off") << std::endl;
98 outFile <<
"TECm " << (
dcsTk[5]?
"On":
"Off") << std::endl;
100 for (
int i=0;
i<5;
i++) {
106 outFile <<
"WholeTrackerOn " << (AllTkOn?
"Yes":
"No") << std::endl;
107 outFile <<
"Runnumber " <<
runnum << std::endl;
LuminosityBlockID id() const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void dumpTkDcsStatus(std::string &)
edm::ParameterSet parameters_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void analyze(const edm::Event &e, const edm::EventSetup &c)
#define DEFINE_FWK_MODULE(type)
void endRun(const edm::Run &r, const edm::EventSetup &c)
LuminosityBlockNumber_t luminosityBlock() const
void beginRun(const edm::Run &r, const edm::EventSetup &c)
edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
std::string dcsTkFileName_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
LuminosityBlockNumber_t luminosityBlock() const
TKStatus(const edm::ParameterSet &)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)