CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
ecaldqm::LedTask Class Reference

#include <LedTask.h>

Inheritance diagram for ecaldqm::LedTask:
ecaldqm::DQWorkerTask ecaldqm::DQWorker

Public Member Functions

void addDependencies (DependencySet &) override
 
bool analyze (void const *, Collections) override
 
void beginEvent (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
bool filterRunType (short const *) override
 
 LedTask ()
 
void runOnDigis (EEDigiCollection const &)
 
void runOnPnDigis (EcalPnDiodeDigiCollection const &)
 
void runOnRawData (EcalRawDataCollection const &)
 
void runOnUncalibRecHits (EcalUncalibratedRecHitCollection const &)
 
 ~LedTask ()
 
- Public Member Functions inherited from ecaldqm::DQWorkerTask
 DQWorkerTask ()
 
virtual void endEvent (edm::Event const &, edm::EventSetup const &)
 
virtual bool filterTrigger (edm::TriggerResultsByName const &)
 
void recoverStats ()
 
virtual void setTokens (edm::ConsumesCollector &)
 
void softReset ()
 
virtual ~DQWorkerTask ()
 
- Public Member Functions inherited from ecaldqm::DQWorker
virtual void bookMEs (DQMStore &)
 
virtual void bookMEs (DQMStore::IBooker &)
 
 DQWorker ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void endRun (edm::Run const &, edm::EventSetup const &)
 
std::string const & getName () const
 
bool onlineMode () const
 
virtual void releaseMEs ()
 
void setEventNumber (edm::EventNumber_t _e)
 
void setLumiNumber (edm::LuminosityBlockNumber_t _l)
 
void setRunNumber (edm::RunNumber_t _r)
 
void setTime (time_t _t)
 
virtual ~DQWorker ()
 

Private Member Functions

void setParams (edm::ParameterSet const &)
 

Private Attributes

int emptyLS_
 
int emptyLSLimit_
 
bool enable_ [nEEDCC]
 
std::map< unsigned, float > pnAmp_
 
unsigned rtHalf_ [nEEDCC]
 
unsigned wavelength_ [nEEDCC]
 
std::map< int, unsigned > wlToME_
 

Additional Inherited Members

- Public Types inherited from ecaldqm::DQWorkerTask
typedef
EcalDCCHeaderBlock::EcalDCCEventSettings 
EventSettings
 
- Static Public Member Functions inherited from ecaldqm::DQWorkerTask
static void fillDescriptions (edm::ParameterSetDescription &)
 
- Static Public Member Functions inherited from ecaldqm::DQWorker
static void fillDescriptions (edm::ParameterSetDescription &_desc)
 
- Protected Member Functions inherited from ecaldqm::DQWorkerTask
void setME (edm::ParameterSet const &) final
 
- Protected Member Functions inherited from ecaldqm::DQWorker
void initialize (std::string const &_name, edm::ParameterSet const &)
 
void print_ (std::string const &, int=0) const
 
virtual void setSource (edm::ParameterSet const &)
 
void setVerbosity (int _verbosity)
 
- Protected Attributes inherited from ecaldqm::DQWorkerTask
std::set< std::string > resettable_
 
- Protected Attributes inherited from ecaldqm::DQWorker
MESetCollection MEs_
 
std::string name_
 
bool onlineMode_
 
Timestamp timestamp_
 
int verbosity_
 
bool willConvertToEDM_
 

Detailed Description

Definition at line 14 of file LedTask.h.

Constructor & Destructor Documentation

ecaldqm::LedTask::LedTask ( )

Definition at line 9 of file LedTask.cc.

References enable_, ecaldqm::nEEDCC, rtHalf_, and wavelength_.

9  :
10  DQWorkerTask(),
11  wlToME_(),
12  pnAmp_(),
13  emptyLS_(0),
14  emptyLSLimit_(0)
15  {
16  std::fill_n(enable_, nEEDCC, false);
17  std::fill_n(wavelength_, nEEDCC, 0);
18  std::fill_n(rtHalf_, nEEDCC, 0);
19  }
bool enable_[nEEDCC]
Definition: LedTask.h:39
unsigned rtHalf_[nEEDCC]
Definition: LedTask.h:41
int emptyLSLimit_
Definition: LedTask.h:45
unsigned wavelength_[nEEDCC]
Definition: LedTask.h:40
std::map< unsigned, float > pnAmp_
Definition: LedTask.h:42
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
ecaldqm::LedTask::~LedTask ( )
inline

Definition at line 17 of file LedTask.h.

17 {}

Member Function Documentation

void ecaldqm::LedTask::addDependencies ( DependencySet _dependencies)
overridevirtual

Reimplemented from ecaldqm::DQWorkerTask.

Definition at line 41 of file LedTask.cc.

References ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, and ecaldqm::DependencySet::push_back().

42  {
43  _dependencies.push_back(Dependency(kEEDigi, kEcalRawData));
44  _dependencies.push_back(Dependency(kPnDiodeDigi, kEEDigi, kEcalRawData));
45  _dependencies.push_back(Dependency(kEELaserLedUncalibRecHit, kPnDiodeDigi, kEEDigi, kEcalRawData));
46  }
bool ecaldqm::LedTask::analyze ( void const *  _p,
Collections  _collection 
)
inlineoverridevirtual

Reimplemented from ecaldqm::DQWorkerTask.

Definition at line 48 of file LedTask.h.

References ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().

48  {
49  switch(_collection){
50  case kEcalRawData:
51  if(_p) runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
52  return true;
53  break;
54  case kEEDigi:
55  if(_p) runOnDigis(*static_cast<EEDigiCollection const*>(_p));
56  return true;
57  break;
58  case kPnDiodeDigi:
59  if(_p) runOnPnDigis(*static_cast<EcalPnDiodeDigiCollection const*>(_p));
60  return true;
61  break;
63  if(_p) runOnUncalibRecHits(*static_cast<EcalUncalibratedRecHitCollection const*>(_p));
64  return true;
65  break;
66  default:
67  break;
68  }
69 
70  return false;
71  }
void runOnDigis(EEDigiCollection const &)
Definition: LedTask.cc:114
void runOnUncalibRecHits(EcalUncalibratedRecHitCollection const &)
Definition: LedTask.cc:265
void runOnRawData(EcalRawDataCollection const &)
Definition: LedTask.cc:87
void runOnPnDigis(EcalPnDiodeDigiCollection const &)
Definition: LedTask.cc:224
void ecaldqm::LedTask::beginEvent ( edm::Event const &  ,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from ecaldqm::DQWorkerTask.

Definition at line 81 of file LedTask.cc.

References pnAmp_.

82  {
83  pnAmp_.clear();
84  }
std::map< unsigned, float > pnAmp_
Definition: LedTask.h:42
void ecaldqm::LedTask::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from ecaldqm::DQWorker.

Definition at line 75 of file LedTask.cc.

References emptyLS_, and emptyLSLimit_.

76  {
77  if(++emptyLS_ > emptyLSLimit_) emptyLS_ = -1;
78  }
int emptyLSLimit_
Definition: LedTask.h:45
void ecaldqm::LedTask::beginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from ecaldqm::DQWorker.

Definition at line 69 of file LedTask.cc.

References emptyLS_.

70  {
71  emptyLS_ = 0;
72  }
bool ecaldqm::LedTask::filterRunType ( short const *  _runType)
overridevirtual

Reimplemented from ecaldqm::DQWorkerTask.

Definition at line 49 of file LedTask.cc.

References enable_, cmsHarvester::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, EcalDCCHeaderBlock::LED_GAP, EcalDCCHeaderBlock::LED_STD, ecaldqm::nDCC, and ecaldqm::nEBDCC.

50  {
51  bool enable(false);
52 
53  for(unsigned iDCC(0); iDCC != nDCC; iDCC++){
54  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
55  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
56  if(_runType[iDCC] == EcalDCCHeaderBlock::LED_STD ||
57  _runType[iDCC] == EcalDCCHeaderBlock::LED_GAP){
58  enable = true;
59  enable_[index] = true;
60  }
61  else
62  enable_[index] = false;
63  }
64 
65  return enable;
66  }
bool enable_[nEEDCC]
Definition: LedTask.h:39
void ecaldqm::LedTask::runOnDigis ( EEDigiCollection const &  _digis)

Definition at line 114 of file LedTask.cc.

References ecalMGPA::adc(), EcalMGPASample::adc(), edm::DataFrameContainer::begin(), ecaldqm::dccId(), emptyLS_, enable_, edm::DataFrameContainer::end(), ecaldqm::MESetMulti::fill(), i, cmsHarvester::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, max(), ecaldqm::DQWorker::MEs_, bookConverter::min, ecaldqm::nEBDCC, ecaldqm::nEEDCC, DetId::null(), pnAmp_, ecaldqm::pnForCrystal(), DetId::rawId(), ecaldqm::rtHalf(), rtHalf_, EcalDataFrame::sample(), dtDQMClient_cfg::threshold, wavelength_, and wlToME_.

Referenced by analyze().

115  {
116  MESet& meOccupancy(MEs_.at("Occupancy"));
117  MESet& meShape(MEs_.at("Shape"));
118  MESet& meSignalRate(MEs_.at("SignalRate"));
119 
120  int nReadouts[nEEDCC];
121  int maxpos[nEEDCC][10];
122  for(unsigned index(0); index < nEEDCC; ++index){
123  nReadouts[index] = 0;
124  for(int i(0); i < 10; i++) maxpos[index][i] = 0;
125  }
126 
127  for(EEDigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
128  const DetId& id(digiItr->id());
129 
130  unsigned iDCC(dccId(id) - 1);
131  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
132  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
133 
134  if(!enable_[index]) continue;
135  if(rtHalf(id) != rtHalf_[index]) continue;
136 
137  meOccupancy.fill(id);
138 
139  ++nReadouts[index];
140 
141  EcalDataFrame dataFrame(*digiItr);
142 
143  int iMax(-1);
144  int max(0);
145  int min(4096);
146  for (int i(0); i < 10; i++) {
147  int adc(dataFrame.sample(i).adc());
148  if(adc > max){
149  max = adc;
150  iMax = i;
151  }
152  if(adc < min) min = adc;
153  }
154  if(iMax >= 0 && max - min > 3) // normal RMS of pedestal is ~2.5
155  maxpos[index][iMax] += 1;
156  }
157 
158  // signal existence check
159  bool enable(false);
160  bool ledOnExpected(emptyLS_ >= 0);
161 
162  unsigned iME(-1);
163 
164  for(int index(0); index < nEEDCC; ++index){
165  if(nReadouts[index] == 0){
166  enable_[index] = false;
167  continue;
168  }
169 
170  int threshold(nReadouts[index] / 3);
171  if(ledOnExpected) enable_[index] = false;
172 
173  for(int i(0); i < 10; i++){
174  if(maxpos[index][i] > threshold){
175  enable = true;
176  enable_[index] = true;
177  break;
178  }
179  }
180 
181  if(iME != wlToME_[wavelength_[index]]){
182  iME = wlToME_[wavelength_[index]];
183  static_cast<MESetMulti&>(meSignalRate).use(iME);
184  }
185 
186  meSignalRate.fill((index <= kEEmHigh ? index : index + nEBDCC) + 1, enable_[index] ? 1 : 0);
187  }
188 
189  if(enable) emptyLS_ = 0;
190  else if(ledOnExpected) return;
191 
192  iME = -1;
193 
194  for(EEDigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
195  const DetId& id(digiItr->id());
196 
197  unsigned iDCC(dccId(id) - 1);
198  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
199  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
200 
201  if(!enable_[index]) continue;
202  if(rtHalf(id) != rtHalf_[index]) continue;
203 
204  if(iME != wlToME_[wavelength_[index]]){
205  iME = wlToME_[wavelength_[index]];
206  static_cast<MESetMulti&>(meShape).use(iME);
207  }
208 
209  // EcalDataFrame is not a derived class of edm::DataFrame, but can take edm::DataFrame in the constructor
210  EcalDataFrame dataFrame(*digiItr);
211 
212  for(int iSample(0); iSample < 10; iSample++)
213  meShape.fill(id, iSample + 0.5, float(dataFrame.sample(iSample).adc()));
214 
215  EcalPnDiodeDetId pnidA(pnForCrystal(id, 'a'));
216  EcalPnDiodeDetId pnidB(pnForCrystal(id, 'b'));
217  if(pnidA.null() || pnidB.null()) continue;
218  pnAmp_.insert(std::make_pair(pnidA.rawId(), 0.));
219  pnAmp_.insert(std::make_pair(pnidB.rawId(), 0.));
220  }
221  }
int adc(sample_type sample)
get the ADC sample (12 bits)
bool enable_[nEEDCC]
Definition: LedTask.h:39
int i
Definition: DBlmapReader.cc:9
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
const T & max(const T &a, const T &b)
unsigned rtHalf_[nEEDCC]
Definition: LedTask.h:41
EcalPnDiodeDetId pnForCrystal(DetId const &, char)
unsigned rtHalf(DetId const &)
unsigned wavelength_[nEEDCC]
Definition: LedTask.h:40
Definition: DetId.h:18
MESetCollection MEs_
Definition: DQWorker.h:76
std::map< unsigned, float > pnAmp_
Definition: LedTask.h:42
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
unsigned dccId(DetId const &)
void ecaldqm::LedTask::runOnPnDigis ( EcalPnDiodeDigiCollection const &  _digis)

Definition at line 224 of file LedTask.cc.

References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), cmsHarvester::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, max(), ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, EcalCondDBWriter_cfi::pedestal, pnAmp_, wavelength_, and wlToME_.

Referenced by analyze().

225  {
226  MESet& mePNAmplitude(MEs_.at("PNAmplitude"));
227 
228  unsigned iME(-1);
229 
230  for(EcalPnDiodeDigiCollection::const_iterator digiItr(_digis.begin()); digiItr != _digis.end(); ++digiItr){
231  if(digiItr->sample(0).gainId() != 0 && digiItr->sample(0).gainId() != 1) continue;
232 
233  const EcalPnDiodeDetId& id(digiItr->id());
234 
235  std::map<uint32_t, float>::iterator ampItr(pnAmp_.find(id.rawId()));
236  if(ampItr == pnAmp_.end()) continue;
237 
238  unsigned iDCC(dccId(id) - 1);
239  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
240  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
241 
242  float pedestal(0.);
243  for(int iSample(0); iSample < 4; iSample++)
244  pedestal += digiItr->sample(iSample).adc();
245  pedestal /= 4.;
246 
247  float max(0.);
248  for(int iSample(0); iSample < 50; iSample++){
249  float amp(digiItr->sample(iSample).adc() - pedestal);
250  if(amp > max) max = amp;
251  }
252 
253  if(iME != wlToME_[wavelength_[index]]){
254  iME = wlToME_[wavelength_[index]];
255  static_cast<MESetMulti&>(mePNAmplitude).use(iME);
256  }
257 
258  mePNAmplitude.fill(id, max);
259 
260  ampItr->second = max;
261  }
262  }
std::vector< EcalPnDiodeDigi >::const_iterator const_iterator
const T & max(const T &a, const T &b)
unsigned wavelength_[nEEDCC]
Definition: LedTask.h:40
MESetCollection MEs_
Definition: DQWorker.h:76
std::map< unsigned, float > pnAmp_
Definition: LedTask.h:42
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
unsigned dccId(DetId const &)
void ecaldqm::LedTask::runOnRawData ( EcalRawDataCollection const &  _rawData)

Definition at line 87 of file LedTask.cc.

References edm::SortedCollection< T, SORT >::begin(), enable_, edm::SortedCollection< T, SORT >::end(), cmsHarvester::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, ecaldqm::nEBDCC, rtHalf_, wavelength_, and wlToME_.

Referenced by analyze().

88  {
89  for(EcalRawDataCollection::const_iterator rItr(_rawData.begin()); rItr != _rawData.end(); ++rItr){
90  unsigned iDCC(rItr->id() - 1);
91  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
92  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
93 
94  if(!enable_[index]){
95  wavelength_[index] = -1;
96  rtHalf_[index] = -1;
97  continue;
98  }
99  if(rItr->getEventSettings().wavelength == 0)
100  wavelength_[index] = 1;
101  else if(rItr->getEventSettings().wavelength == 2)
102  wavelength_[index] = 2;
103  else
104  wavelength_[index] = -1;
105 
106  if(wlToME_.find(wavelength_[index]) == wlToME_.end())
107  enable_[index] = false;
108 
109  rtHalf_[index] = rItr->getRtHalf();
110  }
111  }
bool enable_[nEEDCC]
Definition: LedTask.h:39
std::vector< EcalDCCHeaderBlock >::const_iterator const_iterator
unsigned rtHalf_[nEEDCC]
Definition: LedTask.h:41
unsigned wavelength_[nEEDCC]
Definition: LedTask.h:40
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
void ecaldqm::LedTask::runOnUncalibRecHits ( EcalUncalibratedRecHitCollection const &  _uhits)

Definition at line 265 of file LedTask.cc.

References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), cmsHarvester::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, max(), ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, pnAmp_, ecaldqm::pnForCrystal(), ecaldqm::rtHalf(), rtHalf_, wavelength_, and wlToME_.

Referenced by analyze().

266  {
267  using namespace std;
268 
269  MESet& meAmplitude(MEs_.at("Amplitude"));
270  MESet& meAmplitudeSummary(MEs_.at("AmplitudeSummary"));
271  MESet& meTiming(MEs_.at("Timing"));
272  MESet& meAOverP(MEs_.at("AOverP"));
273 
274  unsigned iME(-1);
275 
276  for(EcalUncalibratedRecHitCollection::const_iterator uhitItr(_uhits.begin()); uhitItr != _uhits.end(); ++uhitItr){
277  EEDetId id(uhitItr->id());
278 
279  unsigned iDCC(dccId(id) - 1);
280  if(iDCC >= kEBmLow && iDCC <= kEBpHigh) continue;
281  unsigned index(iDCC <= kEEmHigh ? iDCC : iDCC - nEBDCC);
282 
283  if(!enable_[index]) continue;
284  if(rtHalf(id) != rtHalf_[index]) continue;
285 
286  if(iME != wlToME_[wavelength_[index]]){
287  iME = wlToME_[wavelength_[index]];
288  static_cast<MESetMulti&>(meAmplitude).use(iME);
289  static_cast<MESetMulti&>(meAmplitudeSummary).use(iME);
290  static_cast<MESetMulti&>(meTiming).use(iME);
291  static_cast<MESetMulti&>(meAOverP).use(iME);
292  }
293 
294  float amp(max((double)uhitItr->amplitude(), 0.));
295  float jitter(max((double)uhitItr->jitter() + 5.0, 0.));
296 
297  meAmplitude.fill(id, amp);
298  meAmplitudeSummary.fill(id, amp);
299  meTiming.fill(id, jitter);
300 
301  float aop(0.);
302 
303  map<uint32_t, float>::iterator ampItrA(pnAmp_.find(pnForCrystal(id, 'a')));
304  map<uint32_t, float>::iterator ampItrB(pnAmp_.find(pnForCrystal(id, 'b')));
305  if(ampItrA == pnAmp_.end() && ampItrB == pnAmp_.end()) continue;
306  else if(ampItrB == pnAmp_.end()) aop = amp / ampItrA->second;
307  else if(ampItrA == pnAmp_.end()) aop = amp / ampItrB->second;
308  else aop = amp / (ampItrA->second + ampItrB->second) * 2.;
309 
310  meAOverP.fill(id, aop);
311  }
312  }
bool enable_[nEEDCC]
Definition: LedTask.h:39
std::vector< EcalUncalibratedRecHit >::const_iterator const_iterator
const T & max(const T &a, const T &b)
unsigned rtHalf_[nEEDCC]
Definition: LedTask.h:41
EcalPnDiodeDetId pnForCrystal(DetId const &, char)
unsigned rtHalf(DetId const &)
unsigned wavelength_[nEEDCC]
Definition: LedTask.h:40
MESetCollection MEs_
Definition: DQWorker.h:76
std::map< unsigned, float > pnAmp_
Definition: LedTask.h:42
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
unsigned dccId(DetId const &)
void ecaldqm::LedTask::setParams ( edm::ParameterSet const &  _params)
privatevirtual

Reimplemented from ecaldqm::DQWorker.

Definition at line 22 of file LedTask.cc.

References emptyLSLimit_, edm::hlt::Exception, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, cond::to_string(), and wlToME_.

23  {
24  emptyLSLimit_ = _params.getUntrackedParameter<int>("emptyLSLimit");
25 
26  std::vector<int> ledWavelengths(_params.getUntrackedParameter<std::vector<int> >("ledWavelengths"));
27 
29 
30  MESetMulti& amplitude(static_cast<MESetMulti&>(MEs_.at("Amplitude")));
31  unsigned nWL(ledWavelengths.size());
32  for(unsigned iWL(0); iWL != nWL; ++iWL){
33  int wl(ledWavelengths[iWL]);
34  if(wl != 1 && wl != 2) throw cms::Exception("InvalidConfiguration") << "Led Wavelength";
35  repl["wl"] = std::to_string(wl);
36  wlToME_[wl] = amplitude.getIndex(repl);
37  }
38  }
std::string to_string(const T &t)
Definition: Logger.cc:26
int emptyLSLimit_
Definition: LedTask.h:45
MESetCollection MEs_
Definition: DQWorker.h:76
std::map< int, unsigned > wlToME_
Definition: LedTask.h:37
std::map< std::string, std::string > PathReplacements
Definition: MESet.h:31

Member Data Documentation

int ecaldqm::LedTask::emptyLS_
private

Definition at line 44 of file LedTask.h.

Referenced by beginLuminosityBlock(), beginRun(), and runOnDigis().

int ecaldqm::LedTask::emptyLSLimit_
private

Definition at line 45 of file LedTask.h.

Referenced by beginLuminosityBlock(), and setParams().

bool ecaldqm::LedTask::enable_[nEEDCC]
private

Definition at line 39 of file LedTask.h.

Referenced by filterRunType(), LedTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().

std::map<unsigned, float> ecaldqm::LedTask::pnAmp_
private

Definition at line 42 of file LedTask.h.

Referenced by beginEvent(), runOnDigis(), runOnPnDigis(), and runOnUncalibRecHits().

unsigned ecaldqm::LedTask::rtHalf_[nEEDCC]
private

Definition at line 41 of file LedTask.h.

Referenced by LedTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().

unsigned ecaldqm::LedTask::wavelength_[nEEDCC]
private

Definition at line 40 of file LedTask.h.

Referenced by LedTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().

std::map<int, unsigned> ecaldqm::LedTask::wlToME_
private

Definition at line 37 of file LedTask.h.

Referenced by runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().