51 theDbe->setCurrentFolder(
"DT/EventInfo");
52 totalDAQFraction = theDbe->bookFloat(
"DAQSummary");
53 totalDAQFraction->Fill(-1);
56 daqMap = theDbe->book2D(
"DAQSummaryMap",
"DT Certification Summary Map",12,1,13,5,-2,3);
57 daqMap->setAxisTitle(
"sector",1);
58 daqMap->setAxisTitle(
"wheel",2);
62 theDbe->setCurrentFolder(
"DT/EventInfo/DAQContents");
63 for(
int wheel = -2; wheel != 3; ++wheel) {
65 streams <<
"DT_Wheel" << wheel;
66 daqFractions[wheel] = theDbe->bookFloat(streams.str());
67 daqFractions[wheel]->Fill(-1);
81 if(setup.
find(recordKey) != 0) {
83 totalDAQFraction->Fill(0.);
84 daqFractions[-2]->Fill(0.);
85 daqFractions[-1]->Fill(0.);
86 daqFractions[-0]->Fill(0.);
87 daqFractions[1]->Fill(0.);
88 daqFractions[2]->Fill(0.);
95 vector<int> fedInIDs = sumFED->m_fed_in;
103 for(vector<int>::const_iterator fed = fedInIDs.begin();
104 fed != fedInIDs.end();
107 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
113 for(
int ros = 1; ros != 13; ++ros) {
114 if(!mapping->readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
115 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
116 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
117 daqFractions[wheel]->Fill(daqFractions[wheel]->getFloatValue() + 1./12.);
118 totalDAQFraction->Fill(totalDAQFraction->getFloatValue() + 1./60.);
119 daqMap->Fill(sector,wheel);
124 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
125 totalDAQFraction->Fill(-1);
126 for(
int wheel = -2; wheel != 3; ++wheel) {
127 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="")