CMS 3D CMS Logo

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

#include <DQMHcalPhiSymAlCaReco.h>

Inheritance diagram for DQMHcalPhiSymAlCaReco:
DQMOneEDAnalyzer<> edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 DQMHcalPhiSymAlCaReco (const edm::ParameterSet &)
 
 ~DQMHcalPhiSymAlCaReco () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer<>
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmEndRun (const edm::Run &r, const edm::EventSetup &c) override
 
- Protected Member Functions inherited from DQMOneEDAnalyzer<>
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Private Attributes

int eventCounter_
 
std::string fileName_
 Output file name if required. More...
 
std::string folderName_
 DQM folder name. More...
 
edm::EDGetTokenT< HBHERecHitCollectionhbherecoMB
 object to monitor More...
 
edm::EDGetTokenT< HBHERecHitCollectionhbherecoNoise
 
MonitorElementhFEDsize
 
edm::EDGetTokenT< HFRecHitCollectionhfrecoMB
 
edm::EDGetTokenT< HFRecHitCollectionhfrecoNoise
 
MonitorElementhHcalIsZS
 
int hiDistr_r_nbin_
 
double hiDistr_x_max_
 
double hiDistr_x_min_
 
int hiDistr_x_nbin_
 
double hiDistr_y_max_
 
double hiDistr_y_min_
 
int hiDistr_y_nbin_
 
MonitorElementhiDistrHBHEsize1D_
 
MonitorElementhiDistrHFsize1D_
 
MonitorElementhiDistrMB2Min2D_
 
MonitorElementhiDistrMB2Pl2D_
 
MonitorElementhiDistrMBMin2D_
 
MonitorElementhiDistrMBPl2D_
 
MonitorElementhiDistrNoise2Min2D_
 
MonitorElementhiDistrNoise2Pl2D_
 
MonitorElementhiDistrNoiseMin2D_
 
MonitorElementhiDistrNoisePl2D_
 
MonitorElementhiDistrVarMBMin2D_
 
MonitorElementhiDistrVarMBPl2D_
 
MonitorElementhiDistrVarNoiseMin2D_
 
MonitorElementhiDistrVarNoisePl2D_
 
MonitorElementhL1Id
 
edm::InputTag horecoMB
 
edm::InputTag horecoNoise
 
double ihbhe_size_
 
double ihf_size_
 
unsigned int period_
 
edm::EDGetTokenT< FEDRawDataCollectionrawInLabel_
 
bool saveToFile_
 Write to file. More...
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer<>
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer<>
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 21 of file DQMHcalPhiSymAlCaReco.h.

Constructor & Destructor Documentation

◆ DQMHcalPhiSymAlCaReco()

DQMHcalPhiSymAlCaReco::DQMHcalPhiSymAlCaReco ( const edm::ParameterSet ps)

Definition at line 44 of file DQMHcalPhiSymAlCaReco.cc.

44  : eventCounter_(0) {
45  //
46  // Input from configurator file
47  //
48  folderName_ = ps.getUntrackedParameter<string>("FolderName", "ALCAStreamHcalPhiSym");
49 
50  hbherecoMB = consumes<HBHERecHitCollection>(ps.getParameter<edm::InputTag>("hbheInputMB"));
51  horecoMB = ps.getParameter<edm::InputTag>("hoInputMB");
52  hfrecoMB = consumes<HFRecHitCollection>(ps.getParameter<edm::InputTag>("hfInputMB"));
53 
54  hbherecoNoise = consumes<HBHERecHitCollection>(ps.getParameter<edm::InputTag>("hbheInputNoise"));
55  horecoNoise = ps.getParameter<edm::InputTag>("hoInputNoise");
56  hfrecoNoise = consumes<HFRecHitCollection>(ps.getParameter<edm::InputTag>("hfInputNoise"));
57 
58  rawInLabel_ = consumes<FEDRawDataCollection>(ps.getParameter<edm::InputTag>("rawInputLabel"));
59 
60  period_ = ps.getParameter<unsigned int>("period");
61 
62  saveToFile_ = ps.getUntrackedParameter<bool>("SaveToFile", false);
63  fileName_ = ps.getUntrackedParameter<string>("FileName", "MonitorAlCaHcalPhiSym.root");
64 
65  // histogram parameters
66 
67  // Distribution of rechits in iPhi, iEta
68  hiDistr_y_nbin_ = ps.getUntrackedParameter<int>("hiDistr_y_nbin", 72);
69  hiDistr_y_min_ = ps.getUntrackedParameter<double>("hiDistr_y_min", 0.5);
70  hiDistr_y_max_ = ps.getUntrackedParameter<double>("hiDistr_y_max", 72.5);
71  hiDistr_x_nbin_ = ps.getUntrackedParameter<int>("hiDistr_x_nbin", 41);
72  hiDistr_x_min_ = ps.getUntrackedParameter<double>("hiDistr_x_min", 0.5);
73  hiDistr_x_max_ = ps.getUntrackedParameter<double>("hiDistr_x_max", 41.5);
74  // Check for NZS
75  hiDistr_r_nbin_ = ps.getUntrackedParameter<int>("hiDistr_r_nbin", 100);
76  ihbhe_size_ = ps.getUntrackedParameter<double>("ihbhe_size_", 5184.);
77  ihf_size_ = ps.getUntrackedParameter<double>("ihf_size_", 1728.);
78 }

References fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hbherecoMB, hbherecoNoise, hfrecoMB, hfrecoNoise, hiDistr_r_nbin_, hiDistr_x_max_, hiDistr_x_min_, hiDistr_x_nbin_, hiDistr_y_max_, hiDistr_y_min_, hiDistr_y_nbin_, horecoMB, horecoNoise, ihbhe_size_, ihf_size_, period_, rawInLabel_, and saveToFile_.

◆ ~DQMHcalPhiSymAlCaReco()

DQMHcalPhiSymAlCaReco::~DQMHcalPhiSymAlCaReco ( )
override

Definition at line 80 of file DQMHcalPhiSymAlCaReco.cc.

80 {}

Member Function Documentation

◆ analyze()

void DQMHcalPhiSymAlCaReco::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 269 of file DQMHcalPhiSymAlCaReco.cc.

269  {
270  eventCounter_++;
271 
273  iEvent.getByToken(rawInLabel_, rawIn);
274 
275  if (!rawIn.isValid()) {
276  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
277  return;
278  }
279 
280  // get HCAL FEDs:
281  std::vector<int> selFEDs;
283  selFEDs.push_back(i);
284  }
285 
286  // std::cout<<" Size of FED "<<selFEDs.size()<<std::endl;
287 
288  const FEDRawDataCollection *rdc = rawIn.product();
289 
290  bool hcalIsZS = false;
291  int lvl1ID = 0;
292  bool lvl1IDFound = false;
293  for (unsigned int k = 0; k < selFEDs.size(); k++) {
294  const FEDRawData &fedData = rdc->FEDData(selFEDs[k]);
295  // std::cout<<fedData.size()*std::pow(1024.,-1)<<std::endl;
296  hFEDsize->Fill(fedData.size() * std::pow(1024., -1), 1);
297 
298  // get HCAL DCC Header for each FEDRawData
299  const HcalDCCHeader *dccHeader = (const HcalDCCHeader *)(fedData.data());
300  if (dccHeader) {
301  // walk through the HTR data...
302  HcalHTRData htr;
303 
304  int nspigot = 0;
305  for (int spigot = 0; spigot < HcalDCCHeader::SPIGOT_COUNT; spigot++) {
306  nspigot++;
307 
308  if (!dccHeader->getSpigotPresent(spigot))
309  continue;
310 
311  // Load the given decoder with the pointer and length from this spigot.
312  dccHeader->getSpigotData(spigot, htr, fedData.size());
313 
314  if (k != 20 && nspigot != 14) {
315  if (!htr.isUnsuppressed()) {
316  hcalIsZS = true;
317  }
318  }
319  }
320  }
321 
322  // try to get the lvl1ID from the HCAL fed
323  if (!lvl1IDFound && (fedData.size() > 0)) {
324  // get FED Header for FEDRawData
325  FEDHeader fedHeader(fedData.data());
326  lvl1ID = fedHeader.lvl1ID();
327  lvl1IDFound = true;
328  }
329  } // loop over HcalFEDs
330 
331  hHcalIsZS->Fill(hcalIsZS);
332  hL1Id->Fill(lvl1ID % period_);
333 
335  iEvent.getByToken(hbherecoNoise, hbheNS);
336 
337  if (!hbheNS.isValid()) {
338  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
339  return;
340  }
341 
343  iEvent.getByToken(hbherecoMB, hbheMB);
344 
345  if (!hbheMB.isValid()) {
346  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
347  return;
348  }
349 
351  iEvent.getByToken(hfrecoNoise, hfNS);
352 
353  if (!hfNS.isValid()) {
354  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
355  return;
356  }
357 
359  iEvent.getByToken(hfrecoMB, hfMB);
360 
361  if (!hfMB.isValid()) {
362  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
363  return;
364  }
365 
366  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
367 
368  hiDistrHBHEsize1D_->Fill(HithbheNS.size() / ihbhe_size_);
369 
370  for (HBHERecHitCollection::const_iterator hbheItr = HithbheNS.begin(); hbheItr != HithbheNS.end(); hbheItr++) {
371  DetId id = (*hbheItr).detid();
372  HcalDetId hid = HcalDetId(id);
373 
374  if (hid.depth() == 1) {
375  if (hid.ieta() > 0) {
376  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
377  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
378  } else {
379  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
380  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
381  }
382  }
383  }
384 
385  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
386 
387  for (HBHERecHitCollection::const_iterator hbheItr = HithbheMB.begin(); hbheItr != HithbheMB.end(); hbheItr++) {
388  DetId id = (*hbheItr).detid();
389  HcalDetId hid = HcalDetId(id);
390 
391  if (hid.depth() == 1) {
392  if (hid.ieta() > 0) {
393  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
394  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
395  } else {
396  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
397  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
398  }
399  }
400  }
401 
402  const HFRecHitCollection HithfNS = *(hfNS.product());
403 
404  hiDistrHFsize1D_->Fill(HithfNS.size() / ihf_size_);
405 
406  for (HFRecHitCollection::const_iterator hbheItr = HithfNS.begin(); hbheItr != HithfNS.end(); hbheItr++) {
407  DetId id = (*hbheItr).detid();
408  HcalDetId hid = HcalDetId(id);
409 
410  if (hid.depth() == 1) {
411  if (hid.ieta() > 0) {
412  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
413  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
414  } else {
415  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
416  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
417  }
418  }
419  }
420 
421  const HFRecHitCollection HithfMB = *(hfMB.product());
422 
423  for (HFRecHitCollection::const_iterator hbheItr = HithfMB.begin(); hbheItr != HithfMB.end(); hbheItr++) {
424  DetId id = (*hbheItr).detid();
425  HcalDetId hid = HcalDetId(id);
426 
427  if (hid.depth() == 1) {
428  if (hid.ieta() > 0) {
429  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
430  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
431  } else {
432  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
433  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
434  }
435  }
436  }
437 
438 } // analyze

References edm::SortedCollection< T, SORT >::begin(), FEDRawData::data(), HcalDetId::depth(), edm::SortedCollection< T, SORT >::end(), eventCounter_, FEDRawDataCollection::FEDData(), dqm::impl::MonitorElement::Fill(), HcalDCCHeader::getSpigotData(), HcalDCCHeader::getSpigotPresent(), hbherecoMB, hbherecoNoise, hFEDsize, hfrecoMB, hfrecoNoise, hHcalIsZS, hiDistrHBHEsize1D_, hiDistrHFsize1D_, hiDistrMB2Min2D_, hiDistrMB2Pl2D_, hiDistrMBMin2D_, hiDistrMBPl2D_, hiDistrNoise2Min2D_, hiDistrNoise2Pl2D_, hiDistrNoiseMin2D_, hiDistrNoisePl2D_, hL1Id, mps_fire::i, HcalDetId::ieta(), iEvent, ihbhe_size_, ihf_size_, HcalDetId::iphi(), HcalHTRData::isUnsuppressed(), edm::HandleBase::isValid(), dqmdumpme::k, LogDebug, FEDHeader::lvl1ID(), FEDNumbering::MAXHCALFEDID, FEDNumbering::MINHCALFEDID, period_, funct::pow(), edm::Handle< T >::product(), rawInLabel_, FEDRawData::size(), edm::SortedCollection< T, SORT >::size(), and HcalDCCHeader::SPIGOT_COUNT.

◆ bookHistograms()

void DQMHcalPhiSymAlCaReco::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  irun,
edm::EventSetup const &  isetup 
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer<>.

Definition at line 83 of file DQMHcalPhiSymAlCaReco.cc.

85  {
86  // create and cd into new folder
88 
89  eventCounter_ = 0;
90 
91  hFEDsize = ibooker.book1D("hFEDsize", "HCAL FED size (kB)", 200, -0.5, 20.5);
92  hFEDsize->setAxisTitle("kB", 1);
93 
94  hHcalIsZS = ibooker.book1D("hHcalIsZS", "Hcal Is ZS", 4, -1.5, 2.5);
95  hHcalIsZS->setBinLabel(2, "NZS");
96  hHcalIsZS->setBinLabel(3, "ZS");
97 
98  char hname[50];
99  sprintf(hname, "L1 Event Number %% %i", period_);
100  hL1Id = ibooker.book1D("hL1Id", hname, 4200, -99.5, 4099.5);
101  hL1Id->setAxisTitle(hname);
102 
103  // book some histograms 1D
104  double xmin = 0.1;
105  double xmax = 1.1;
106  hiDistrHBHEsize1D_ = ibooker.book1D("DistrHBHEsize", "Size of HBHE Collection", hiDistr_r_nbin_, xmin, xmax);
107  hiDistrHFsize1D_ = ibooker.book1D("DistrHFsize", "Size of HF Collection", hiDistr_r_nbin_, xmin, xmax);
108 
109  // First moment
110  hiDistrMBPl2D_ = ibooker.book2D("MBdepthPl1",
111  "iphi- +ieta signal distribution at depth1",
118 
119  hiDistrMBPl2D_->setAxisTitle("i#phi ", 2);
120  hiDistrMBPl2D_->setAxisTitle("i#eta ", 1);
121 
122  hiDistrNoisePl2D_ = ibooker.book2D("NoisedepthPl1",
123  "iphi-ieta noise distribution at depth1",
124  hiDistr_x_nbin_ + 1,
125  hiDistr_x_min_ - 1.,
127  hiDistr_y_nbin_ + 1,
128  hiDistr_y_min_ - 1.,
130 
131  hiDistrNoisePl2D_->setAxisTitle("i#phi ", 2);
132  hiDistrNoisePl2D_->setAxisTitle("i#eta ", 1);
133  // Second moment
134  hiDistrMB2Pl2D_ = ibooker.book2D("MB2depthPl1",
135  "iphi- +ieta signal distribution at depth1",
142 
143  hiDistrMB2Pl2D_->setAxisTitle("i#phi ", 2);
144  hiDistrMB2Pl2D_->setAxisTitle("i#eta ", 1);
145 
146  hiDistrNoise2Pl2D_ = ibooker.book2D("Noise2depthPl1",
147  "iphi-ieta noise distribution at depth1",
154 
155  hiDistrNoise2Pl2D_->setAxisTitle("i#phi ", 2);
156  hiDistrNoise2Pl2D_->setAxisTitle("i#eta ", 1);
157 
158  // Variance
159  hiDistrVarMBPl2D_ = ibooker.book2D("VarMBdepthPl1",
160  "iphi- +ieta signal distribution at depth1",
167 
168  hiDistrVarMBPl2D_->setAxisTitle("i#phi ", 2);
169  hiDistrVarMBPl2D_->setAxisTitle("i#eta ", 1);
170 
171  hiDistrVarNoisePl2D_ = ibooker.book2D("VarNoisedepthPl1",
172  "iphi-ieta noise distribution at depth1",
179 
180  hiDistrVarNoisePl2D_->setAxisTitle("i#phi ", 2);
181  hiDistrVarNoisePl2D_->setAxisTitle("i#eta ", 1);
182 
183  //==================================================================================
184  // First moment
185  hiDistrMBMin2D_ = ibooker.book2D("MBdepthMin1",
186  "iphi- +ieta signal distribution at depth1",
193 
194  hiDistrMBMin2D_->setAxisTitle("i#phi ", 2);
195  hiDistrMBMin2D_->setAxisTitle("i#eta ", 1);
196 
197  hiDistrNoiseMin2D_ = ibooker.book2D("NoisedepthMin1",
198  "iphi-ieta noise distribution at depth1",
205 
206  hiDistrNoiseMin2D_->setAxisTitle("i#phi ", 2);
207  hiDistrNoiseMin2D_->setAxisTitle("i#eta ", 1);
208  // Second moment
209  hiDistrMB2Min2D_ = ibooker.book2D("MB2depthMin1",
210  "iphi- +ieta signal distribution at depth1",
217 
218  hiDistrMB2Min2D_->setAxisTitle("i#phi ", 2);
219  hiDistrMB2Min2D_->setAxisTitle("i#eta ", 1);
220 
221  hiDistrNoise2Min2D_ = ibooker.book2D("Noise2depthMin1",
222  "iphi-ieta noise distribution at depth1",
229 
230  hiDistrNoise2Min2D_->setAxisTitle("i#phi ", 2);
231  hiDistrNoise2Min2D_->setAxisTitle("i#eta ", 1);
232 
233  // Variance
234  hiDistrVarMBMin2D_ = ibooker.book2D("VarMBdepthMin1",
235  "iphi- +ieta signal distribution at depth1",
242 
243  hiDistrVarMBMin2D_->setAxisTitle("i#phi ", 2);
244  hiDistrVarMBMin2D_->setAxisTitle("i#eta ", 1);
245 
246  hiDistrVarNoiseMin2D_ = ibooker.book2D("VarNoisedepthMin1",
247  "iphi-ieta noise distribution at depth1",
254 
255  hiDistrVarNoiseMin2D_->setAxisTitle("i#phi ", 2);
256  hiDistrVarNoiseMin2D_->setAxisTitle("i#eta ", 1);
257 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), eventCounter_, folderName_, hFEDsize, hHcalIsZS, hiDistr_r_nbin_, hiDistr_x_max_, hiDistr_x_min_, hiDistr_x_nbin_, hiDistr_y_max_, hiDistr_y_min_, hiDistr_y_nbin_, hiDistrHBHEsize1D_, hiDistrHFsize1D_, hiDistrMB2Min2D_, hiDistrMB2Pl2D_, hiDistrMBMin2D_, hiDistrMBPl2D_, hiDistrNoise2Min2D_, hiDistrNoise2Pl2D_, hiDistrNoiseMin2D_, hiDistrNoisePl2D_, hiDistrVarMBMin2D_, hiDistrVarMBPl2D_, hiDistrVarNoiseMin2D_, hiDistrVarNoisePl2D_, hL1Id, period_, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.

◆ dqmEndRun()

void DQMHcalPhiSymAlCaReco::dqmEndRun ( const edm::Run r,
const edm::EventSetup c 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 442 of file DQMHcalPhiSymAlCaReco.cc.

442  {
443  // Keep Variances
444  if (eventCounter_ > 0) {
445  for (int k = 0; k <= hiDistr_x_nbin_; k++) {
446  for (int j = 0; j <= hiDistr_y_nbin_; j++) {
447  // First moment
448  float cc1 = hiDistrMBPl2D_->getBinContent(k, j);
449  cc1 = cc1 * 1. / eventCounter_;
450  float cc2 = hiDistrNoisePl2D_->getBinContent(k, j);
451  cc2 = cc2 * 1. / eventCounter_;
452  float cc3 = hiDistrMBMin2D_->getBinContent(k, j);
453  cc3 = cc3 * 1. / eventCounter_;
454  float cc4 = hiDistrNoiseMin2D_->getBinContent(k, j);
455  cc4 = cc4 * 1. / eventCounter_;
456  // Second moment
457  float cc11 = hiDistrMB2Pl2D_->getBinContent(k, j);
458  cc11 = cc11 * 1. / eventCounter_;
459  hiDistrVarMBPl2D_->setBinContent(k, j, cc11 - cc1 * cc1);
460  float cc22 = hiDistrNoise2Pl2D_->getBinContent(k, j);
461  cc22 = cc22 * 1. / eventCounter_;
462  hiDistrVarNoisePl2D_->setBinContent(k, j, cc22 - cc2 * cc2);
463  float cc33 = hiDistrMB2Min2D_->getBinContent(k, j);
464  cc33 = cc33 * 1. / eventCounter_;
465  hiDistrVarMBMin2D_->setBinContent(k, j, cc33 - cc3 * cc3);
466  float cc44 = hiDistrNoise2Min2D_->getBinContent(k, j);
467  cc44 = cc44 * 1. / eventCounter_;
468  hiDistrVarNoiseMin2D_->setBinContent(k, j, cc44 - cc4 * cc4);
469  }
470  }
471  }
472 }

References eventCounter_, dqm::impl::MonitorElement::getBinContent(), hiDistr_x_nbin_, hiDistr_y_nbin_, hiDistrMB2Min2D_, hiDistrMB2Pl2D_, hiDistrMBMin2D_, hiDistrMBPl2D_, hiDistrNoise2Min2D_, hiDistrNoise2Pl2D_, hiDistrNoiseMin2D_, hiDistrNoisePl2D_, hiDistrVarMBMin2D_, hiDistrVarMBPl2D_, hiDistrVarNoiseMin2D_, hiDistrVarNoisePl2D_, dqmiolumiharvest::j, dqmdumpme::k, and dqm::impl::MonitorElement::setBinContent().

Member Data Documentation

◆ eventCounter_

int DQMHcalPhiSymAlCaReco::eventCounter_
private

Definition at line 34 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ fileName_

std::string DQMHcalPhiSymAlCaReco::fileName_
private

Output file name if required.

Definition at line 94 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

◆ folderName_

std::string DQMHcalPhiSymAlCaReco::folderName_
private

DQM folder name.

Definition at line 85 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hbherecoMB

edm::EDGetTokenT<HBHERecHitCollection> DQMHcalPhiSymAlCaReco::hbherecoMB
private

object to monitor

Definition at line 74 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hbherecoNoise

edm::EDGetTokenT<HBHERecHitCollection> DQMHcalPhiSymAlCaReco::hbherecoNoise
private

Definition at line 78 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hFEDsize

MonitorElement* DQMHcalPhiSymAlCaReco::hFEDsize
private

Definition at line 57 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and bookHistograms().

◆ hfrecoMB

edm::EDGetTokenT<HFRecHitCollection> DQMHcalPhiSymAlCaReco::hfrecoMB
private

Definition at line 76 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hfrecoNoise

edm::EDGetTokenT<HFRecHitCollection> DQMHcalPhiSymAlCaReco::hfrecoNoise
private

Definition at line 80 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hHcalIsZS

MonitorElement* DQMHcalPhiSymAlCaReco::hHcalIsZS
private

Definition at line 58 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and bookHistograms().

◆ hiDistr_r_nbin_

int DQMHcalPhiSymAlCaReco::hiDistr_r_nbin_
private

Definition at line 68 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_x_max_

double DQMHcalPhiSymAlCaReco::hiDistr_x_max_
private

Definition at line 66 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_x_min_

double DQMHcalPhiSymAlCaReco::hiDistr_x_min_
private

Definition at line 65 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_x_nbin_

int DQMHcalPhiSymAlCaReco::hiDistr_x_nbin_
private

Definition at line 62 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), dqmEndRun(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_y_max_

double DQMHcalPhiSymAlCaReco::hiDistr_y_max_
private

Definition at line 64 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_y_min_

double DQMHcalPhiSymAlCaReco::hiDistr_y_min_
private

Definition at line 63 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hiDistr_y_nbin_

int DQMHcalPhiSymAlCaReco::hiDistr_y_nbin_
private

Definition at line 61 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), dqmEndRun(), and DQMHcalPhiSymAlCaReco().

◆ hiDistrHBHEsize1D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrHBHEsize1D_
private

Definition at line 54 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and bookHistograms().

◆ hiDistrHFsize1D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrHFsize1D_
private

Definition at line 55 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and bookHistograms().

◆ hiDistrMB2Min2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrMB2Min2D_
private

Definition at line 46 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrMB2Pl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrMB2Pl2D_
private

Definition at line 44 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrMBMin2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrMBMin2D_
private

Definition at line 41 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrMBPl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrMBPl2D_
private

Definition at line 39 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrNoise2Min2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrNoise2Min2D_
private

Definition at line 47 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrNoise2Pl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrNoise2Pl2D_
private

Definition at line 45 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrNoiseMin2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrNoiseMin2D_
private

Definition at line 42 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrNoisePl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrNoisePl2D_
private

Definition at line 40 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and dqmEndRun().

◆ hiDistrVarMBMin2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrVarMBMin2D_
private

Definition at line 51 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and dqmEndRun().

◆ hiDistrVarMBPl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrVarMBPl2D_
private

Definition at line 49 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and dqmEndRun().

◆ hiDistrVarNoiseMin2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrVarNoiseMin2D_
private

Definition at line 52 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and dqmEndRun().

◆ hiDistrVarNoisePl2D_

MonitorElement* DQMHcalPhiSymAlCaReco::hiDistrVarNoisePl2D_
private

Definition at line 50 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and dqmEndRun().

◆ hL1Id

MonitorElement* DQMHcalPhiSymAlCaReco::hL1Id
private

Definition at line 59 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and bookHistograms().

◆ horecoMB

edm::InputTag DQMHcalPhiSymAlCaReco::horecoMB
private

Definition at line 75 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

◆ horecoNoise

edm::InputTag DQMHcalPhiSymAlCaReco::horecoNoise
private

Definition at line 79 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

◆ ihbhe_size_

double DQMHcalPhiSymAlCaReco::ihbhe_size_
private

Definition at line 69 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ ihf_size_

double DQMHcalPhiSymAlCaReco::ihf_size_
private

Definition at line 70 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ period_

unsigned int DQMHcalPhiSymAlCaReco::period_
private

Definition at line 91 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ rawInLabel_

edm::EDGetTokenT<FEDRawDataCollection> DQMHcalPhiSymAlCaReco::rawInLabel_
private

Definition at line 82 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ saveToFile_

bool DQMHcalPhiSymAlCaReco::saveToFile_
private

Write to file.

Definition at line 88 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
DQMHcalPhiSymAlCaReco::hiDistrMB2Pl2D_
MonitorElement * hiDistrMB2Pl2D_
Definition: DQMHcalPhiSymAlCaReco.h:44
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
DQMHcalPhiSymAlCaReco::hiDistr_x_nbin_
int hiDistr_x_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:62
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
HcalHTRData::isUnsuppressed
bool isUnsuppressed() const
Is this event an unsuppresed event?
Definition: HcalHTRData.cc:378
DQMHcalPhiSymAlCaReco::hiDistrVarMBMin2D_
MonitorElement * hiDistrVarMBMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:51
DQMHcalPhiSymAlCaReco::hiDistrNoiseMin2D_
MonitorElement * hiDistrNoiseMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:42
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
edm::SortedCollection
Definition: SortedCollection.h:49
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DQMHcalPhiSymAlCaReco::horecoMB
edm::InputTag horecoMB
Definition: DQMHcalPhiSymAlCaReco.h:75
FEDHeader::lvl1ID
uint32_t lvl1ID() const
Level-1 event number generated by the TTC system.
Definition: FEDHeader.cc:15
edm::Handle< FEDRawDataCollection >
DQMHcalPhiSymAlCaReco::hiDistrNoise2Pl2D_
MonitorElement * hiDistrNoise2Pl2D_
Definition: DQMHcalPhiSymAlCaReco.h:45
HcalDCCHeader::SPIGOT_COUNT
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
FEDRawData::data
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
FEDRawData
Definition: FEDRawData.h:19
DQMHcalPhiSymAlCaReco::eventCounter_
int eventCounter_
Definition: DQMHcalPhiSymAlCaReco.h:34
DetId
Definition: DetId.h:17
DQMHcalPhiSymAlCaReco::ihbhe_size_
double ihbhe_size_
Definition: DQMHcalPhiSymAlCaReco.h:69
DQMHcalPhiSymAlCaReco::hiDistrMBPl2D_
MonitorElement * hiDistrMBPl2D_
Definition: DQMHcalPhiSymAlCaReco.h:39
DQMHcalPhiSymAlCaReco::hiDistrNoisePl2D_
MonitorElement * hiDistrNoisePl2D_
Definition: DQMHcalPhiSymAlCaReco.h:40
DQMHcalPhiSymAlCaReco::saveToFile_
bool saveToFile_
Write to file.
Definition: DQMHcalPhiSymAlCaReco.h:88
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
DQMHcalPhiSymAlCaReco::hbherecoMB
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
Definition: DQMHcalPhiSymAlCaReco.h:74
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DQMHcalPhiSymAlCaReco::ihf_size_
double ihf_size_
Definition: DQMHcalPhiSymAlCaReco.h:70
dqmdumpme.k
k
Definition: dqmdumpme.py:60
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
DQMHcalPhiSymAlCaReco::hL1Id
MonitorElement * hL1Id
Definition: DQMHcalPhiSymAlCaReco.h:59
DQMHcalPhiSymAlCaReco::hiDistr_r_nbin_
int hiDistr_r_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:68
DQMHcalPhiSymAlCaReco::hiDistrVarNoiseMin2D_
MonitorElement * hiDistrVarNoiseMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:52
DQMHcalPhiSymAlCaReco::hiDistrHBHEsize1D_
MonitorElement * hiDistrHBHEsize1D_
Definition: DQMHcalPhiSymAlCaReco.h:54
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
DQMHcalPhiSymAlCaReco::hiDistr_x_max_
double hiDistr_x_max_
Definition: DQMHcalPhiSymAlCaReco.h:66
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
DQMHcalPhiSymAlCaReco::hiDistrVarMBPl2D_
MonitorElement * hiDistrVarMBPl2D_
Definition: DQMHcalPhiSymAlCaReco.h:49
DQMHcalPhiSymAlCaReco::horecoNoise
edm::InputTag horecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:79
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
HcalDetId
Definition: HcalDetId.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
DQMHcalPhiSymAlCaReco::hHcalIsZS
MonitorElement * hHcalIsZS
Definition: DQMHcalPhiSymAlCaReco.h:58
DQMHcalPhiSymAlCaReco::hiDistr_x_min_
double hiDistr_x_min_
Definition: DQMHcalPhiSymAlCaReco.h:65
DQMHcalPhiSymAlCaReco::rawInLabel_
edm::EDGetTokenT< FEDRawDataCollection > rawInLabel_
Definition: DQMHcalPhiSymAlCaReco.h:82
DQMHcalPhiSymAlCaReco::hiDistrMBMin2D_
MonitorElement * hiDistrMBMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:41
FEDRawData::size
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
HcalDCCHeader::getSpigotPresent
bool getSpigotPresent(unsigned int nspigot) const
Read the "PRESENT" bit for this spigot.
Definition: HcalDCCHeader.h:106
HcalDCCHeader
Definition: HcalDCCHeader.h:17
DQMHcalPhiSymAlCaReco::hiDistr_y_nbin_
int hiDistr_y_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:61
DQMHcalPhiSymAlCaReco::hiDistrHFsize1D_
MonitorElement * hiDistrHFsize1D_
Definition: DQMHcalPhiSymAlCaReco.h:55
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
DQMHcalPhiSymAlCaReco::hFEDsize
MonitorElement * hFEDsize
Definition: DQMHcalPhiSymAlCaReco.h:57
DQMHcalPhiSymAlCaReco::folderName_
std::string folderName_
DQM folder name.
Definition: DQMHcalPhiSymAlCaReco.h:85
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
FEDNumbering::MINHCALFEDID
Definition: FEDNumbering.h:47
DQMHcalPhiSymAlCaReco::hfrecoMB
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
Definition: DQMHcalPhiSymAlCaReco.h:76
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DQMHcalPhiSymAlCaReco::hiDistrMB2Min2D_
MonitorElement * hiDistrMB2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:46
DQMHcalPhiSymAlCaReco::hiDistr_y_min_
double hiDistr_y_min_
Definition: DQMHcalPhiSymAlCaReco.h:63
DQMHcalPhiSymAlCaReco::period_
unsigned int period_
Definition: DQMHcalPhiSymAlCaReco.h:91
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
DQMHcalPhiSymAlCaReco::hiDistr_y_max_
double hiDistr_y_max_
Definition: DQMHcalPhiSymAlCaReco.h:64
FEDNumbering::MAXHCALFEDID
Definition: FEDNumbering.h:48
DQMHcalPhiSymAlCaReco::fileName_
std::string fileName_
Output file name if required.
Definition: DQMHcalPhiSymAlCaReco.h:94
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
FEDHeader
Definition: FEDHeader.h:14
DQMHcalPhiSymAlCaReco::hbherecoNoise
edm::EDGetTokenT< HBHERecHitCollection > hbherecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:78
HcalHTRData
Definition: HcalHTRData.h:16
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
dqm::impl::MonitorElement::getBinContent
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: MonitorElement.cc:592
edm::InputTag
Definition: InputTag.h:15
HcalDCCHeader::getSpigotData
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
Definition: HcalDCCHeader.cc:27
DQMHcalPhiSymAlCaReco::hiDistrVarNoisePl2D_
MonitorElement * hiDistrVarNoisePl2D_
Definition: DQMHcalPhiSymAlCaReco.h:50
DQMHcalPhiSymAlCaReco::hfrecoNoise
edm::EDGetTokenT< HFRecHitCollection > hfrecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:80
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
DQMHcalPhiSymAlCaReco::hiDistrNoise2Min2D_
MonitorElement * hiDistrNoise2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:47