42 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
43 <<
"[DTDCSByLumiTask]: Constructor" << endl;
53 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
54 <<
"DTDCSByLumiTask: processed " <<
theEvents <<
55 " events in " <<
theLumis <<
" lumi sections" << endl;
62 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
63 <<
"[DTDCSByLumiTask] endjob called!"<<endl;
70 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
71 <<
"[DTDCSByLumiTask]: BeginJob"<<endl;
77 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
78 <<
"[DTDCSByLumiTask]: begin run" << endl;
88 std::vector<eventsetup::EventSetupRecordKey> recordKeys;
90 vector<eventsetup::EventSetupRecordKey>::iterator it =
find(recordKeys.begin(),recordKeys.end(),recordKey);
92 if( it == recordKeys.end() ) {
94 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")<<
"Record DTHVStatusRcd does not exist "<<std::endl;
106 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
107 <<
"[DTDCSByLumiTask]: Begin of processed lumi # " << lumiSeg.
id().
luminosityBlock()
108 <<
" " <<
theLumis <<
" lumi processed by this job" << endl;
110 for(
int wheel=0; wheel <5; wheel++) {
122 vector<DTLayer*>::const_iterator layersIt =
theDTGeom->layers().begin();
123 vector<DTLayer*>::const_iterator layersEnd =
theDTGeom->layers().end();
125 for(; layersIt!=layersEnd; ++layersIt) {
127 int wheel = (*layersIt)->id().wheel();
129 int nWiresLayer = (*layersIt)->specificTopology().channels();
132 int nActiveWires = nWiresLayer;
146 && (flagA || flagC || flagS) ) {
147 nActiveWires -= (last - first + 1);
151 && (flagA || flagC || flagS) ) {
152 nActiveWires -= (last - first + 1);
176 for(
int wheel=-2; wheel <=2; wheel++) {
178 stringstream wheel_str; wheel_str << wheel;
197 return string(
"DT/EventInfo/DCSContents");
LuminosityBlockID id() const
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
edm::ESHandle< DTHVStatus > hvStatus
void bookHistos()
Book Monitor Elements.
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 ...
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 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.
void beginRun(const edm::Run &, const edm::EventSetup &)
Begin Run.
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
void setCurrentFolder(const std::string &fullpath)
std::vector< MonitorElement * > hActiveUnits