39 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
40 <<
"[DTDCSByLumiTask]: Constructor" << endl;
50 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
51 <<
"DTDCSByLumiTask: processed " <<
theEvents <<
52 " events in " <<
theLumis <<
" lumi sections" << endl;
58 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
59 <<
"[DTDCSByLumiTask]: begin run" << endl;
67 std::vector<eventsetup::EventSetupRecordKey> recordKeys;
69 vector<eventsetup::EventSetupRecordKey>::iterator it =
find(recordKeys.begin(),recordKeys.end(),recordKey);
71 if( it == recordKeys.end() ) {
73 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")<<
"Record DTHVStatusRcd does not exist "<<std::endl;
86 for(
int wheel=-2; wheel <=2; wheel++) {
88 stringstream wheel_str; wheel_str << wheel;
90 MonitorElement*
ME = ibooker.
book1D(
"hActiveUnits"+wheel_str.str(),
"Active Untis x LS Wh"+wheel_str.str(),2,0.5,2.5);
101 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
102 <<
"[DTDCSByLumiTask]: Begin of processed lumi # " << lumiSeg.
id().
luminosityBlock()
103 <<
" " <<
theLumis <<
" lumi processed by this job" << endl;
105 for(
int wheel=0; wheel <5; wheel++) {
117 vector<const DTLayer*>::const_iterator layersIt =
theDTGeom->layers().begin();
118 vector<const DTLayer*>::const_iterator layersEnd =
theDTGeom->layers().end();
120 for(; layersIt!=layersEnd; ++layersIt) {
122 int wheel = (*layersIt)->id().wheel();
124 int nWiresLayer = (*layersIt)->specificTopology().channels();
127 int nActiveWires = nWiresLayer;
141 && (flagA || flagC || flagS) ) {
142 nActiveWires -= (last - first + 1);
146 && (flagA || flagC || flagS) ) {
147 nActiveWires -= (last - first + 1);
168 return string(
"DT/EventInfo/DCSContents");
LuminosityBlockID id() const
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
edm::ESHandle< DTHVStatus > hvStatus
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
virtual ~DTDCSByLumiTask()
Destructor.
edm::ESHandle< DTGeometry > theDTGeom
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records ...
MonitorElement * book1D(Args &&...args)
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
void setCurrentFolder(const std::string &fullpath)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
By Lumi DCS DB Operation.
LuminosityBlockNumber_t luminosityBlock() const
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
DTDCSByLumiTask(const edm::ParameterSet &ps)
Constructor.
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &setup)
By Lumi DCS DB Operation.
std::string topFolder() const
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
std::vector< MonitorElement * > hActiveUnits
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Begin Run.