40 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
41 <<
"[DTDCSByLumiTask]: Constructor" << endl;
51 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
52 <<
"DTDCSByLumiTask: processed " <<
theEvents <<
53 " events in " <<
theLumis <<
" lumi sections" << endl;
60 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
61 <<
"[DTDCSByLumiTask] endjob called!"<<endl;
68 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
69 <<
"[DTDCSByLumiTask]: BeginJob"<<endl;
75 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
76 <<
"[DTDCSByLumiTask]: begin run" << endl;
86 std::vector<eventsetup::EventSetupRecordKey> recordKeys;
88 vector<eventsetup::EventSetupRecordKey>::iterator it =
find(recordKeys.begin(),recordKeys.end(),recordKey);
90 if( it == recordKeys.end() ) {
92 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")<<
"Record DTHVStatusRcd does not exist "<<std::endl;
104 LogTrace(
"DTDQM|DTMonitorModule|DTDCSByLumiTask")
105 <<
"[DTDCSByLumiTask]: Begin of processed lumi # " << lumiSeg.
id().
luminosityBlock()
106 <<
" " <<
theLumis <<
" lumi processed by this job" << endl;
108 for(
int wheel=0; wheel <5; wheel++) {
120 vector<const DTLayer*>::const_iterator layersIt =
theDTGeom->layers().begin();
121 vector<const DTLayer*>::const_iterator layersEnd =
theDTGeom->layers().end();
123 for(; layersIt!=layersEnd; ++layersIt) {
125 int wheel = (*layersIt)->id().wheel();
127 int nWiresLayer = (*layersIt)->specificTopology().channels();
130 int nActiveWires = nWiresLayer;
144 && (flagA || flagC || flagS) ) {
145 nActiveWires -= (last - first + 1);
149 && (flagA || flagC || flagS) ) {
150 nActiveWires -= (last - first + 1);
174 for(
int wheel=-2; wheel <=2; wheel++) {
176 stringstream wheel_str; wheel_str << wheel;
195 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