14 tmpname.insert(dcsTkFileName_.length() - 4,
"_TkStatus");
22 int nthlumi =
iEvent.luminosityBlock();
23 if (nthlumi > lastlumi_) {
27 iEvent.getByToken(dcsStatus_, dcsStatus);
29 std::array<bool, 6> dcsTk;
30 for (
auto&
e : dcsTk) {
34 for (
auto const&
status : *dcsStatus) {
48 dumpTkDcsStatus(dcsTkFileName_,
iEvent.run(), dcsTk);
57 outFile <<
"BPIX " << (dcsTk[0] ?
"On" :
"Off") << std::endl;
58 outFile <<
"FPIX " << (dcsTk[1] ?
"On" :
"Off") << std::endl;
59 outFile <<
"TIBTID " << (dcsTk[2] ?
"On" :
"Off") << std::endl;
60 outFile <<
"TOB " << (dcsTk[3] ?
"On" :
"Off") << std::endl;
61 outFile <<
"TECp " << (dcsTk[4] ?
"On" :
"Off") << std::endl;
62 outFile <<
"TECm " << (dcsTk[5] ?
"On" :
"Off") << std::endl;
64 for (
auto status : dcsTk) {
70 outFile <<
"WholeTrackerOn " << (AllTkOn ?
"Yes" :
"No") << std::endl;
71 outFile <<
"Runnumber " << runnum << std::endl;