53 theDbe->setCurrentFolder(
"DT/EventInfo");
54 totalDAQFraction = theDbe->bookFloat(
"DAQSummary");
55 totalDAQFraction->Fill(-1);
58 daqMap = theDbe->book2D(
"DAQSummaryMap",
"DT Certification Summary Map",12,1,13,5,-2,3);
59 daqMap->setAxisTitle(
"sector",1);
60 daqMap->setAxisTitle(
"wheel",2);
64 theDbe->setCurrentFolder(
"DT/EventInfo/DAQContents");
65 for(
int wheel = -2; wheel != 3; ++wheel) {
67 streams <<
"DT_Wheel" << wheel;
68 daqFractions[wheel] = theDbe->bookFloat(streams.str());
69 daqFractions[wheel]->Fill(-1);
83 if(setup.
find(recordKey) != 0) {
85 totalDAQFraction->Fill(0.);
86 daqFractions[-2]->Fill(0.);
87 daqFractions[-1]->Fill(0.);
88 daqFractions[-0]->Fill(0.);
89 daqFractions[1]->Fill(0.);
90 daqFractions[2]->Fill(0.);
97 vector<int> fedInIDs = sumFED->m_fed_in;
105 for(vector<int>::const_iterator fed = fedInIDs.begin();
106 fed != fedInIDs.end();
109 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
115 for(
int ros = 1; ros != 13; ++ros) {
116 if(!mapping->readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
117 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
118 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
119 daqFractions[wheel]->Fill(daqFractions[wheel]->getFloatValue() + 1./12.);
120 totalDAQFraction->Fill(totalDAQFraction->getFloatValue() + 1./60.);
121 daqMap->Fill(sector,wheel);
126 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
127 totalDAQFraction->Fill(-1);
128 for(
int wheel = -2; wheel != 3; ++wheel) {
129 daqFractions[wheel]->Fill(-1);
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &setup)
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
virtual ~DTDAQInfo()
Destructor.
DTDAQInfo(const edm::ParameterSet &pset)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")