CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
QIE11Task Class Reference

#include <QIE11Task.h>

Inheritance diagram for QIE11Task:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 QIE11Task (edm::ParameterSet const &)
 
 ~QIE11Task () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Protected Member Functions

bool _isApplicable (edm::Event const &) override
 
void _process (edm::Event const &, edm::EventSetup const &) override
 
void _resetMonitors (hcaldqm::UpdateFreq) override
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

hcaldqm::ContainerSingle1D _cADC
 
hcaldqm::Container1D _cADC_EChannel [10][2]
 
hcaldqm::ContainerSingle1D _cLETDC
 
hcaldqm::Container1D _cLETDC_EChannel [10][2]
 
hcaldqm::Container1D _cLETDCTime_EChannel [2]
 
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
 
hcaldqm::ContainerSingle2D _cLETDCvsADC
 
hcaldqm::Container2D _cLETDCvsADC_EChannel [10][2]
 
hcaldqm::Container2D _cLETDCvsTS_EChannel [2]
 
hcaldqm::Container2D _cOccupancy_depth
 
hcaldqm::ContainerSingleProf1D _cShapeCut
 
hcaldqm::ContainerProf1D _cShapeCut_EChannel [2]
 
double _cut
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
int _eventType
 
hcaldqm::filter::HashFilter _filter_C34
 
hcaldqm::filter::HashFilter _filter_slot [2]
 
hcaldqm::filter::HashFilter _filter_timingChannels [4]
 
int _laserType
 
int _ped
 
edm::InputTag _tagQIE11
 
edm::InputTag _taguMN
 
edm::EDGetTokenT< QIE11DigiCollection_tokQIE11
 
edm::EDGetTokenT< HcalUMNioDigi_tokuMN
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
HcalElectronicsMap const * _emap
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 22 of file QIE11Task.h.

Constructor & Destructor Documentation

QIE11Task::QIE11Task ( edm::ParameterSet const &  ps)

Definition at line 5 of file QIE11Task.cc.

References _cut, _eventType, _laserType, _ped, _tagQIE11, _taguMN, _tokQIE11, _tokuMN, and edm::ParameterSet::getUntrackedParameter().

5  :
6  DQTask(ps)
7 {
8 
9  // tags
10  _tagQIE11 = ps.getUntrackedParameter<edm::InputTag>("tagQIE11",
11  edm::InputTag("hcalDigis"));
12  _tokQIE11 = consumes<QIE11DigiCollection>(_tagQIE11);
13 
14  _taguMN = ps.getUntrackedParameter<edm::InputTag>("taguMN",
15  edm::InputTag("hcalDigis"));
16  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
17 
18  // cuts
19  _cut = ps.getUntrackedParameter<double>("cut", 50.0);
20  _ped = ps.getUntrackedParameter<int>("ped", 4);
21  _laserType = ps.getUntrackedParameter<int32_t>("laserType", -1);
22  _eventType = ps.getUntrackedParameter<int32_t>("eventType", -1);
23 }
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: QIE11Task.h:41
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
int _eventType
Definition: QIE11Task.h:52
int _ped
Definition: QIE11Task.h:50
edm::InputTag _tagQIE11
Definition: QIE11Task.h:40
double _cut
Definition: QIE11Task.h:49
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: QIE11Task.h:44
int _laserType
Definition: QIE11Task.h:51
edm::InputTag _taguMN
Definition: QIE11Task.h:43
QIE11Task::~QIE11Task ( )
inlineoverride

Definition at line 26 of file QIE11Task.h.

References _isApplicable(), _process(), _resetMonitors(), bookHistograms(), and endLuminosityBlock().

26 {}

Member Function Documentation

bool QIE11Task::_isApplicable ( edm::Event const &  e)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 223 of file QIE11Task.cc.

References _eventType, _laserType, hcaldqm::DQModule::_ptype, _tokuMN, HcalUMNioDigi::eventType(), hcaldqm::fOnline, edm::Event::getByToken(), and HcalUMNioDigi::valueUserWord().

Referenced by ~QIE11Task().

224 {
225  if (_ptype!=fOnline || (_laserType < 0 && _eventType < 0))
226  return true;
227  else
228  {
229  // fOnline mode
231  if (!e.getByToken(_tokuMN, cumn))
232  return false;
233 
234  // event type check first
235  int eventType = cumn->eventType();
236  if (eventType==_eventType)
237  return true;
238 
239  // check if this analysis task is of the right laser type
240  int laserType = cumn->valueUserWord(0);
241  if (laserType==_laserType)
242  return true;
243  }
244 
245  return false;
246 }
int _eventType
Definition: QIE11Task.h:52
ProcessingType _ptype
Definition: DQModule.h:59
uint32_t valueUserWord(int iword) const
uint8_t eventType() const
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: QIE11Task.h:44
int _laserType
Definition: QIE11Task.h:51
void QIE11Task::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 158 of file QIE11Task.cc.

References _cADC, _cADC_EChannel, _cLETDC, _cLETDC_EChannel, _cLETDCTime_EChannel, _cLETDCTimevsADC, _cLETDCvsADC, _cLETDCvsADC_EChannel, _cLETDCvsTS_EChannel, _cShapeCut, _cShapeCut_EChannel, hcaldqm::DQTask::_dbService, _ehashmap, hcaldqm::DQModule::_ptype, _tokQIE11, ecalMGPA::adc(), HcalElectronicsId::crateId(), QIE11DataFrame::detid(), runTauDisplay::eid, hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle1D::fill(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::Container1D::fill(), hcaldqm::fOffline, edm::Event::getByToken(), HcalEndcap, mps_fire::i, diffTreeTool::index, hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalElectronicsId::rawId(), QIE11DataFrame::samples(), edm::DataFrameContainer::size(), and HcalElectronicsId::slot().

Referenced by ~QIE11Task().

160 {
162  if (!e.getByToken(_tokQIE11, cqie11))
163  return;
164 
165  for (uint32_t i=0; i<cqie11->size(); i++)
166  {
167  QIE11DataFrame frame = static_cast<QIE11DataFrame>((*cqie11)[i]);
168  DetId did = frame.detid();
169  if (HcalDetId(frame.detid()).subdet() != HcalEndcap) {
170  continue;
171  }
172 
174  if (!eid.rawId()) {
175  continue;
176  }
177  int fakecrate = -1;
178  if (eid.crateId() == 34) fakecrate = 0;
179  int index = fakecrate * 12 + (eid.slot() - 10) - 1;
180 
181  // compute the signal, ped subracted
182  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, frame);
183 // double q = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(frame,
184 // constants::adc2fC[_ped], 0, frame.samples()-1);
185 
186  // iterate thru all TS and fill
187  for (int j=0; j<frame.samples(); j++)
188  {
189  double q_pedsub = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, frame, j);
190  if (_ptype != fOffline) {
191  if (index == 0 || index == 1) {
192  // shapes are after the cut
193  _cShapeCut_EChannel[index].fill(eid, j, q_pedsub);
194  _cLETDCvsTS_EChannel[index].fill(eid, j, frame[j].tdc());
195 
196  // w/o a cut
197  _cLETDCvsADC_EChannel[j][index].fill(eid, frame[j].adc(),
198  frame[j].tdc());
199  _cLETDC_EChannel[j][index].fill(eid, frame[j].tdc());
200  if (frame[j].tdc() < 50) {
201  // Each TDC count is 0.5 ns.
202  // tdc == 62 or 63 means value was below or above threshold for whole time slice.
203  _cLETDCTime_EChannel[index].fill(eid, j*25. + (frame[j].tdc() / 2.));
204  }
205  _cADC_EChannel[j][index].fill(eid, frame[j].adc());
206  }
207  }
208  _cShapeCut.fill(eid, j, q_pedsub);
209 
210  _cLETDCvsADC.fill(frame[j].adc(), frame[j].tdc());
211  if (frame[j].tdc() < 50) {
212  _cLETDCTimevsADC.fill(frame[j].adc(), j*25. + (frame[j].tdc() / 2.));
213  }
214  _cLETDC.fill(eid, frame[j].tdc());
215 
216  _cADC.fill(eid, frame[j].adc());
217 
218  }
219  }
220 }
int adc(sample_type sample)
get the ADC sample (12 bits)
DetId detid() const
Get the detector id.
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: QIE11Task.h:41
hcaldqm::Container1D _cADC_EChannel[10][2]
Definition: QIE11Task.h:69
hcaldqm::ContainerSingle2D _cLETDCvsADC
Definition: QIE11Task.h:74
hcaldqm::Container2D _cLETDCvsTS_EChannel[2]
Definition: QIE11Task.h:66
hcaldqm::ContainerProf1D _cShapeCut_EChannel[2]
Definition: QIE11Task.h:64
uint32_t rawId() const
hcaldqm::Container1D _cLETDCTime_EChannel[2]
Definition: QIE11Task.h:68
hcaldqm::ContainerSingleProf1D _cShapeCut
Definition: QIE11Task.h:73
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][2]
Definition: QIE11Task.h:65
int crateId() const
get the readout VME crate number
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: QIE11Task.h:61
hcaldqm::ContainerSingle1D _cADC
Definition: QIE11Task.h:77
Definition: DetId.h:18
int slot() const
get the htr or uHTR slot
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:72
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
Definition: QIE11Task.h:75
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
virtual void fill(int, int)
int samples() const
total number of samples in the digi
hcaldqm::Container1D _cLETDC_EChannel[10][2]
Definition: QIE11Task.h:67
Readout chain identification for Hcal.
hcaldqm::ContainerSingle1D _cLETDC
Definition: QIE11Task.h:76
void QIE11Task::_resetMonitors ( hcaldqm::UpdateFreq  )
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 249 of file QIE11Task.cc.

References DEFINE_FWK_MODULE.

Referenced by ~QIE11Task().

250 {
251 }
void QIE11Task::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 24 of file QIE11Task.cc.

References _cADC, _cADC_EChannel, _cLETDC, _cLETDC_EChannel, _cLETDCTime_EChannel, _cLETDCTimevsADC, _cLETDCvsADC, _cLETDCvsADC_EChannel, _cLETDCvsTS_EChannel, _cShapeCut, _cShapeCut_EChannel, _ehashmap, hcaldqm::DQTask::_emap, _filter_C34, _filter_slot, _filter_timingChannels, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, printConversionInfo::aux, hcaldqm::ContainerSingleProf1D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), particleFlowClusterECALTimeSelected_cfi::depth, hcaldqm::hashfunctions::fCrateSlot, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fDChannel, hcaldqm::hashfunctions::fEChannel, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBERCH_MIN, plotBeamSpotDB::first, hcaldqm::fLocal, hcaldqm::quantity::fN, hcaldqm::fOffline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fQIE10ADC_256, hcaldqm::quantity::fQIE10fC_400000, hcaldqm::quantity::fQIE10TDC_64, hcaldqm::quantity::fTime_ns_250, hcaldqm::quantity::fTiming_TS, edm::EventSetup::get(), HcalDbService::getHcalMapping(), HcalEndcap, hcaldqm::ContainerSingleProf1D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle1D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), edm::RunAuxiliary::run(), edm::Run::runAuxiliary(), and edm::second().

Referenced by ~QIE11Task().

26 {
27  if (_ptype==fLocal)
28  if (r.runAuxiliary().run()==1)
29  return;
30 
31  DQTask::bookHistograms(ib, r, es);
32 
33  // GET WHAT YOU NEED
35  es.get<HcalDbRecord>().get(dbs);
36  _emap = dbs->getHcalMapping();
37  std::vector<uint32_t> vhashC34;
38  vhashC34.push_back(HcalElectronicsId(34, 11,
39  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
40  vhashC34.push_back(HcalElectronicsId(34, 12,
41  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
43  vhashC34);
44 
45  std::vector<std::pair<int, int> > timingChannels;
46  timingChannels.push_back(std::pair<int, int>(28, 63));
47  timingChannels.push_back(std::pair<int, int>(28, 65));
48  timingChannels.push_back(std::pair<int, int>(20, 63));
49  timingChannels.push_back(std::pair<int, int>(20, 65));
50  for (int iChan = 0; iChan < 4; ++iChan) {
51  std::vector<uint32_t> vhashTimingChannel;
52  for (int depth = 1; depth <= 7; ++depth) {
53  vhashTimingChannel.push_back(HcalDetId(HcalEndcap, timingChannels[iChan].first, timingChannels[iChan].second, depth));
54  }
56  }
57 
58  // INITIALIZE what you need
59 
60  // EChannel plots, online+local only
61  if (_ptype != fOffline) {
62  unsigned int itr = 0;
63  for (unsigned int crate = 34; crate <= 34; ++crate) {
64  for (unsigned int slot = 11; slot <= 12; ++slot) {
65  std::vector<uint32_t> vhashSlot;
66  vhashSlot.push_back(HcalElectronicsId(crate, slot, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
81  for (unsigned int j=0; j<10; j++) {
95  }
96  ++itr;
97  }
98  }
99  }
101  "ShapeCut",
104  _cLETDCvsADC.initialize(_name, "LETDCvsADC",
108  _cLETDCTimevsADC.initialize(_name, "LETDCTimevsADC",
112  _cLETDC.initialize(_name, "LETDC",
115  _cADC.initialize(_name, "ADC",
118 
119  if (_ptype != fOffline) {
120  unsigned int itr = 0;
121  std::map<std::pair<unsigned int, unsigned int>, unsigned int> itr_map;
122  for(unsigned int crate = 34; crate <= 34; ++crate) {
123  for(unsigned int slot=11; slot<=12; ++slot) {
124  char aux[100];
125  sprintf(aux, "/Crate%d_Slot%d", crate, slot);
126  _cShapeCut_EChannel[itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux);
127  _cLETDCvsTS_EChannel[itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux);
128  _cLETDCTime_EChannel[itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux);
129  for (unsigned int j=0; j<10; j++) {
130  char aux2[100];
131  sprintf(aux2, "/Crate%d_Slot%d/TS%d", crate, slot, j);
132  _cLETDCvsADC_EChannel[j][itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux2);
133  _cLETDC_EChannel[j][itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux2);
134  _cADC_EChannel[j][itr].book(ib, _emap, _filter_slot[itr], _subsystem, aux2);
135  }
136  itr_map[std::make_pair(crate, slot)] = itr;
137  ++itr;
138  }
139  }
140  }
144  _cLETDC.book(ib, _subsystem);
145  _cADC.book(ib, _subsystem);
146 
148 }
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
hcaldqm::Container1D _cADC_EChannel[10][2]
Definition: QIE11Task.h:69
hcaldqm::ContainerSingle2D _cLETDCvsADC
Definition: QIE11Task.h:74
hcaldqm::filter::HashFilter _filter_C34
Definition: QIE11Task.h:56
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container2D _cLETDCvsTS_EChannel[2]
Definition: QIE11Task.h:66
hcaldqm::ContainerProf1D _cShapeCut_EChannel[2]
Definition: QIE11Task.h:64
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cLETDCTime_EChannel[2]
Definition: QIE11Task.h:68
void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0) override
hcaldqm::ContainerSingleProf1D _cShapeCut
Definition: QIE11Task.h:73
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][2]
Definition: QIE11Task.h:65
void bookHistograms(fwlite::EventContainer &eventCont)
int const FIBERCH_MIN
Definition: Constants.h:151
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
U second(std::pair< T, U > const &p)
ProcessingType _ptype
Definition: DQModule.h:59
hcaldqm::filter::HashFilter _filter_slot[2]
Definition: QIE11Task.h:57
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: QIE11Task.h:61
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
hcaldqm::ContainerSingle1D _cADC
Definition: QIE11Task.h:77
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
Definition: QIE11Task.h:75
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
hcaldqm::Container1D _cLETDC_EChannel[10][2]
Definition: QIE11Task.h:67
Readout chain identification for Hcal.
hcaldqm::ContainerSingle1D _cLETDC
Definition: QIE11Task.h:76
hcaldqm::filter::HashFilter _filter_timingChannels[4]
Definition: QIE11Task.h:58
void QIE11Task::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 150 of file QIE11Task.cc.

Referenced by ~QIE11Task().

152 {
153 
154  // finish
155  DQTask::endLuminosityBlock(lb, es);
156 }

Member Data Documentation

hcaldqm::ContainerSingle1D QIE11Task::_cADC
protected

Definition at line 77 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D QIE11Task::_cADC_EChannel[10][2]
protected

Definition at line 69 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle1D QIE11Task::_cLETDC
protected

Definition at line 76 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D QIE11Task::_cLETDC_EChannel[10][2]
protected

Definition at line 67 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D QIE11Task::_cLETDCTime_EChannel[2]
protected

Definition at line 68 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D QIE11Task::_cLETDCTimevsADC
protected

Definition at line 75 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D QIE11Task::_cLETDCvsADC
protected

Definition at line 74 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D QIE11Task::_cLETDCvsADC_EChannel[10][2]
protected

Definition at line 65 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D QIE11Task::_cLETDCvsTS_EChannel[2]
protected

Definition at line 66 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D QIE11Task::_cOccupancy_depth
protected

Definition at line 70 of file QIE11Task.h.

hcaldqm::ContainerSingleProf1D QIE11Task::_cShapeCut
protected

Definition at line 73 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D QIE11Task::_cShapeCut_EChannel[2]
protected

Definition at line 64 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

double QIE11Task::_cut
protected

Definition at line 49 of file QIE11Task.h.

Referenced by QIE11Task().

hcaldqm::electronicsmap::ElectronicsMap QIE11Task::_ehashmap
protected

Definition at line 61 of file QIE11Task.h.

Referenced by _process(), and bookHistograms().

int QIE11Task::_eventType
protected

Definition at line 52 of file QIE11Task.h.

Referenced by _isApplicable(), and QIE11Task().

hcaldqm::filter::HashFilter QIE11Task::_filter_C34
protected

Definition at line 56 of file QIE11Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter QIE11Task::_filter_slot[2]
protected

Definition at line 57 of file QIE11Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter QIE11Task::_filter_timingChannels[4]
protected

Definition at line 58 of file QIE11Task.h.

Referenced by bookHistograms().

int QIE11Task::_laserType
protected

Definition at line 51 of file QIE11Task.h.

Referenced by _isApplicable(), and QIE11Task().

int QIE11Task::_ped
protected

Definition at line 50 of file QIE11Task.h.

Referenced by QIE11Task().

edm::InputTag QIE11Task::_tagQIE11
protected

Definition at line 40 of file QIE11Task.h.

Referenced by QIE11Task().

edm::InputTag QIE11Task::_taguMN
protected

Definition at line 43 of file QIE11Task.h.

Referenced by QIE11Task().

edm::EDGetTokenT<QIE11DigiCollection> QIE11Task::_tokQIE11
protected

Definition at line 41 of file QIE11Task.h.

Referenced by _process(), and QIE11Task().

edm::EDGetTokenT<HcalUMNioDigi> QIE11Task::_tokuMN
protected

Definition at line 44 of file QIE11Task.h.

Referenced by _isApplicable(), and QIE11Task().