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
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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_
 
bool perLSsaving_
 
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  perLSsaving_ = (ps.getUntrackedParameter<bool>("perLSsaving", false));
66 
67  // histogram parameters
68 
69  // Distribution of rechits in iPhi, iEta
70  hiDistr_y_nbin_ = ps.getUntrackedParameter<int>("hiDistr_y_nbin", 72);
71  hiDistr_y_min_ = ps.getUntrackedParameter<double>("hiDistr_y_min", 0.5);
72  hiDistr_y_max_ = ps.getUntrackedParameter<double>("hiDistr_y_max", 72.5);
73  hiDistr_x_nbin_ = ps.getUntrackedParameter<int>("hiDistr_x_nbin", 41);
74  hiDistr_x_min_ = ps.getUntrackedParameter<double>("hiDistr_x_min", 0.5);
75  hiDistr_x_max_ = ps.getUntrackedParameter<double>("hiDistr_x_max", 41.5);
76  // Check for NZS
77  hiDistr_r_nbin_ = ps.getUntrackedParameter<int>("hiDistr_r_nbin", 100);
78  ihbhe_size_ = ps.getUntrackedParameter<double>("ihbhe_size_", 5184.);
79  ihf_size_ = ps.getUntrackedParameter<double>("ihf_size_", 1728.);
80 }

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_, perLSsaving_, rawInLabel_, and saveToFile_.

◆ ~DQMHcalPhiSymAlCaReco()

DQMHcalPhiSymAlCaReco::~DQMHcalPhiSymAlCaReco ( )
override

Definition at line 82 of file DQMHcalPhiSymAlCaReco.cc.

82 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 271 of file DQMHcalPhiSymAlCaReco.cc.

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

87  {
88  // create and cd into new folder
90 
91  eventCounter_ = 0;
92 
93  hFEDsize = ibooker.book1D("hFEDsize", "HCAL FED size (kB)", 200, -0.5, 20.5);
94  hFEDsize->setAxisTitle("kB", 1);
95 
96  hHcalIsZS = ibooker.book1D("hHcalIsZS", "Hcal Is ZS", 4, -1.5, 2.5);
97  hHcalIsZS->setBinLabel(2, "NZS");
98  hHcalIsZS->setBinLabel(3, "ZS");
99 
100  char hname[50];
101  sprintf(hname, "L1 Event Number %% %i", period_);
102  hL1Id = ibooker.book1D("hL1Id", hname, 4200, -99.5, 4099.5);
103  hL1Id->setAxisTitle(hname);
104 
105  // book some histograms 1D
106  double xmin = 0.1;
107  double xmax = 1.1;
108  hiDistrHBHEsize1D_ = ibooker.book1D("DistrHBHEsize", "Size of HBHE Collection", hiDistr_r_nbin_, xmin, xmax);
109  hiDistrHFsize1D_ = ibooker.book1D("DistrHFsize", "Size of HF Collection", hiDistr_r_nbin_, xmin, xmax);
110 
111  // First moment
112  hiDistrMBPl2D_ = ibooker.book2D("MBdepthPl1",
113  "iphi- +ieta signal distribution at depth1",
120 
121  hiDistrMBPl2D_->setAxisTitle("i#phi ", 2);
122  hiDistrMBPl2D_->setAxisTitle("i#eta ", 1);
123 
124  hiDistrNoisePl2D_ = ibooker.book2D("NoisedepthPl1",
125  "iphi-ieta noise distribution at depth1",
126  hiDistr_x_nbin_ + 1,
127  hiDistr_x_min_ - 1.,
129  hiDistr_y_nbin_ + 1,
130  hiDistr_y_min_ - 1.,
132 
133  hiDistrNoisePl2D_->setAxisTitle("i#phi ", 2);
134  hiDistrNoisePl2D_->setAxisTitle("i#eta ", 1);
135  // Second moment
136  hiDistrMB2Pl2D_ = ibooker.book2D("MB2depthPl1",
137  "iphi- +ieta signal distribution at depth1",
144 
145  hiDistrMB2Pl2D_->setAxisTitle("i#phi ", 2);
146  hiDistrMB2Pl2D_->setAxisTitle("i#eta ", 1);
147 
148  hiDistrNoise2Pl2D_ = ibooker.book2D("Noise2depthPl1",
149  "iphi-ieta noise distribution at depth1",
156 
157  hiDistrNoise2Pl2D_->setAxisTitle("i#phi ", 2);
158  hiDistrNoise2Pl2D_->setAxisTitle("i#eta ", 1);
159 
160  // Variance
161  hiDistrVarMBPl2D_ = ibooker.book2D("VarMBdepthPl1",
162  "iphi- +ieta signal distribution at depth1",
169 
170  hiDistrVarMBPl2D_->setAxisTitle("i#phi ", 2);
171  hiDistrVarMBPl2D_->setAxisTitle("i#eta ", 1);
172 
173  hiDistrVarNoisePl2D_ = ibooker.book2D("VarNoisedepthPl1",
174  "iphi-ieta noise distribution at depth1",
181 
182  hiDistrVarNoisePl2D_->setAxisTitle("i#phi ", 2);
183  hiDistrVarNoisePl2D_->setAxisTitle("i#eta ", 1);
184 
185  //==================================================================================
186  // First moment
187  hiDistrMBMin2D_ = ibooker.book2D("MBdepthMin1",
188  "iphi- +ieta signal distribution at depth1",
195 
196  hiDistrMBMin2D_->setAxisTitle("i#phi ", 2);
197  hiDistrMBMin2D_->setAxisTitle("i#eta ", 1);
198 
199  hiDistrNoiseMin2D_ = ibooker.book2D("NoisedepthMin1",
200  "iphi-ieta noise distribution at depth1",
207 
208  hiDistrNoiseMin2D_->setAxisTitle("i#phi ", 2);
209  hiDistrNoiseMin2D_->setAxisTitle("i#eta ", 1);
210  // Second moment
211  hiDistrMB2Min2D_ = ibooker.book2D("MB2depthMin1",
212  "iphi- +ieta signal distribution at depth1",
219 
220  hiDistrMB2Min2D_->setAxisTitle("i#phi ", 2);
221  hiDistrMB2Min2D_->setAxisTitle("i#eta ", 1);
222 
223  hiDistrNoise2Min2D_ = ibooker.book2D("Noise2depthMin1",
224  "iphi-ieta noise distribution at depth1",
231 
232  hiDistrNoise2Min2D_->setAxisTitle("i#phi ", 2);
233  hiDistrNoise2Min2D_->setAxisTitle("i#eta ", 1);
234 
235  // Variance
236  hiDistrVarMBMin2D_ = ibooker.book2D("VarMBdepthMin1",
237  "iphi- +ieta signal distribution at depth1",
244 
245  hiDistrVarMBMin2D_->setAxisTitle("i#phi ", 2);
246  hiDistrVarMBMin2D_->setAxisTitle("i#eta ", 1);
247 
248  hiDistrVarNoiseMin2D_ = ibooker.book2D("VarNoisedepthMin1",
249  "iphi-ieta noise distribution at depth1",
256 
257  hiDistrVarNoiseMin2D_->setAxisTitle("i#phi ", 2);
258  hiDistrVarNoiseMin2D_->setAxisTitle("i#eta ", 1);
259 }

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 444 of file DQMHcalPhiSymAlCaReco.cc.

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

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, perLSsaving_, 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 96 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

◆ folderName_

std::string DQMHcalPhiSymAlCaReco::folderName_
private

DQM folder name.

Definition at line 87 of file DQMHcalPhiSymAlCaReco.h.

Referenced by bookHistograms(), and DQMHcalPhiSymAlCaReco().

◆ hbherecoMB

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

object to monitor

Definition at line 76 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hbherecoNoise

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

Definition at line 80 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 78 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ hfrecoNoise

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

Definition at line 82 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 77 of file DQMHcalPhiSymAlCaReco.h.

Referenced by DQMHcalPhiSymAlCaReco().

◆ horecoNoise

edm::InputTag DQMHcalPhiSymAlCaReco::horecoNoise
private

Definition at line 81 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 93 of file DQMHcalPhiSymAlCaReco.h.

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

◆ perLSsaving_

bool DQMHcalPhiSymAlCaReco::perLSsaving_
private

Definition at line 72 of file DQMHcalPhiSymAlCaReco.h.

Referenced by dqmEndRun(), and DQMHcalPhiSymAlCaReco().

◆ rawInLabel_

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

Definition at line 84 of file DQMHcalPhiSymAlCaReco.h.

Referenced by analyze(), and DQMHcalPhiSymAlCaReco().

◆ saveToFile_

bool DQMHcalPhiSymAlCaReco::saveToFile_
private

Write to file.

Definition at line 90 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:77
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
FEDNumbering::MAXHCALFEDID
Definition: FEDNumbering.h:48
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:90
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
DQMHcalPhiSymAlCaReco::hbherecoMB
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
Definition: DQMHcalPhiSymAlCaReco.h:76
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:81
FEDNumbering::MINHCALFEDID
Definition: FEDNumbering.h:47
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:84
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::perLSsaving_
bool perLSsaving_
Definition: DQMHcalPhiSymAlCaReco.h:72
DQMHcalPhiSymAlCaReco::folderName_
std::string folderName_
DQM folder name.
Definition: DQMHcalPhiSymAlCaReco.h:87
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
DQMHcalPhiSymAlCaReco::hfrecoMB
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
Definition: DQMHcalPhiSymAlCaReco.h:78
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:93
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
DQMHcalPhiSymAlCaReco::fileName_
std::string fileName_
Output file name if required.
Definition: DQMHcalPhiSymAlCaReco.h:96
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:80
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:82
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