CMS 3D CMS Logo

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

#include <HcalRecHitsAnalyzer.h>

Inheritance diagram for HcalRecHitsAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (edm::Event const &ev, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &run, const edm::EventSetup &) override
 
 HcalRecHitsAnalyzer (edm::ParameterSet const &conf)
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
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
 

Private Member Functions

double dPhiWsign (double phi1, double phi2)
 
double dR (double eta1, double phi1, double eta2, double phi2)
 
virtual void fillRecHitsTmp (int subdet_, edm::Event const &ev)
 
int hcalSevLvl (const CaloRecHit *hit)
 
double phi12 (double phi1, double en1, double phi2, double en2)
 

Private Attributes

edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeometryEventToken_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeometryRunToken_
 
std::vector< uint32_t > cauxstwd
 
std::vector< double > cchi2
 
std::vector< int > cdepth
 
std::vector< double > cen
 
std::vector< double > cenM0
 
std::vector< double > cenM3
 
std::vector< double > ceta
 
std::vector< int > cieta
 
std::vector< int > ciphi
 
std::vector< double > cphi
 
std::vector< int > csevlev
 
std::vector< uint32_t > cstwd
 
std::vector< int > csub
 
std::vector< double > ctime
 
std::vector< double > cz
 
std::string ecalselector_
 
std::vector< MonitorElement * > emap
 
MonitorElementemap_HO
 
std::vector< MonitorElement * > emean_vs_ieta_HB
 
std::vector< MonitorElement * > emean_vs_ieta_HBM0
 
std::vector< MonitorElement * > emean_vs_ieta_HBM3
 
std::vector< MonitorElement * > emean_vs_ieta_HE
 
std::vector< MonitorElement * > emean_vs_ieta_HEM0
 
std::vector< MonitorElement * > emean_vs_ieta_HEM3
 
std::vector< MonitorElement * > emean_vs_ieta_HEP17
 
std::vector< MonitorElement * > emean_vs_ieta_HEP17M0
 
std::vector< MonitorElement * > emean_vs_ieta_HEP17M3
 
std::vector< MonitorElement * > emean_vs_ieta_HF
 
MonitorElementemean_vs_ieta_HO
 
int etype_
 
std::string eventype_
 
bool famos_
 
CaloGeometry const * geometry = nullptr
 
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcdhcalChannelQualityToken_
 
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordhcalDDDRecConstantsToken_
 
std::vector< int > hcalHBSevLvlVec
 
std::vector< int > hcalHESevLvlVec
 
std::vector< int > hcalHFSevLvlVec
 
std::vector< int > hcalHOSevLvlVec
 
std::string hcalselector_
 
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcdhcalSeverityLevelComputerToken_
 
edm::ESGetToken< HcalTopology, HcalRecNumberingRecordhcalTopologyToken_
 
bool hep17_
 
int ieta_bins_
 
float ieta_max_
 
float ieta_min_
 
int imc
 
int iphi_bins_
 
float iphi_max_
 
float iphi_min_
 
int iz
 
MonitorElementmap_ecal
 
int maxDepthAll_
 
int maxDepthHB_
 
int maxDepthHE_
 
int maxDepthHF_
 
int maxDepthHO_
 
std::string mc_
 
MonitorElementmeDeltaEta
 
MonitorElementmeDeltaPhi
 
MonitorElementmeEcalHcalEnergyConeHB
 
MonitorElementmeEcalHcalEnergyConeHE
 
MonitorElementmeEcalHcalEnergyConeHF
 
MonitorElementmeEcalHcalEnergyConeHO
 
MonitorElementmeEcalHcalEnergyHB
 
MonitorElementmeEcalHcalEnergyHE
 
MonitorElementmeEnConeEtaProfile
 
MonitorElementmeEnConeEtaProfile_E
 
MonitorElementmeEnConeEtaProfile_EH
 
MonitorElementmeEnergyHcalVsEcalHB
 
MonitorElementmeEnergyHcalVsEcalHE
 
MonitorElementmeLog10Chi2profileHB
 
MonitorElementmeLog10Chi2profileHE
 
MonitorElementmeNumEcalRecHitsConeHB
 
MonitorElementmeNumEcalRecHitsConeHE
 
MonitorElementmeRecHitsCleanedEnergyHB
 
MonitorElementmeRecHitsCleanedEnergyHE
 
MonitorElementmeRecHitsCleanedEnergyHF
 
MonitorElementmeRecHitsCleanedEnergyHO
 
MonitorElementmeRecHitsEnergyHB
 
MonitorElementmeRecHitsEnergyHBM0
 
MonitorElementmeRecHitsEnergyHBM3
 
MonitorElementmeRecHitsEnergyHE
 
MonitorElementmeRecHitsEnergyHEM0
 
MonitorElementmeRecHitsEnergyHEM3
 
std::vector< MonitorElement * > meRecHitsEnergyHEP17
 
std::vector< MonitorElement * > meRecHitsEnergyHEP17M0
 
std::vector< MonitorElement * > meRecHitsEnergyHEP17M3
 
MonitorElementmeRecHitsEnergyHF
 
MonitorElementmeRecHitsEnergyHO
 
MonitorElementmeRecHitsEnergyM2vM0HB
 
MonitorElementmeRecHitsEnergyM2vM0HE
 
MonitorElementmeRecHitsEnergyM3vM0HB
 
MonitorElementmeRecHitsEnergyM3vM0HE
 
MonitorElementmeRecHitsEnergyM3vM2HB
 
MonitorElementmeRecHitsEnergyM3vM2HE
 
MonitorElementmeRecHitsM2Chi2HB
 
MonitorElementmeRecHitsM2Chi2HE
 
MonitorElementmeSumRecHitsEnergyConeHB
 
MonitorElementmeSumRecHitsEnergyConeHE
 
MonitorElementmeSumRecHitsEnergyConeHF
 
MonitorElementmeSumRecHitsEnergyConeHFL
 
MonitorElementmeSumRecHitsEnergyConeHFS
 
MonitorElementmeSumRecHitsEnergyConeHO
 
MonitorElementmeSumRecHitsEnergyHB
 
MonitorElementmeSumRecHitsEnergyHE
 
MonitorElementmeSumRecHitsEnergyHF
 
MonitorElementmeSumRecHitsEnergyHO
 
MonitorElementmeTE_HB
 
MonitorElementmeTE_HE
 
MonitorElementmeTE_HF
 
MonitorElementmeTE_High_HB
 
MonitorElementmeTE_High_HO
 
MonitorElementmeTE_HO
 
MonitorElementmeTE_Low_HB
 
MonitorElementmeTE_Low_HE
 
MonitorElementmeTE_Low_HF
 
MonitorElementmeTEprofileHB
 
MonitorElementmeTEprofileHB_High
 
MonitorElementmeTEprofileHB_Low
 
MonitorElementmeTEprofileHE
 
MonitorElementmeTEprofileHE_Low
 
MonitorElementmeTEprofileHF
 
MonitorElementmeTEprofileHF_Low
 
MonitorElementmeTEprofileHO
 
MonitorElementmeTEprofileHO_High
 
MonitorElementmeTimeHB
 
MonitorElementmeTimeHE
 
MonitorElementmeTimeHF
 
MonitorElementmeTimeHO
 
int nChannels_ [5]
 
int nevtot
 
std::vector< MonitorElement * > Nhb
 
std::vector< MonitorElement * > Nhe
 
std::vector< MonitorElement * > Nhf
 
std::vector< MonitorElement * > Nho
 
std::vector< MonitorElement * > nrechits_vs_iphi_HBM
 
std::vector< MonitorElement * > nrechits_vs_iphi_HBP
 
std::vector< MonitorElement * > nrechits_vs_iphi_HEM
 
std::vector< MonitorElement * > nrechits_vs_iphi_HEP
 
std::vector< MonitorElement * > nrechits_vs_iphi_HFM
 
std::vector< MonitorElement * > nrechits_vs_iphi_HFP
 
MonitorElementnrechits_vs_iphi_HOM
 
MonitorElementnrechits_vs_iphi_HOP
 
std::vector< MonitorElement * > occupancy_map_HB
 
std::vector< MonitorElement * > occupancy_map_HE
 
std::vector< MonitorElement * > occupancy_map_HF
 
MonitorElementoccupancy_map_HO
 
std::vector< MonitorElement * > occupancy_vs_ieta_HB
 
std::vector< MonitorElement * > occupancy_vs_ieta_HE
 
std::vector< MonitorElement * > occupancy_vs_ieta_HF
 
MonitorElementoccupancy_vs_ieta_HO
 
std::string outputFile_
 
MonitorElementRecHit_Aux_StatusWord_HB
 
MonitorElementRecHit_Aux_StatusWord_HE
 
MonitorElementRecHit_Aux_StatusWord_HF
 
MonitorElementRecHit_Aux_StatusWord_HO
 
MonitorElementRecHit_StatusWord_HB
 
MonitorElementRecHit_StatusWord_HE
 
MonitorElementRecHit_StatusWord_HF
 
MonitorElementRecHit_StatusWord_HF67
 
MonitorElementRecHit_StatusWord_HO
 
MonitorElementRecHit_StatusWordCorr_HB
 
MonitorElementRecHit_StatusWordCorr_HE
 
MonitorElementsevLvl_HB
 
MonitorElementsevLvl_HE
 
MonitorElementsevLvl_HF
 
MonitorElementsevLvl_HO
 
std::string sign_
 
int subdet_
 
const HcalChannelQualitytheHcalChStatus = nullptr
 
const HcalSeverityLevelComputertheHcalSevLvlComputer = nullptr
 
const HcalTopologytheHcalTopology = nullptr
 
edm::EDGetTokenT< EBRecHitCollectiontok_EB_
 
edm::EDGetTokenT< EERecHitCollectiontok_EE_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
edm::EDGetTokenT< HFRecHitCollectiontok_hf_
 
edm::EDGetTokenT< HORecHitCollectiontok_ho_
 
std::string topFolderName_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 56 of file HcalRecHitsAnalyzer.h.

Constructor & Destructor Documentation

◆ HcalRecHitsAnalyzer()

HcalRecHitsAnalyzer::HcalRecHitsAnalyzer ( edm::ParameterSet const &  conf)

Definition at line 7 of file HcalRecHitsAnalyzer.cc.

8  : topFolderName_(conf.getParameter<std::string>("TopFolderName")),
9  hcalDDDRecConstantsToken_{esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>()},
10  caloGeometryRunToken_{esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>()},
11  caloGeometryEventToken_{esConsumes<CaloGeometry, CaloGeometryRecord>()},
12  hcalTopologyToken_{esConsumes<HcalTopology, HcalRecNumberingRecord>()},
13  hcalChannelQualityToken_{esConsumes<HcalChannelQuality, HcalChannelQualityRcd>(edm::ESInputTag("", "withTopo"))},
14  hcalSeverityLevelComputerToken_{esConsumes<HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd>()} {
15  // DQM ROOT output
16  outputFile_ = conf.getUntrackedParameter<std::string>("outputFile", "myfile.root");
17 
18  if (!outputFile_.empty()) {
19  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will be saved to '" << outputFile_.c_str() << "'";
20  } else {
21  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will NOT be saved";
22  }
23 
24  nevtot = 0;
25 
26  hcalselector_ = conf.getUntrackedParameter<std::string>("hcalselector", "all");
27  ecalselector_ = conf.getUntrackedParameter<std::string>("ecalselector", "yes");
28  eventype_ = conf.getUntrackedParameter<std::string>("eventype", "single");
29  sign_ = conf.getUntrackedParameter<std::string>("sign", "*");
30  // useAllHistos_ = conf.getUntrackedParameter<bool>("useAllHistos", false);
31 
32  // HEP17 configuration
33  hep17_ = conf.getUntrackedParameter<bool>("hep17");
34 
35  // Collections
36  tok_hbhe_ = consumes<HBHERecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HBHERecHitCollectionLabel"));
37  tok_hf_ = consumes<HFRecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HFRecHitCollectionLabel"));
38  tok_ho_ = consumes<HORecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HORecHitCollectionLabel"));
39  edm::InputTag EBRecHitCollectionLabel = conf.getParameter<edm::InputTag>("EBRecHitCollectionLabel");
40  tok_EB_ = consumes<EBRecHitCollection>(EBRecHitCollectionLabel);
41  edm::InputTag EERecHitCollectionLabel = conf.getParameter<edm::InputTag>("EERecHitCollectionLabel");
42  tok_EE_ = consumes<EERecHitCollection>(EERecHitCollectionLabel);
43 
44  subdet_ = 5;
45  if (hcalselector_ == "noise")
46  subdet_ = 0;
47  if (hcalselector_ == "HB")
48  subdet_ = 1;
49  if (hcalselector_ == "HE")
50  subdet_ = 2;
51  if (hcalselector_ == "HO")
52  subdet_ = 3;
53  if (hcalselector_ == "HF")
54  subdet_ = 4;
55  if (hcalselector_ == "all")
56  subdet_ = 5;
57  if (hcalselector_ == "ZS")
58  subdet_ = 6;
59 
60  etype_ = 1;
61  if (eventype_ == "multi")
62  etype_ = 2;
63 
64  iz = 1;
65  if (sign_ == "-")
66  iz = -1;
67  if (sign_ == "*")
68  iz = 0;
69 
70  imc = 0;
71 }
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
edm::EDGetTokenT< EBRecHitCollection > tok_EB_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryRunToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryEventToken_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Log< level::Info, false > LogInfo
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > hcalDDDRecConstantsToken_
edm::EDGetTokenT< EERecHitCollection > tok_EE_
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > hcalSeverityLevelComputerToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalTopologyToken_

Member Function Documentation

◆ analyze()

void HcalRecHitsAnalyzer::analyze ( edm::Event const &  ev,
edm::EventSetup const &  iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 547 of file HcalRecHitsAnalyzer.cc.

References caloGeometryEventToken_, cauxstwd, cchi2, cdepth, cen, cenM0, cenM3, ceta, hltPixelTracks_cff::chi2, cieta, ciphi, cphi, csevlev, cstwd, csub, ctime, LEDCalibrationChannels::depth, dR(), emap, emap_HO, emean_vs_ieta_HB, emean_vs_ieta_HBM0, emean_vs_ieta_HBM3, emean_vs_ieta_HE, emean_vs_ieta_HEM0, emean_vs_ieta_HEM3, emean_vs_ieta_HEP17, emean_vs_ieta_HEP17M0, emean_vs_ieta_HEP17M3, emean_vs_ieta_HF, emean_vs_ieta_HO, PVValHelper::eta, makeMEIFBenchmarkPlots::ev, dqm::impl::MonitorElement::Fill(), HcalObjRepresent::Fill(), fillRecHitsTmp(), edm::EventSetup::getData(), hcalChannelQualityToken_, hcalHBSevLvlVec, hcalHESevLvlVec, hcalHFSevLvlVec, hcalHOSevLvlVec, hcalSeverityLevelComputerToken_, hcalTopologyToken_, hep17_, mps_fire::i, LEDCalibrationChannels::ieta, hcaltpdigi_cfi::ieta1, hcaltpdigi_cfi::ieta2, imc, LEDCalibrationChannels::iphi, gpuVertexFinder::iv, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meEnConeEtaProfile, meEnConeEtaProfile_E, meEnConeEtaProfile_EH, meLog10Chi2profileHB, meLog10Chi2profileHE, meRecHitsCleanedEnergyHB, meRecHitsCleanedEnergyHE, meRecHitsCleanedEnergyHF, meRecHitsCleanedEnergyHO, meRecHitsEnergyHB, meRecHitsEnergyHBM0, meRecHitsEnergyHBM3, meRecHitsEnergyHE, meRecHitsEnergyHEM0, meRecHitsEnergyHEM3, meRecHitsEnergyHEP17, meRecHitsEnergyHEP17M0, meRecHitsEnergyHEP17M3, meRecHitsEnergyHF, meRecHitsEnergyHO, meRecHitsEnergyM2vM0HB, meRecHitsEnergyM2vM0HE, meRecHitsEnergyM3vM0HB, meRecHitsEnergyM3vM0HE, meRecHitsEnergyM3vM2HB, meRecHitsEnergyM3vM2HE, meRecHitsM2Chi2HB, meRecHitsM2Chi2HE, meTE_HB, meTE_HE, meTE_HF, meTE_High_HB, meTE_High_HO, meTE_HO, meTE_Low_HB, meTE_Low_HE, meTE_Low_HF, meTEprofileHB, meTEprofileHB_High, meTEprofileHB_Low, meTEprofileHE, meTEprofileHE_Low, meTEprofileHF, meTEprofileHF_Low, meTEprofileHO, meTEprofileHO_High, meTimeHB, meTimeHE, meTimeHF, meTimeHO, nevtot, Nhb, Nhe, Nhf, Nho, nrechits_vs_iphi_HBM, nrechits_vs_iphi_HBP, nrechits_vs_iphi_HEM, nrechits_vs_iphi_HEP, nrechits_vs_iphi_HFM, nrechits_vs_iphi_HFP, nrechits_vs_iphi_HOM, nrechits_vs_iphi_HOP, occupancy_map_HB, occupancy_map_HE, occupancy_map_HF, occupancy_map_HO, phi, phi12(), RecHit_Aux_StatusWord_HB, RecHit_Aux_StatusWord_HE, RecHit_Aux_StatusWord_HF, RecHit_Aux_StatusWord_HO, RecHit_StatusWord_HB, RecHit_StatusWord_HE, RecHit_StatusWord_HF, RecHit_StatusWord_HO, RecHit_StatusWordCorr_HB, RecHit_StatusWordCorr_HE, sevLvl_HB, sevLvl_HE, sevLvl_HF, sevLvl_HO, subdet_, submitPVValidationJobs::t, theHcalChStatus, theHcalSevLvlComputer, and theHcalTopology.

547  {
548  using namespace edm;
549 
550  // cuts for each subdet_ector mimiking "Scheme B"
551  // double cutHB = 0.9, cutHE = 1.4, cutHO = 1.1, cutHFL = 1.2, cutHFS = 1.8;
552 
553  // Total numbet of RecHits in HCAL, in the cone, above 1 GeV theshold
554  int nrechits = 0;
555  int nrechitsThresh = 0;
556 
557  // energy in ECAL
558  double eEcalCone = 0.;
559 
560  // HCAL energy around MC eta-phi at all depths;
561  double partR = 0.3;
562 
563  // Single particle samples: actual eta-phi position of cluster around
564  // hottest cell
565  double etaHot = 99999.;
566  double phiHot = 99999.;
567 
568  // previously was: iSetup.get<IdealGeometryRecord>().get (geometry);
569  geometry = &iSetup.getData(caloGeometryEventToken_);
570 
571  // HCAL Topology **************************************************
572  theHcalTopology = &iSetup.getData(hcalTopologyToken_);
573 
574  // HCAL channel status map ****************************************
575  theHcalChStatus = &iSetup.getData(hcalChannelQualityToken_);
576 
577  // Assignment of severity levels **********************************
579 
580  // Fill working vectors of HCAL RecHits quantities (all of these are drawn)
582 
583  // HB
584  if (subdet_ == 5 || subdet_ == 1) {
585  for (unsigned int iv = 0; iv < hcalHBSevLvlVec.size(); iv++) {
587  }
588  }
589  // HE
590  if (subdet_ == 5 || subdet_ == 2) {
591  for (unsigned int iv = 0; iv < hcalHESevLvlVec.size(); iv++) {
593  }
594  }
595  // HO
596  if (subdet_ == 5 || subdet_ == 3) {
597  for (unsigned int iv = 0; iv < hcalHOSevLvlVec.size(); iv++) {
599  }
600  }
601  // HF
602  if (subdet_ == 5 || subdet_ == 4) {
603  for (unsigned int iv = 0; iv < hcalHFSevLvlVec.size(); iv++) {
605  }
606  }
607 
608  // Counting, including ZS items
609  // Filling HCAL maps ----------------------------------------------------
610  // double maxE = -99999.;
611 
612  // element 0: any depth. element 1,2,..: depth 1,2
613  std::vector<int> nhb_v(maxDepthHB_ + 1, 0);
614  std::vector<int> nhe_v(maxDepthHE_ + 1, 0);
615  std::vector<int> nho_v(maxDepthHO_ + 1, 0);
616  std::vector<int> nhf_v(maxDepthHF_ + 1, 0);
617 
618  for (unsigned int i = 0; i < cen.size(); i++) {
619  int sub = csub[i];
620  int depth = cdepth[i];
621  int ieta = cieta[i];
622  int iphi = ciphi[i];
623  double en = cen[i];
624  double enM0 = cenM0[i];
625  double enM3 = cenM3[i];
626  // double eta = ceta[i];
627  // double phi = cphi[i];
628  uint32_t stwd = cstwd[i];
629  uint32_t auxstwd = cauxstwd[i];
630  // double z = cz[i];
631 
632  // This will be true if hep17 == "yes" and the rechit is in the hep17 wedge
633  bool isHEP17 = (sub == 2) && (iphi >= 63) && (iphi <= 66) && (ieta > 0) && (hep17_);
634 
635  // Make sure that an invalid depth won't cause an error. We should probably
636  // report the problem as well.
637  if (depth < 1)
638  continue;
639  if (sub == 1 && depth > maxDepthHB_)
640  continue;
641  if (sub == 2 && depth > maxDepthHE_)
642  continue;
643  if (sub == 3 && depth > maxDepthHO_)
644  continue;
645  if (sub == 4 && depth > maxDepthHF_)
646  continue;
647 
648  if (sub == 1) {
649  nhb_v[depth]++;
650  nhb_v[0]++;
651  } // element 0: any depth, element 1,2,..: depth 1,2,...
652  if (sub == 2) {
653  nhe_v[depth]++;
654  nhe_v[0]++;
655  } //
656  if (sub == 3) {
657  nho_v[depth]++;
658  nho_v[0]++;
659  } //
660  if (sub == 4) {
661  nhf_v[depth]++;
662  nhf_v[0]++;
663  } //
664 
665  if (subdet_ == 6) { // ZS specific
666  }
667 
668  if (subdet_ != 6) {
669  int ieta2 = ieta;
670  int depth2 = depth;
671  if (sub == 4) {
672  if (ieta2 < 0)
673  ieta2--;
674  else
675  ieta2++;
676  }
677  if (sub == 3)
678  emap_HO->Fill(double(ieta2), double(iphi), en); // HO
679  else
680  emap[depth2 - 1]->Fill(double(ieta2), double(iphi), en); // HB+HE+HF
681 
682  // to distinguish HE and HF
683  if (depth == 1 || depth == 2) {
684  int ieta1 = ieta;
685  if (sub == 4) {
686  if (ieta1 < 0)
687  ieta1--;
688  else
689  ieta1++;
690  }
691  }
692 
693  if (sub == 1) {
694  emean_vs_ieta_HB[depth - 1]->Fill(double(ieta), en);
695  emean_vs_ieta_HBM0[depth - 1]->Fill(double(ieta), enM0);
696  emean_vs_ieta_HBM3[depth - 1]->Fill(double(ieta), enM3);
697  occupancy_map_HB[depth - 1]->Fill(double(ieta), double(iphi));
698  if (ieta > 0)
699  nrechits_vs_iphi_HBP[depth - 1]->Fill(double(iphi));
700  else
701  nrechits_vs_iphi_HBM[depth - 1]->Fill(double(iphi));
702  }
703  if (sub == 2) {
704  if (!isHEP17) {
705  emean_vs_ieta_HE[depth - 1]->Fill(double(ieta), en);
706  emean_vs_ieta_HEM0[depth - 1]->Fill(double(ieta), enM0);
707  emean_vs_ieta_HEM3[depth - 1]->Fill(double(ieta), enM3);
708  } else {
709  emean_vs_ieta_HEP17[depth - 1]->Fill(double(ieta), en);
710  emean_vs_ieta_HEP17M0[depth - 1]->Fill(double(ieta), enM0);
711  emean_vs_ieta_HEP17M3[depth - 1]->Fill(double(ieta), enM3);
712  }
713  occupancy_map_HE[depth - 1]->Fill(double(ieta), double(iphi));
714  if (ieta > 0)
715  nrechits_vs_iphi_HEP[depth - 1]->Fill(double(iphi));
716  else
717  nrechits_vs_iphi_HEM[depth - 1]->Fill(double(iphi));
718  }
719  if (sub == 3) {
720  emean_vs_ieta_HO->Fill(double(ieta), en);
721  occupancy_map_HO->Fill(double(ieta), double(iphi));
722  if (ieta > 0)
723  nrechits_vs_iphi_HOP->Fill(double(iphi));
724  else
725  nrechits_vs_iphi_HOM->Fill(double(iphi));
726  }
727  if (sub == 4) {
728  emean_vs_ieta_HF[depth - 1]->Fill(double(ieta), en);
729  occupancy_map_HF[depth - 1]->Fill(double(ieta), double(iphi));
730  if (ieta > 0)
731  nrechits_vs_iphi_HFP[depth - 1]->Fill(double(iphi));
732  else
733  nrechits_vs_iphi_HFM[depth - 1]->Fill(double(iphi));
734  }
735  }
736 
737  // 32-bit status word
738  uint32_t statadd;
739 
740  // Statusword correlation
741  unsigned int sw27 = 27;
742  unsigned int sw13 = 13;
743 
744  uint32_t statadd27 = 0x1 << sw27;
745  uint32_t statadd13 = 0x1 << sw13;
746 
747  float status27 = 0;
748  float status13 = 0;
749 
750  if (stwd & statadd27)
751  status27 = 1;
752  if (stwd & statadd13)
753  status13 = 1;
754 
755  if (sub == 1) {
756  RecHit_StatusWordCorr_HB->Fill(status13, status27);
757  } else if (sub == 2) {
758  RecHit_StatusWordCorr_HE->Fill(status13, status27);
759  }
760 
761  for (unsigned int isw = 0; isw < 32; isw++) {
762  statadd = 0x1 << (isw);
763  if (stwd & statadd) {
764  if (sub == 1)
766  else if (sub == 2)
768  else if (sub == 3)
770  else if (sub == 4) {
772  }
773  }
774  }
775 
776  for (unsigned int isw = 0; isw < 32; isw++) {
777  statadd = 0x1 << (isw);
778  if (auxstwd & statadd) {
779  if (sub == 1)
781  else if (sub == 2)
783  else if (sub == 3)
785  else if (sub == 4)
787  }
788  }
789  }
790 
791  for (int depth = 0; depth <= maxDepthHB_; depth++)
792  Nhb[depth]->Fill(double(nhb_v[depth]));
793  for (int depth = 0; depth <= maxDepthHE_; depth++)
794  Nhe[depth]->Fill(double(nhe_v[depth]));
795  for (int depth = 0; depth <= maxDepthHO_; depth++)
796  Nho[depth]->Fill(double(nho_v[depth]));
797  for (int depth = 0; depth <= maxDepthHF_; depth++)
798  Nhf[depth]->Fill(double(nhf_v[depth]));
799 
800  //===========================================================================
801  // SUBSYSTEMS,
802  //===========================================================================
803 
804  if ((subdet_ != 6) && (subdet_ != 0)) {
805  double clusEta = 999.;
806  double clusPhi = 999.;
807  double clusEn = 0.;
808 
809  double HcalCone = 0.;
810 
811  int ietaMax = 9999;
812  // double enMax1 = -9999.;
813  // double enMax2 = -9999.;
814  // double enMax3 = -9999.;
815  // double enMax4 = -9999.;
816  // double enMax = -9999.;
817  // double etaMax = 9999.;
818 
819  // CYCLE over cells ====================================================
820 
821  for (unsigned int i = 0; i < cen.size(); i++) {
822  int sub = csub[i];
823  double eta = ceta[i];
824  double phi = cphi[i];
825  double ieta = cieta[i];
826  double iphi = ciphi[i];
827  double en = cen[i];
828  double enM0 = cenM0[i];
829  double enM3 = cenM3[i];
830  double chi2 = cchi2[i];
831  double chi2_log10 = 9.99; // initial value - stay with this value if chi2<0.
832  if (chi2 > 0.)
833  chi2_log10 = log10(chi2);
834  double t = ctime[i];
835  double depth = cdepth[i];
836  int sevlev = csevlev[i];
837 
838  bool isHEP17 = (sub == 2) && (iphi >= 63) && (iphi <= 66) && (ieta > 0) && (hep17_);
839 
840  // int ieta = cieta[i];
841 
842  double rhot = dR(etaHot, phiHot, eta, phi);
843  if (rhot < partR && en > 1.) {
844  clusEta = (clusEta * clusEn + eta * en) / (clusEn + en);
845  clusPhi = phi12(clusPhi, clusEn, phi, en);
846  clusEn += en;
847  }
848 
849  nrechits++;
850 
851  if (en > 1.)
852  nrechitsThresh++;
853 
854  // The energy and overall timing histos are drawn while
855  // the ones split by depth are not
856  if (sub == 1 && (subdet_ == 1 || subdet_ == 5)) {
857  meTimeHB->Fill(t);
858  meRecHitsEnergyHB->Fill(en);
859  if (sevlev <= 9)
861 
862  meRecHitsEnergyHBM0->Fill(enM0);
863  meRecHitsEnergyHBM3->Fill(enM3);
864 
865  meRecHitsEnergyM2vM0HB->Fill(enM0, en);
866  meRecHitsEnergyM3vM0HB->Fill(enM0, enM3);
867  meRecHitsEnergyM3vM2HB->Fill(en, enM3);
868 
869  meRecHitsM2Chi2HB->Fill(chi2_log10);
870  meLog10Chi2profileHB->Fill(en, chi2_log10);
871 
872  meTE_Low_HB->Fill(en, t);
873  meTE_HB->Fill(en, t);
874  meTE_High_HB->Fill(en, t);
875  meTEprofileHB_Low->Fill(en, t);
876  meTEprofileHB->Fill(en, t);
877  meTEprofileHB_High->Fill(en, t);
878  }
879  if (sub == 2 && (subdet_ == 2 || subdet_ == 5)) {
880  meTimeHE->Fill(t);
881  if (!isHEP17) {
882  meRecHitsEnergyHE->Fill(en);
883  if (sevlev <= 9)
885 
886  meRecHitsEnergyHEM0->Fill(enM0);
887  meRecHitsEnergyHEM3->Fill(enM3);
888  } else {
889  meRecHitsEnergyHEP17[0]->Fill(en);
890  meRecHitsEnergyHEP17M0[0]->Fill(enM0);
891  meRecHitsEnergyHEP17M3[0]->Fill(enM3);
892  meRecHitsEnergyHEP17[depth]->Fill(en);
893  meRecHitsEnergyHEP17M0[depth]->Fill(enM0);
894  meRecHitsEnergyHEP17M3[depth]->Fill(enM3);
895  }
896 
897  meRecHitsEnergyM2vM0HE->Fill(enM0, en);
898  meRecHitsEnergyM3vM0HE->Fill(enM0, enM3);
899  meRecHitsEnergyM3vM2HE->Fill(en, enM3);
900 
901  meRecHitsM2Chi2HE->Fill(chi2_log10);
902  meLog10Chi2profileHE->Fill(en, chi2_log10);
903 
904  meTE_Low_HE->Fill(en, t);
905  meTE_HE->Fill(en, t);
906  meTEprofileHE_Low->Fill(en, t);
907  meTEprofileHE->Fill(en, t);
908  }
909  if (sub == 4 && (subdet_ == 4 || subdet_ == 5)) {
910  meTimeHF->Fill(t);
911  meRecHitsEnergyHF->Fill(en);
912  if (sevlev <= 9)
914 
915  meTE_Low_HF->Fill(en, t);
916  meTE_HF->Fill(en, t);
917  meTEprofileHF_Low->Fill(en, t);
918  meTEprofileHF->Fill(en, t);
919  }
920  if (sub == 3 && (subdet_ == 3 || subdet_ == 5)) {
921  meTimeHO->Fill(t);
922  meRecHitsEnergyHO->Fill(en);
923  if (sevlev <= 9)
925 
926  meTE_HO->Fill(en, t);
927  meTE_High_HO->Fill(en, t);
928  meTEprofileHO->Fill(en, t);
929  meTEprofileHO_High->Fill(en, t);
930  }
931  }
932 
933  if (imc != 0) {
934  // Cone by depth are not drawn, the others are used for pion scan
935  meEnConeEtaProfile->Fill(double(ietaMax), HcalCone); //
936  meEnConeEtaProfile_E->Fill(double(ietaMax), eEcalCone);
937  meEnConeEtaProfile_EH->Fill(double(ietaMax), HcalCone + eEcalCone);
938  }
939 
940  // Single particle samples ONLY ! ======================================
941  // Fill up some histos for "integrated" subsustems.
942  // These are not drawn
943  }
944 
945  nevtot++;
946 }
MonitorElement * nrechits_vs_iphi_HOP
MonitorElement * sevLvl_HF
std::vector< MonitorElement * > emean_vs_ieta_HEP17M3
MonitorElement * meTEprofileHB_High
MonitorElement * RecHit_StatusWord_HE
std::vector< int > csub
std::vector< int > csevlev
MonitorElement * meRecHitsM2Chi2HB
MonitorElement * meTimeHF
std::vector< double > cphi
std::vector< int > hcalHOSevLvlVec
double dR(double eta1, double phi1, double eta2, double phi2)
MonitorElement * RecHit_StatusWord_HF
MonitorElement * meRecHitsEnergyM3vM2HE
std::vector< MonitorElement * > Nho
int32_t *__restrict__ iv
std::vector< MonitorElement * > emean_vs_ieta_HBM3
MonitorElement * sevLvl_HE
MonitorElement * RecHit_Aux_StatusWord_HO
MonitorElement * meTE_Low_HE
MonitorElement * meRecHitsEnergyHEM3
std::vector< int > cdepth
std::vector< MonitorElement * > occupancy_map_HE
const HcalTopology * theHcalTopology
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
std::vector< int > hcalHBSevLvlVec
MonitorElement * occupancy_map_HO
std::vector< MonitorElement * > occupancy_map_HF
std::vector< double > ceta
MonitorElement * meEnConeEtaProfile_EH
std::vector< int > hcalHESevLvlVec
double phi12(double phi1, double en1, double phi2, double en2)
MonitorElement * meRecHitsEnergyM3vM0HE
std::vector< MonitorElement * > Nhe
MonitorElement * meTE_Low_HB
MonitorElement * meTEprofileHF_Low
const HcalSeverityLevelComputer * theHcalSevLvlComputer
std::vector< MonitorElement * > Nhf
MonitorElement * meTE_HB
MonitorElement * meRecHitsEnergyM2vM0HB
std::vector< MonitorElement * > nrechits_vs_iphi_HEP
MonitorElement * sevLvl_HO
void Fill(long long x)
virtual void fillRecHitsTmp(int subdet_, edm::Event const &ev)
std::vector< MonitorElement * > emean_vs_ieta_HEP17
std::vector< MonitorElement * > emean_vs_ieta_HBM0
MonitorElement * meRecHitsEnergyM2vM0HE
MonitorElement * emap_HO
std::vector< MonitorElement * > emean_vs_ieta_HB
MonitorElement * meTE_HO
const HcalChannelQuality * theHcalChStatus
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< MonitorElement * > occupancy_map_HB
MonitorElement * meEnConeEtaProfile_E
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryEventToken_
std::vector< MonitorElement * > emap
std::vector< MonitorElement * > nrechits_vs_iphi_HFP
MonitorElement * meTEprofileHO
MonitorElement * meTEprofileHB
std::vector< double > cchi2
MonitorElement * meLog10Chi2profileHE
std::vector< MonitorElement * > nrechits_vs_iphi_HFM
MonitorElement * meRecHitsEnergyHBM0
MonitorElement * meTE_High_HO
MonitorElement * meRecHitsEnergyHO
MonitorElement * meRecHitsM2Chi2HE
MonitorElement * meTE_HF
std::vector< uint32_t > cauxstwd
MonitorElement * meRecHitsEnergyHEM0
MonitorElement * meTEprofileHE_Low
MonitorElement * RecHit_StatusWord_HO
MonitorElement * meRecHitsEnergyHB
std::vector< MonitorElement * > emean_vs_ieta_HE
std::vector< int > ciphi
MonitorElement * nrechits_vs_iphi_HOM
MonitorElement * emean_vs_ieta_HO
MonitorElement * sevLvl_HB
std::vector< MonitorElement * > emean_vs_ieta_HEP17M0
std::vector< MonitorElement * > nrechits_vs_iphi_HBP
MonitorElement * meTimeHE
std::vector< int > cieta
std::vector< MonitorElement * > nrechits_vs_iphi_HEM
MonitorElement * meTimeHO
MonitorElement * meRecHitsEnergyHF
std::vector< double > cenM3
MonitorElement * meEnConeEtaProfile
std::vector< MonitorElement * > emean_vs_ieta_HEM3
MonitorElement * meRecHitsCleanedEnergyHF
MonitorElement * meTEprofileHE
std::vector< uint32_t > cstwd
std::vector< MonitorElement * > meRecHitsEnergyHEP17
MonitorElement * RecHit_Aux_StatusWord_HB
std::vector< MonitorElement * > emean_vs_ieta_HF
MonitorElement * meRecHitsEnergyM3vM2HB
std::vector< MonitorElement * > meRecHitsEnergyHEP17M0
MonitorElement * meLog10Chi2profileHB
std::vector< MonitorElement * > nrechits_vs_iphi_HBM
MonitorElement * meRecHitsCleanedEnergyHB
MonitorElement * meTE_High_HB
std::vector< int > hcalHFSevLvlVec
MonitorElement * RecHit_StatusWord_HB
HLT enums.
MonitorElement * meTEprofileHO_High
MonitorElement * meTEprofileHB_Low
std::vector< MonitorElement * > Nhb
MonitorElement * meRecHitsCleanedEnergyHE
std::vector< double > ctime
std::vector< double > cen
MonitorElement * meRecHitsEnergyM3vM0HB
MonitorElement * meRecHitsEnergyHBM3
std::vector< double > cenM0
MonitorElement * RecHit_StatusWordCorr_HE
MonitorElement * meTimeHB
MonitorElement * meTEprofileHF
MonitorElement * RecHit_Aux_StatusWord_HF
MonitorElement * RecHit_Aux_StatusWord_HE
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > hcalSeverityLevelComputerToken_
MonitorElement * RecHit_StatusWordCorr_HB
std::vector< MonitorElement * > meRecHitsEnergyHEP17M3
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalTopologyToken_
MonitorElement * meRecHitsCleanedEnergyHO
MonitorElement * meTE_HE
std::vector< MonitorElement * > emean_vs_ieta_HEM0
MonitorElement * meRecHitsEnergyHE
MonitorElement * meTE_Low_HF

◆ bookHistograms()

void HcalRecHitsAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 133 of file HcalRecHitsAnalyzer.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book1DD(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), LEDCalibrationChannels::depth, emap, emap_HO, emean_vs_ieta_HB, emean_vs_ieta_HBM0, emean_vs_ieta_HBM3, emean_vs_ieta_HE, emean_vs_ieta_HEM0, emean_vs_ieta_HEM3, emean_vs_ieta_HEP17, emean_vs_ieta_HEP17M0, emean_vs_ieta_HEP17M3, emean_vs_ieta_HF, emean_vs_ieta_HO, hep17_, timingPdfMaker::histo, ieta_bins_, ieta_max_, ieta_min_, imc, createfilelist::int, iphi_bins_, iphi_max_, iphi_min_, maxDepthAll_, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meEnConeEtaProfile, meEnConeEtaProfile_E, meEnConeEtaProfile_EH, meLog10Chi2profileHB, meLog10Chi2profileHE, meRecHitsCleanedEnergyHB, meRecHitsCleanedEnergyHE, meRecHitsCleanedEnergyHF, meRecHitsCleanedEnergyHO, meRecHitsEnergyHB, meRecHitsEnergyHBM0, meRecHitsEnergyHBM3, meRecHitsEnergyHE, meRecHitsEnergyHEM0, meRecHitsEnergyHEM3, meRecHitsEnergyHEP17, meRecHitsEnergyHEP17M0, meRecHitsEnergyHEP17M3, meRecHitsEnergyHF, meRecHitsEnergyHO, meRecHitsEnergyM2vM0HB, meRecHitsEnergyM2vM0HE, meRecHitsEnergyM3vM0HB, meRecHitsEnergyM3vM0HE, meRecHitsEnergyM3vM2HB, meRecHitsEnergyM3vM2HE, meRecHitsM2Chi2HB, meRecHitsM2Chi2HE, meTE_HB, meTE_HE, meTE_HF, meTE_High_HB, meTE_High_HO, meTE_HO, meTE_Low_HB, meTE_Low_HE, meTE_Low_HF, meTEprofileHB, meTEprofileHB_High, meTEprofileHB_Low, meTEprofileHE, meTEprofileHE_Low, meTEprofileHF, meTEprofileHF_Low, meTEprofileHO, meTEprofileHO_High, meTimeHB, meTimeHE, meTimeHF, meTimeHO, SiStripSourceConfigP5_cff::NBins, nChannels_, Nhb, Nhe, Nhf, Nho, nrechits_vs_iphi_HBM, nrechits_vs_iphi_HBP, nrechits_vs_iphi_HEM, nrechits_vs_iphi_HEP, nrechits_vs_iphi_HFM, nrechits_vs_iphi_HFP, nrechits_vs_iphi_HOM, nrechits_vs_iphi_HOP, occupancy_map_HB, occupancy_map_HE, occupancy_map_HF, occupancy_map_HO, occupancy_vs_ieta_HB, occupancy_vs_ieta_HE, occupancy_vs_ieta_HF, occupancy_vs_ieta_HO, RecHit_Aux_StatusWord_HB, RecHit_Aux_StatusWord_HE, RecHit_Aux_StatusWord_HF, RecHit_Aux_StatusWord_HO, RecHit_StatusWord_HB, RecHit_StatusWord_HE, RecHit_StatusWord_HF, RecHit_StatusWord_HO, RecHit_StatusWordCorr_HB, RecHit_StatusWordCorr_HE, dqm::implementation::NavigatorBase::setCurrentFolder(), sevLvl_HB, sevLvl_HE, sevLvl_HF, sevLvl_HO, subdet_, and topFolderName_.

137 {
138  Char_t histo[200];
139 
141 
142  // General counters (drawn)
143 
144  // Produce both a total per subdetector, and number of rechits per subdetector
145  // depth
146  // The bins are 1 unit wide, and the range is determined by the number of
147  // channels per subdetector
148 
149  for (int depth = 0; depth <= maxDepthHB_; depth++) {
150  if (depth == 0) {
151  sprintf(histo, "N_HB");
152  } else {
153  sprintf(histo, "N_HB_depth%d", depth);
154  }
155  int NBins = (int)(nChannels_[1] * 1.1);
156  Nhb.push_back(ibooker.book1D(histo, histo, NBins, 0., (float)NBins));
157  }
158  for (int depth = 0; depth <= maxDepthHE_; depth++) {
159  if (depth == 0) {
160  sprintf(histo, "N_HE");
161  } else {
162  sprintf(histo, "N_HE_depth%d", depth);
163  }
164  int NBins = (int)(nChannels_[2] * 1.1);
165  Nhe.push_back(ibooker.book1D(histo, histo, NBins, 0., (float)NBins));
166  }
167  for (int depth = 0; depth <= maxDepthHO_; depth++) {
168  if (depth == 0) {
169  sprintf(histo, "N_HO");
170  } else {
171  sprintf(histo, "N_HO_depth%d", depth);
172  }
173  int NBins = (int)(nChannels_[3] * 1.1);
174  Nho.push_back(ibooker.book1D(histo, histo, NBins, 0., (float)NBins));
175  }
176  for (int depth = 0; depth <= maxDepthHF_; depth++) {
177  if (depth == 0) {
178  sprintf(histo, "N_HF");
179  } else {
180  sprintf(histo, "N_HF_depth%d", depth);
181  }
182  int NBins = (int)(nChannels_[4] * 1.1);
183  Nhf.push_back(ibooker.book1D(histo, histo, NBins, 0., (float)NBins));
184  }
185 
186  // ZS
187  if (subdet_ == 6) {
188  }
189 
190  // ALL others, except ZS
191  else {
192  for (int depth = 1; depth <= maxDepthAll_; depth++) {
193  sprintf(histo, "emap_depth%d", depth);
195  }
196  sprintf(histo, "emap_HO");
198 
199  // The mean energy histos are drawn, but not the RMS or emean seq
200 
201  for (int depth = 1; depth <= maxDepthHB_; depth++) {
202  sprintf(histo, "emean_vs_ieta_HB%d", depth);
203  emean_vs_ieta_HB.push_back(ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
204 
205  sprintf(histo, "emean_vs_ieta_M0_HB%d", depth);
206  emean_vs_ieta_HBM0.push_back(
207  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
208 
209  sprintf(histo, "emean_vs_ieta_M3_HB%d", depth);
210  emean_vs_ieta_HBM3.push_back(
211  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
212  }
213  for (int depth = 1; depth <= maxDepthHE_; depth++) {
214  sprintf(histo, "emean_vs_ieta_HE%d", depth);
215  emean_vs_ieta_HE.push_back(ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
216 
217  sprintf(histo, "emean_vs_ieta_M0_HE%d", depth);
218  emean_vs_ieta_HEM0.push_back(
219  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
220 
221  sprintf(histo, "emean_vs_ieta_M3_HE%d", depth);
222  emean_vs_ieta_HEM3.push_back(
223  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
224  }
225 
226  if (hep17_) {
227  for (int depth = 1; depth <= maxDepthHE_; depth++) {
228  sprintf(histo, "emean_vs_ieta_HEP17_depth%d", depth);
229  emean_vs_ieta_HEP17.push_back(
230  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
231 
232  sprintf(histo, "emean_vs_ieta_M0_HEP17_depth%d", depth);
233  emean_vs_ieta_HEP17M0.push_back(
234  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
235 
236  sprintf(histo, "emean_vs_ieta_M3_HEP17_depth%d", depth);
237  emean_vs_ieta_HEP17M3.push_back(
238  ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
239  }
240  }
241 
242  for (int depth = 1; depth <= maxDepthHF_; depth++) {
243  sprintf(histo, "emean_vs_ieta_HF%d", depth);
244  emean_vs_ieta_HF.push_back(ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " "));
245  }
246  sprintf(histo, "emean_vs_ieta_HO");
247  emean_vs_ieta_HO = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -10., 2000., " ");
248 
249  // The only occupancy histos drawn are occupancy vs. ieta
250  // but the maps are needed because this is where the latter are filled from
251 
252  for (int depth = 1; depth <= maxDepthHB_; depth++) {
253  sprintf(histo, "occupancy_map_HB%d", depth);
254  occupancy_map_HB.push_back(
256  }
257 
258  for (int depth = 1; depth <= maxDepthHE_; depth++) {
259  sprintf(histo, "occupancy_map_HE%d", depth);
260  occupancy_map_HE.push_back(
262  }
263 
264  sprintf(histo, "occupancy_map_HO");
266 
267  for (int depth = 1; depth <= maxDepthHF_; depth++) {
268  sprintf(histo, "occupancy_map_HF%d", depth);
269  occupancy_map_HF.push_back(
271  }
272 
273  // nrechits vs iphi
274  for (int depth = 1; depth <= maxDepthHB_; depth++) {
275  sprintf(histo, "occupancy_vs_ieta_HB%d", depth);
277  sprintf(histo, "nrechits_vs_iphi_HBP_d%d", depth);
279  sprintf(histo, "nrechits_vs_iphi_HBM_d%d", depth);
281  }
282 
283  for (int depth = 1; depth <= maxDepthHE_; depth++) {
284  sprintf(histo, "occupancy_vs_ieta_HE%d", depth);
286  sprintf(histo, "nrechits_vs_iphi_HEP_d%d", depth);
288  sprintf(histo, "nrechits_vs_iphi_HEM_d%d", depth);
290  }
291 
292  sprintf(histo, "occupancy_vs_ieta_HO");
294  sprintf(histo, "nrechits_vs_iphi_HOP");
296  sprintf(histo, "nrechits_vs_iphi_HOM");
298 
299  for (int depth = 1; depth <= maxDepthHF_; depth++) {
300  sprintf(histo, "occupancy_vs_ieta_HF%d", depth);
302  sprintf(histo, "nrechits_vs_iphi_HFP_d%d", depth);
304  sprintf(histo, "nrechits_vs_iphi_HFM_d%d", depth);
306  }
307 
308  // All status word histos except HF67 are drawn
309  sprintf(histo, "HcalRecHitTask_RecHit_StatusWord_HB");
310  RecHit_StatusWord_HB = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
311 
312  sprintf(histo, "HcalRecHitTask_RecHit_StatusWord_HE");
313  RecHit_StatusWord_HE = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
314 
315  sprintf(histo, "HcalRecHitTask_RecHit_StatusWord_HF");
316  RecHit_StatusWord_HF = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
317 
318  sprintf(histo, "HcalRecHitTask_RecHit_StatusWord_HO");
319  RecHit_StatusWord_HO = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
320 
321  // Aux status word histos
322  sprintf(histo, "HcalRecHitTask_RecHit_Aux_StatusWord_HB");
323  RecHit_Aux_StatusWord_HB = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
324 
325  sprintf(histo, "HcalRecHitTask_RecHit_Aux_StatusWord_HE");
326  RecHit_Aux_StatusWord_HE = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
327 
328  sprintf(histo, "HcalRecHitTask_RecHit_Aux_StatusWord_HF");
329  RecHit_Aux_StatusWord_HF = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
330 
331  sprintf(histo, "HcalRecHitTask_RecHit_Aux_StatusWord_HO");
332  RecHit_Aux_StatusWord_HO = ibooker.book1DD(histo, histo, 32, -0.5, 31.5);
333 
334  } // end-of (subdet_ =! 6)
335 
336  // Status word correlations
337  sprintf(histo, "HcalRecHitTask_RecHit_StatusWordCorr_HB");
338  RecHit_StatusWordCorr_HB = ibooker.book2D(histo, histo, 2, -0.5, 1.5, 2, -0.5, 1.5);
339 
340  sprintf(histo, "HcalRecHitTask_RecHit_StatusWordCorr_HE");
341  RecHit_StatusWordCorr_HE = ibooker.book2D(histo, histo, 2, -0.5, 1.5, 2, -0.5, 1.5);
342 
343  //======================= Now various cases one by one ===================
344 
345  // Histograms drawn for single pion scan
346  if (subdet_ != 0 && imc != 0) { // just not for noise
347  sprintf(histo, "HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths");
348  meEnConeEtaProfile = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -100., 2000., " ");
349 
350  sprintf(histo, "HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_E");
351  meEnConeEtaProfile_E = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -100., 2000., " ");
352 
353  sprintf(histo, "HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_EH");
354  meEnConeEtaProfile_EH = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, -100., 2000., " ");
355  }
356 
357  // ************** HB **********************************
358  if (subdet_ == 1 || subdet_ == 5) {
359  // Only severity level, energy of rechits and overall HB timing histos are
360  // drawn
361 
362  sprintf(histo, "HcalRecHitTask_severityLevel_HB");
363  sevLvl_HB = ibooker.book1DD(histo, histo, 25, -0.5, 24.5);
364 
365  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HB");
366  meRecHitsEnergyHB = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
367 
368  sprintf(histo, "HcalRecHitTask_cleaned_energy_of_rechits_HB");
369  meRecHitsCleanedEnergyHB = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
370 
371  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M0_HB");
372  meRecHitsEnergyHBM0 = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
373 
374  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3_HB");
375  meRecHitsEnergyHBM3 = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
376 
377  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M2vM0_HB");
378  meRecHitsEnergyM2vM0HB = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
379 
380  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3vM0_HB");
381  meRecHitsEnergyM3vM0HB = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
382 
383  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3vM2_HB");
384  meRecHitsEnergyM3vM2HB = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
385 
386  sprintf(histo, "HcalRecHitTask_M2Log10Chi2_of_rechits_HB");
387  meRecHitsM2Chi2HB = ibooker.book1D(histo, histo, 120, -2., 10.);
388 
389  sprintf(histo, "HcalRecHitTask_timing_HB");
390  meTimeHB = ibooker.book1DD(histo, histo, 70, -48., 92.);
391 
392  // High, medium and low histograms to reduce RAM usage
393  sprintf(histo, "HcalRecHitTask_timing_vs_energy_Low_HB");
394  meTE_Low_HB = ibooker.book2D(histo, histo, 50, -5., 45., 70, -48., 92.);
395 
396  sprintf(histo, "HcalRecHitTask_timing_vs_energy_HB");
397  meTE_HB = ibooker.book2D(histo, histo, 150, -5., 295., 70, -48., 92.);
398 
399  sprintf(histo, "HcalRecHitTask_timing_vs_energy_High_HB");
400  meTE_High_HB = ibooker.book2D(histo, histo, 150, -5., 2995., 70, -48., 92.);
401 
402  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_Low_HB");
403  meTEprofileHB_Low = ibooker.bookProfile(histo, histo, 50, -5., 45., -48., 92., " ");
404 
405  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_HB");
406  meTEprofileHB = ibooker.bookProfile(histo, histo, 150, -5., 295., -48., 92., " ");
407 
408  sprintf(histo, "HcalRecHitTask_Log10Chi2_vs_energy_profile_HB");
409  meLog10Chi2profileHB = ibooker.bookProfile(histo, histo, 150, -5., 295., -2., 9.9, " ");
410 
411  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_High_HB");
412  meTEprofileHB_High = ibooker.bookProfile(histo, histo, 150, -5., 2995., -48., 92., " ");
413  }
414 
415  // ********************** HE ************************************
416  if (subdet_ == 2 || subdet_ == 5) {
417  // Only severity level, energy of rechits and overall HB timing histos are
418  // drawn
419  sprintf(histo, "HcalRecHitTask_severityLevel_HE");
420  sevLvl_HE = ibooker.book1DD(histo, histo, 25, -0.5, 24.5);
421 
422  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HE");
423  meRecHitsEnergyHE = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
424 
425  sprintf(histo, "HcalRecHitTask_cleaned_energy_of_rechits_HE");
426  meRecHitsCleanedEnergyHE = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
427 
428  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M0_HE");
429  meRecHitsEnergyHEM0 = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
430 
431  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3_HE");
432  meRecHitsEnergyHEM3 = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
433 
434  if (hep17_) {
435  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HEP17");
436  meRecHitsEnergyHEP17.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
437 
438  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M0_HEP17");
439  meRecHitsEnergyHEP17M0.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
440 
441  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3_HEP17");
442  meRecHitsEnergyHEP17M3.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
443  for (int depth = 1; depth <= maxDepthHE_; depth++) {
444  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HEP17_depth%d", depth);
445  meRecHitsEnergyHEP17.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
446 
447  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M0_HEP17_depth%d", depth);
448  meRecHitsEnergyHEP17M0.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
449 
450  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3_HEP17_depth%d", depth);
451  meRecHitsEnergyHEP17M3.push_back(ibooker.book1D(histo, histo, 2010, -10., 2000.));
452  }
453  }
454 
455  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M2vM0_HE");
456  meRecHitsEnergyM2vM0HE = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
457 
458  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3vM0_HE");
459  meRecHitsEnergyM3vM0HE = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
460 
461  sprintf(histo, "HcalRecHitTask_energy_of_rechits_M3vM2_HE");
462  meRecHitsEnergyM3vM2HE = ibooker.book2D(histo, histo, 42, -10., 200., 42, -10., 200.);
463 
464  sprintf(histo, "HcalRecHitTask_M2Log10Chi2_of_rechits_HE");
465  meRecHitsM2Chi2HE = ibooker.book1D(histo, histo, 120, -2., 10.);
466 
467  sprintf(histo, "HcalRecHitTask_timing_HE");
468  meTimeHE = ibooker.book1DD(histo, histo, 70, -48., 92.);
469 
470  sprintf(histo, "HcalRecHitTask_timing_vs_energy_Low_HE");
471  meTE_Low_HE = ibooker.book2D(histo, histo, 80, -5., 75., 70, -48., 92.);
472 
473  sprintf(histo, "HcalRecHitTask_timing_vs_energy_HE");
474  meTE_HE = ibooker.book2D(histo, histo, 200, -5., 395., 70, -48., 92.);
475 
476  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_Low_HE");
477  meTEprofileHE_Low = ibooker.bookProfile(histo, histo, 80, -5., 75., -48., 92., " ");
478 
479  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_HE");
480  meTEprofileHE = ibooker.bookProfile(histo, histo, 200, -5., 395., -48., 92., " ");
481 
482  sprintf(histo, "HcalRecHitTask_Log10Chi2_vs_energy_profile_HE");
483  meLog10Chi2profileHE = ibooker.bookProfile(histo, histo, 200, -5., 395., -2., 9.9, " ");
484  }
485 
486  // ************** HO ****************************************
487  if (subdet_ == 3 || subdet_ == 5) {
488  // Only severity level, energy of rechits and overall HB timing histos are
489  // drawn
490 
491  sprintf(histo, "HcalRecHitTask_severityLevel_HO");
492  sevLvl_HO = ibooker.book1DD(histo, histo, 25, -0.5, 24.5);
493 
494  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HO");
495  meRecHitsEnergyHO = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
496 
497  sprintf(histo, "HcalRecHitTask_cleaned_energy_of_rechits_HO");
498  meRecHitsCleanedEnergyHO = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
499 
500  sprintf(histo, "HcalRecHitTask_timing_HO");
501  meTimeHO = ibooker.book1DD(histo, histo, 80, -80., 80.);
502 
503  sprintf(histo, "HcalRecHitTask_timing_vs_energy_HO");
504  meTE_HO = ibooker.book2D(histo, histo, 60, -5., 55., 80, -80., 80.);
505 
506  sprintf(histo, "HcalRecHitTask_timing_vs_energy_High_HO");
507  meTE_High_HO = ibooker.book2D(histo, histo, 100, -5., 995., 80, -80., 80.);
508 
509  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_HO");
510  meTEprofileHO = ibooker.bookProfile(histo, histo, 60, -5., 55., -80., 80., " ");
511 
512  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_High_HO");
513  meTEprofileHO_High = ibooker.bookProfile(histo, histo, 100, -5., 995., -80., 80., " ");
514  }
515 
516  // ********************** HF ************************************
517  if (subdet_ == 4 || subdet_ == 5) {
518  // Only severity level, energy of rechits and overall HB timing histos are
519  // drawn
520 
521  sprintf(histo, "HcalRecHitTask_severityLevel_HF");
522  sevLvl_HF = ibooker.book1DD(histo, histo, 25, -0.5, 24.5);
523 
524  sprintf(histo, "HcalRecHitTask_energy_of_rechits_HF");
525  meRecHitsEnergyHF = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
526 
527  sprintf(histo, "HcalRecHitTask_cleaned_energy_of_rechits_HF");
528  meRecHitsCleanedEnergyHF = ibooker.book1DD(histo, histo, 2010, -10., 2000.);
529 
530  sprintf(histo, "HcalRecHitTask_timing_HF");
531  meTimeHF = ibooker.book1DD(histo, histo, 70, -48., 92.);
532 
533  sprintf(histo, "HcalRecHitTask_timing_vs_energy_Low_HF");
534  meTE_Low_HF = ibooker.book2D(histo, histo, 100, -5., 195., 70, -48., 92.);
535 
536  sprintf(histo, "HcalRecHitTask_timing_vs_energy_HF");
537  meTE_HF = ibooker.book2D(histo, histo, 200, -5., 995., 70, -48., 92.);
538 
539  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_Low_HF");
540  meTEprofileHF_Low = ibooker.bookProfile(histo, histo, 100, -5., 195., -48., 92., " ");
541 
542  sprintf(histo, "HcalRecHitTask_timing_vs_energy_profile_HF");
543  meTEprofileHF = ibooker.bookProfile(histo, histo, 200, -5., 995., -48., 92., " ");
544  }
545 }
MonitorElement * nrechits_vs_iphi_HOP
MonitorElement * sevLvl_HF
std::vector< MonitorElement * > emean_vs_ieta_HEP17M3
MonitorElement * meTEprofileHB_High
MonitorElement * RecHit_StatusWord_HE
MonitorElement * meRecHitsM2Chi2HB
MonitorElement * meTimeHF
MonitorElement * RecHit_StatusWord_HF
MonitorElement * meRecHitsEnergyM3vM2HE
std::vector< MonitorElement * > Nho
std::vector< MonitorElement * > emean_vs_ieta_HBM3
MonitorElement * sevLvl_HE
std::vector< MonitorElement * > occupancy_vs_ieta_HB
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * RecHit_Aux_StatusWord_HO
MonitorElement * meTE_Low_HE
MonitorElement * meRecHitsEnergyHEM3
std::vector< MonitorElement * > occupancy_map_HE
MonitorElement * occupancy_map_HO
std::vector< MonitorElement * > occupancy_map_HF
MonitorElement * meEnConeEtaProfile_EH
MonitorElement * meRecHitsEnergyM3vM0HE
std::vector< MonitorElement * > Nhe
MonitorElement * meTE_Low_HB
MonitorElement * meTEprofileHF_Low
std::vector< MonitorElement * > Nhf
MonitorElement * meTE_HB
MonitorElement * meRecHitsEnergyM2vM0HB
std::vector< MonitorElement * > nrechits_vs_iphi_HEP
MonitorElement * sevLvl_HO
std::vector< MonitorElement * > emean_vs_ieta_HEP17
std::vector< MonitorElement * > emean_vs_ieta_HBM0
MonitorElement * meRecHitsEnergyM2vM0HE
MonitorElement * book1DD(TString const &name, TString const &title, int nchX, double lowX, double highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:155
std::vector< MonitorElement * > occupancy_vs_ieta_HF
MonitorElement * emap_HO
std::vector< MonitorElement * > occupancy_vs_ieta_HE
std::vector< MonitorElement * > emean_vs_ieta_HB
MonitorElement * meTE_HO
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399
std::vector< MonitorElement * > occupancy_map_HB
MonitorElement * meEnConeEtaProfile_E
std::vector< MonitorElement * > emap
std::vector< MonitorElement * > nrechits_vs_iphi_HFP
MonitorElement * meTEprofileHO
MonitorElement * meTEprofileHB
MonitorElement * meLog10Chi2profileHE
std::vector< MonitorElement * > nrechits_vs_iphi_HFM
MonitorElement * meRecHitsEnergyHBM0
MonitorElement * meTE_High_HO
MonitorElement * meRecHitsEnergyHO
MonitorElement * meRecHitsM2Chi2HE
MonitorElement * meTE_HF
MonitorElement * meRecHitsEnergyHEM0
MonitorElement * occupancy_vs_ieta_HO
MonitorElement * meTEprofileHE_Low
MonitorElement * RecHit_StatusWord_HO
MonitorElement * meRecHitsEnergyHB
std::vector< MonitorElement * > emean_vs_ieta_HE
MonitorElement * nrechits_vs_iphi_HOM
MonitorElement * emean_vs_ieta_HO
MonitorElement * sevLvl_HB
std::vector< MonitorElement * > emean_vs_ieta_HEP17M0
std::vector< MonitorElement * > nrechits_vs_iphi_HBP
MonitorElement * meTimeHE
std::vector< MonitorElement * > nrechits_vs_iphi_HEM
MonitorElement * meTimeHO
MonitorElement * meRecHitsEnergyHF
MonitorElement * meEnConeEtaProfile
std::vector< MonitorElement * > emean_vs_ieta_HEM3
MonitorElement * meRecHitsCleanedEnergyHF
MonitorElement * meTEprofileHE
std::vector< MonitorElement * > meRecHitsEnergyHEP17
MonitorElement * RecHit_Aux_StatusWord_HB
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:212
std::vector< MonitorElement * > emean_vs_ieta_HF
MonitorElement * meRecHitsEnergyM3vM2HB
std::vector< MonitorElement * > meRecHitsEnergyHEP17M0
MonitorElement * meLog10Chi2profileHB
std::vector< MonitorElement * > nrechits_vs_iphi_HBM
MonitorElement * meRecHitsCleanedEnergyHB
MonitorElement * meTE_High_HB
MonitorElement * RecHit_StatusWord_HB
MonitorElement * meTEprofileHO_High
MonitorElement * meTEprofileHB_Low
std::vector< MonitorElement * > Nhb
MonitorElement * meRecHitsCleanedEnergyHE
MonitorElement * meRecHitsEnergyM3vM0HB
MonitorElement * meRecHitsEnergyHBM3
MonitorElement * RecHit_StatusWordCorr_HE
MonitorElement * meTimeHB
MonitorElement * meTEprofileHF
MonitorElement * RecHit_Aux_StatusWord_HF
MonitorElement * RecHit_Aux_StatusWord_HE
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * RecHit_StatusWordCorr_HB
std::vector< MonitorElement * > meRecHitsEnergyHEP17M3
MonitorElement * meRecHitsCleanedEnergyHO
MonitorElement * meTE_HE
std::vector< MonitorElement * > emean_vs_ieta_HEM0
MonitorElement * meRecHitsEnergyHE
MonitorElement * meTE_Low_HF

◆ dPhiWsign()

double HcalRecHitsAnalyzer::dPhiWsign ( double  phi1,
double  phi2 
)
private

Definition at line 1153 of file HcalRecHitsAnalyzer.cc.

References testProducerWithPsetDescEmpty_cfi::a2, PI, and createJobs::tmp.

1153  {
1154  // clockwise phi2 w.r.t phi1 means "+" phi distance
1155  // anti-clockwise phi2 w.r.t phi1 means "-" phi distance
1156 
1157  double PI = 3.1415926535898;
1158  double a1 = phi1;
1159  double a2 = phi2;
1160  double tmp = a2 - a1;
1161  if (a1 * a2 < 0.) {
1162  if (a1 > 0.5 * PI)
1163  tmp += 2. * PI;
1164  if (a2 > 0.5 * PI)
1165  tmp -= 2. * PI;
1166  }
1167  return tmp;
1168 }
#define PI
Definition: QcdUeDQM.h:37
tmp
align.sh
Definition: createJobs.py:716

◆ dqmBeginRun()

void HcalRecHitsAnalyzer::dqmBeginRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 73 of file HcalRecHitsAnalyzer.cc.

References caloGeometryRunToken_, edm::EventSetup::getData(), HcalDDDRecConstants::getEtaRange(), HcalGeometry::getHxSize(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNPhi(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcalDDDRecConstantsToken_, HcalEndcap, HcalForward, HcalOuter, ieta_bins_, ieta_max_, ieta_min_, hcalTTPDigis_cfi::iEtaMax, createfilelist::int, iphi_bins_, iphi_max_, iphi_min_, SiStripPI::max, maxDepthAll_, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, and nChannels_.

73  {
75  maxDepthHB_ = hcons.getMaxDepth(0);
76  maxDepthHE_ = hcons.getMaxDepth(1);
77  maxDepthHF_ = std::max(hcons.getMaxDepth(2), 1);
78  maxDepthHO_ = hcons.getMaxDepth(3);
79 
80  CaloGeometry const &geo = iSetup.getData(caloGeometryRunToken_);
81 
82  const HcalGeometry *gHB = static_cast<const HcalGeometry *>(geo.getSubdetectorGeometry(DetId::Hcal, HcalBarrel));
83  const HcalGeometry *gHE = static_cast<const HcalGeometry *>(geo.getSubdetectorGeometry(DetId::Hcal, HcalEndcap));
84  const HcalGeometry *gHO = static_cast<const HcalGeometry *>(geo.getSubdetectorGeometry(DetId::Hcal, HcalOuter));
85  const HcalGeometry *gHF = static_cast<const HcalGeometry *>(geo.getSubdetectorGeometry(DetId::Hcal, HcalForward));
86 
87  nChannels_[1] = gHB->getHxSize(1);
88  nChannels_[2] = std::max(int(gHE->getHxSize(2)), 1);
89  nChannels_[3] = gHO->getHxSize(3);
90  nChannels_[4] = gHF->getHxSize(4);
91 
92  nChannels_[0] = nChannels_[1] + nChannels_[2] + nChannels_[3] + nChannels_[4];
93 
94  // std::cout << "Channels HB:" << nChannels_[1] << " HE:" << nChannels_[2] <<
95  // " HO:" << nChannels_[3] << " HF:" << nChannels_[4] << std::endl;
96 
97  // We hardcode the HF depths because in the dual readout configuration,
98  // rechits are not defined for depths 3&4
99  maxDepthHF_ = (maxDepthHF_ > 2 ? 2 : maxDepthHF_); // We retain the dynamic possibility
100  // that HF might have 0 or 1 depths
101 
104 
105  // Get Phi segmentation from geometry, use the max phi number so that all iphi
106  // values are included.
107 
108  int NphiMax = hcons.getNPhi(0);
109 
110  NphiMax = (hcons.getNPhi(1) > NphiMax ? hcons.getNPhi(1) : NphiMax);
111  NphiMax = (hcons.getNPhi(2) > NphiMax ? hcons.getNPhi(2) : NphiMax);
112  NphiMax = (hcons.getNPhi(3) > NphiMax ? hcons.getNPhi(3) : NphiMax);
113 
114  // Center the iphi bins on the integers
115  iphi_min_ = 0.5;
116  iphi_max_ = NphiMax + 0.5;
118 
119  // Retain classic behavior, all plots have same ieta range.
120 
121  int iEtaMax = (hcons.getEtaRange(0).second > hcons.getEtaRange(1).second ? hcons.getEtaRange(0).second
122  : hcons.getEtaRange(1).second);
123  iEtaMax = (iEtaMax > hcons.getEtaRange(2).second ? iEtaMax : hcons.getEtaRange(2).second);
124  iEtaMax = (iEtaMax > hcons.getEtaRange(3).second ? iEtaMax : hcons.getEtaRange(3).second);
125 
126  // Give an empty bin around the subdet ieta range to make it clear that all
127  // ieta rings have been included
128  ieta_min_ = -iEtaMax - 1.5;
129  ieta_max_ = iEtaMax + 1.5;
131 }
std::pair< int, int > getEtaRange(const int &i) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
int getNPhi(const int &type) const
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryRunToken_
int getMaxDepth(const int &type) const
unsigned int getHxSize(const int type) const
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > hcalDDDRecConstantsToken_
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:34

◆ dR()

double HcalRecHitsAnalyzer::dR ( double  eta1,
double  phi1,
double  eta2,
double  phi2 
)
private

Definition at line 1120 of file HcalRecHitsAnalyzer.cc.

References HLT_2022v15_cff::eta1, HLT_2022v15_cff::eta2, mathSSE::sqrt(), and createJobs::tmp.

Referenced by analyze().

1120  {
1121  double PI = 3.1415926535898;
1122  double deltaphi = phi1 - phi2;
1123  if (phi2 > phi1) {
1124  deltaphi = phi2 - phi1;
1125  }
1126  if (deltaphi > PI) {
1127  deltaphi = 2. * PI - deltaphi;
1128  }
1129  double deltaeta = eta2 - eta1;
1130  double tmp = sqrt(deltaeta * deltaeta + deltaphi * deltaphi);
1131  return tmp;
1132 }
T sqrt(T t)
Definition: SSEVec.h:19
tmp
align.sh
Definition: createJobs.py:716

◆ fillRecHitsTmp()

void HcalRecHitsAnalyzer::fillRecHitsTmp ( int  subdet_,
edm::Event const &  ev 
)
privatevirtual

Definition at line 949 of file HcalRecHitsAnalyzer.cc.

References edm::SortedCollection< T, SORT >::begin(), cauxstwd, cchi2, cdepth, cen, cenM0, cenM3, ceta, hltPixelTracks_cff::chi2, cieta, ciphi, cphi, csevlev, cstwd, csub, ctime, cz, LEDCalibrationChannels::depth, edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, makeMEIFBenchmarkPlots::ev, HcalBarrel, HcalEndcap, HcalForward, hcalHBSevLvlVec, hcalHESevLvlVec, hcalHFSevLvlVec, hcalHOSevLvlVec, HcalOuter, hcalSevLvl(), iz, dqmiolumiharvest::j, phi, interestingDetIdCollectionProducer_cfi::severityLevel, subdet_, submitPVValidationJobs::t, tok_hbhe_, tok_hf_, and tok_ho_.

Referenced by analyze().

949  {
950  using namespace edm;
951 
952  // initialize data vectors
953  csub.clear();
954  cen.clear();
955  cenM0.clear();
956  cenM3.clear();
957  cchi2.clear();
958  ceta.clear();
959  cphi.clear();
960  ctime.clear();
961  cieta.clear();
962  ciphi.clear();
963  cdepth.clear();
964  cz.clear();
965  cstwd.clear();
966  cauxstwd.clear();
967  csevlev.clear();
968  hcalHBSevLvlVec.clear();
969  hcalHESevLvlVec.clear();
970  hcalHFSevLvlVec.clear();
971  hcalHOSevLvlVec.clear();
972 
973  if (subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
974  // HBHE
976  if (ev.getByToken(tok_hbhe_, hbhecoll)) {
977  for (HBHERecHitCollection::const_iterator j = hbhecoll->begin(); j != hbhecoll->end(); j++) {
978  HcalDetId cell(j->id());
979  const HcalGeometry *cellGeometry = dynamic_cast<const HcalGeometry *>(geometry->getSubdetectorGeometry(cell));
980  double eta = cellGeometry->getPosition(cell).eta();
981  double phi = cellGeometry->getPosition(cell).phi();
982  double zc = cellGeometry->getPosition(cell).z();
983  int sub = cell.subdet();
984  int depth = cell.depth();
985  int inteta = cell.ieta();
986  int intphi = cell.iphi();
987  double en = j->energy();
988  double enM0 = j->eraw();
989  double enM3 = j->eaux();
990  double chi2 = j->chi2();
991  double t = j->time();
992  int stwd = j->flags();
993  int auxstwd = j->aux();
994 
995  int severityLevel = hcalSevLvl((CaloRecHit *)&*j);
996  if (cell.subdet() == HcalBarrel) {
997  hcalHBSevLvlVec.push_back(severityLevel);
998  } else if (cell.subdet() == HcalEndcap) {
999  hcalHESevLvlVec.push_back(severityLevel);
1000  }
1001 
1002  if ((iz > 0 && eta > 0.) || (iz < 0 && eta < 0.) || iz == 0) {
1003  csub.push_back(sub);
1004  cen.push_back(en);
1005  cenM0.push_back(enM0);
1006  cenM3.push_back(enM3);
1007  cchi2.push_back(chi2);
1008  ceta.push_back(eta);
1009  cphi.push_back(phi);
1010  ctime.push_back(t);
1011  cieta.push_back(inteta);
1012  ciphi.push_back(intphi);
1013  cdepth.push_back(depth);
1014  cz.push_back(zc);
1015  cstwd.push_back(stwd);
1016  cauxstwd.push_back(auxstwd);
1017  csevlev.push_back(severityLevel);
1018  }
1019  }
1020  }
1021  }
1022 
1023  if (subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1024  // HF
1026  if (ev.getByToken(tok_hf_, hfcoll)) {
1027  for (HFRecHitCollection::const_iterator j = hfcoll->begin(); j != hfcoll->end(); j++) {
1028  HcalDetId cell(j->id());
1029  auto cellGeometry = (geometry->getSubdetectorGeometry(cell))->getGeometry(cell);
1030  double eta = cellGeometry->getPosition().eta();
1031  double phi = cellGeometry->getPosition().phi();
1032  double zc = cellGeometry->getPosition().z();
1033  int sub = cell.subdet();
1034  int depth = cell.depth();
1035  int inteta = cell.ieta();
1036  int intphi = cell.iphi();
1037  double en = j->energy();
1038  double enM0 = 0.;
1039  double enM3 = 0.;
1040  double chi2 = 0.;
1041  double t = j->time();
1042  int stwd = j->flags();
1043  int auxstwd = j->aux();
1044 
1045  int severityLevel = hcalSevLvl((CaloRecHit *)&*j);
1046  if (cell.subdet() == HcalForward) {
1047  hcalHFSevLvlVec.push_back(severityLevel);
1048  }
1049 
1050  if ((iz > 0 && eta > 0.) || (iz < 0 && eta < 0.) || iz == 0) {
1051  csub.push_back(sub);
1052  cen.push_back(en);
1053  cenM0.push_back(enM0);
1054  cenM3.push_back(enM3);
1055  cchi2.push_back(chi2);
1056  ceta.push_back(eta);
1057  cphi.push_back(phi);
1058  ctime.push_back(t);
1059  cieta.push_back(inteta);
1060  ciphi.push_back(intphi);
1061  cdepth.push_back(depth);
1062  cz.push_back(zc);
1063  cstwd.push_back(stwd);
1064  cauxstwd.push_back(auxstwd);
1065  csevlev.push_back(severityLevel);
1066  }
1067  }
1068  }
1069  }
1070 
1071  // HO
1072  if (subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1074  if (ev.getByToken(tok_ho_, hocoll)) {
1075  for (HORecHitCollection::const_iterator j = hocoll->begin(); j != hocoll->end(); j++) {
1076  HcalDetId cell(j->id());
1077  auto cellGeometry = (geometry->getSubdetectorGeometry(cell))->getGeometry(cell);
1078  double eta = cellGeometry->getPosition().eta();
1079  double phi = cellGeometry->getPosition().phi();
1080  double zc = cellGeometry->getPosition().z();
1081  int sub = cell.subdet();
1082  int depth = cell.depth();
1083  int inteta = cell.ieta();
1084  int intphi = cell.iphi();
1085  double t = j->time();
1086  double en = j->energy();
1087  double enM0 = 0.;
1088  double enM3 = 0.;
1089  double chi2 = 0.;
1090  int stwd = j->flags();
1091  int auxstwd = j->aux();
1092 
1093  int severityLevel = hcalSevLvl((CaloRecHit *)&*j);
1094  if (cell.subdet() == HcalOuter) {
1095  hcalHOSevLvlVec.push_back(severityLevel);
1096  }
1097 
1098  if ((iz > 0 && eta > 0.) || (iz < 0 && eta < 0.) || iz == 0) {
1099  csub.push_back(sub);
1100  cen.push_back(en);
1101  cenM0.push_back(enM0);
1102  cenM3.push_back(enM3);
1103  cchi2.push_back(chi2);
1104  ceta.push_back(eta);
1105  cphi.push_back(phi);
1106  ctime.push_back(t);
1107  cieta.push_back(inteta);
1108  ciphi.push_back(intphi);
1109  cdepth.push_back(depth);
1110  cz.push_back(zc);
1111  cstwd.push_back(stwd);
1112  cauxstwd.push_back(auxstwd);
1113  csevlev.push_back(severityLevel);
1114  }
1115  }
1116  }
1117  }
1118 }
std::vector< int > csub
std::vector< int > csevlev
std::vector< double > cphi
std::vector< int > hcalHOSevLvlVec
std::vector< int > cdepth
int hcalSevLvl(const CaloRecHit *hit)
std::vector< T >::const_iterator const_iterator
std::vector< int > hcalHBSevLvlVec
std::vector< double > ceta
std::vector< int > hcalHESevLvlVec
edm::EDGetTokenT< HORecHitCollection > tok_ho_
std::vector< double > cchi2
std::vector< uint32_t > cauxstwd
const_iterator begin() const
std::vector< int > ciphi
std::vector< double > cz
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
const_iterator end() const
std::vector< int > cieta
std::vector< double > cenM3
std::vector< uint32_t > cstwd
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
std::vector< int > hcalHFSevLvlVec
HLT enums.
std::vector< double > ctime
std::vector< double > cen
std::vector< double > cenM0

◆ hcalSevLvl()

int HcalRecHitsAnalyzer::hcalSevLvl ( const CaloRecHit hit)
private

Definition at line 1170 of file HcalRecHitsAnalyzer.cc.

References HcalTopology::getMergePositionFlag(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalEndcap, HcalTopology::idFront(), interestingDetIdCollectionProducer_cfi::severityLevel, theHcalChStatus, theHcalSevLvlComputer, and theHcalTopology.

Referenced by fillRecHitsTmp().

1170  {
1171  HcalDetId id = hit->detid();
1172  if (theHcalTopology->getMergePositionFlag() && id.subdet() == HcalEndcap) {
1173  id = theHcalTopology->idFront(id);
1174  }
1175 
1176  const uint32_t recHitFlag = hit->flags();
1177  const uint32_t dbStatusFlag = theHcalChStatus->getValues(id)->getValue();
1178 
1179  int severityLevel = theHcalSevLvlComputer->getSeverityLevel(id, recHitFlag, dbStatusFlag);
1180 
1181  return severityLevel;
1182 }
bool getMergePositionFlag() const
Definition: HcalTopology.h:167
const HcalTopology * theHcalTopology
const HcalSeverityLevelComputer * theHcalSevLvlComputer
const Item * getValues(DetId fId, bool throwOnFail=true) const
HcalDetId idFront(const HcalDetId &id) const
Definition: HcalTopology.h:170
const HcalChannelQuality * theHcalChStatus
uint32_t getValue() const
int getSeverityLevel(const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const

◆ phi12()

double HcalRecHitsAnalyzer::phi12 ( double  phi1,
double  en1,
double  phi2,
double  en2 
)
private

Definition at line 1134 of file HcalRecHitsAnalyzer.cc.

References testProducerWithPsetDescEmpty_cfi::a2, PI, and createJobs::tmp.

Referenced by analyze().

1134  {
1135  // weighted mean value of phi1 and phi2
1136 
1137  double tmp;
1138  double PI = 3.1415926535898;
1139  double a1 = phi1;
1140  double a2 = phi2;
1141 
1142  if (a1 > 0.5 * PI && a2 < 0.)
1143  a2 += 2 * PI;
1144  if (a2 > 0.5 * PI && a1 < 0.)
1145  a1 += 2 * PI;
1146  tmp = (a1 * en1 + a2 * en2) / (en1 + en2);
1147  if (tmp > PI)
1148  tmp -= 2. * PI;
1149 
1150  return tmp;
1151 }
#define PI
Definition: QcdUeDQM.h:37
tmp
align.sh
Definition: createJobs.py:716

Member Data Documentation

◆ caloGeometryEventToken_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> HcalRecHitsAnalyzer::caloGeometryEventToken_
private

Definition at line 102 of file HcalRecHitsAnalyzer.h.

Referenced by analyze().

◆ caloGeometryRunToken_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> HcalRecHitsAnalyzer::caloGeometryRunToken_
private

Definition at line 101 of file HcalRecHitsAnalyzer.h.

Referenced by dqmBeginRun().

◆ cauxstwd

std::vector<uint32_t> HcalRecHitsAnalyzer::cauxstwd
private

Definition at line 300 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cchi2

std::vector<double> HcalRecHitsAnalyzer::cchi2
private

Definition at line 294 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cdepth

std::vector<int> HcalRecHitsAnalyzer::cdepth
private

Definition at line 290 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cen

std::vector<double> HcalRecHitsAnalyzer::cen
private

Definition at line 291 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cenM0

std::vector<double> HcalRecHitsAnalyzer::cenM0
private

Definition at line 292 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cenM3

std::vector<double> HcalRecHitsAnalyzer::cenM3
private

Definition at line 293 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ ceta

std::vector<double> HcalRecHitsAnalyzer::ceta
private

Definition at line 295 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cieta

std::vector<int> HcalRecHitsAnalyzer::cieta
private

Definition at line 288 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ ciphi

std::vector<int> HcalRecHitsAnalyzer::ciphi
private

Definition at line 289 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cphi

std::vector<double> HcalRecHitsAnalyzer::cphi
private

Definition at line 296 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ csevlev

std::vector<int> HcalRecHitsAnalyzer::csevlev
private

Definition at line 301 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cstwd

std::vector<uint32_t> HcalRecHitsAnalyzer::cstwd
private

Definition at line 299 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ csub

std::vector<int> HcalRecHitsAnalyzer::csub
private

Definition at line 287 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ ctime

std::vector<double> HcalRecHitsAnalyzer::ctime
private

Definition at line 297 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ cz

std::vector<double> HcalRecHitsAnalyzer::cz
private

Definition at line 298 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

◆ ecalselector_

std::string HcalRecHitsAnalyzer::ecalselector_
private

Definition at line 76 of file HcalRecHitsAnalyzer.h.

◆ emap

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emap
private

Definition at line 143 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emap_HO

MonitorElement* HcalRecHitsAnalyzer::emap_HO
private

Definition at line 144 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HB

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HB
private

Definition at line 146 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HBM0

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HBM0
private

Definition at line 147 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HBM3

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HBM3
private

Definition at line 148 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HE

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HE
private

Definition at line 149 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HEM0

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HEM0
private

Definition at line 150 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HEM3

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HEM3
private

Definition at line 151 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HEP17

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HEP17
private

Definition at line 152 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HEP17M0

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HEP17M0
private

Definition at line 153 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HEP17M3

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HEP17M3
private

Definition at line 154 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HF

std::vector<MonitorElement *> HcalRecHitsAnalyzer::emean_vs_ieta_HF
private

Definition at line 155 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ emean_vs_ieta_HO

MonitorElement* HcalRecHitsAnalyzer::emean_vs_ieta_HO
private

Definition at line 156 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ etype_

int HcalRecHitsAnalyzer::etype_
private

Definition at line 111 of file HcalRecHitsAnalyzer.h.

◆ eventype_

std::string HcalRecHitsAnalyzer::eventype_
private

Definition at line 77 of file HcalRecHitsAnalyzer.h.

◆ famos_

bool HcalRecHitsAnalyzer::famos_
private

Definition at line 81 of file HcalRecHitsAnalyzer.h.

◆ geometry

CaloGeometry const* HcalRecHitsAnalyzer::geometry = nullptr
private

Definition at line 267 of file HcalRecHitsAnalyzer.h.

◆ hcalChannelQualityToken_

edm::ESGetToken<HcalChannelQuality, HcalChannelQualityRcd> HcalRecHitsAnalyzer::hcalChannelQualityToken_
private

Definition at line 104 of file HcalRecHitsAnalyzer.h.

Referenced by analyze().

◆ hcalDDDRecConstantsToken_

edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> HcalRecHitsAnalyzer::hcalDDDRecConstantsToken_
private

Definition at line 100 of file HcalRecHitsAnalyzer.h.

Referenced by dqmBeginRun().

◆ hcalHBSevLvlVec

std::vector<int> HcalRecHitsAnalyzer::hcalHBSevLvlVec
private

Definition at line 123 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ hcalHESevLvlVec

std::vector<int> HcalRecHitsAnalyzer::hcalHESevLvlVec
private

Definition at line 123 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ hcalHFSevLvlVec

std::vector<int> HcalRecHitsAnalyzer::hcalHFSevLvlVec
private

Definition at line 123 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ hcalHOSevLvlVec

std::vector<int> HcalRecHitsAnalyzer::hcalHOSevLvlVec
private

Definition at line 123 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

◆ hcalselector_

std::string HcalRecHitsAnalyzer::hcalselector_
private

Definition at line 75 of file HcalRecHitsAnalyzer.h.

◆ hcalSeverityLevelComputerToken_

edm::ESGetToken<HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd> HcalRecHitsAnalyzer::hcalSeverityLevelComputerToken_
private

Definition at line 105 of file HcalRecHitsAnalyzer.h.

Referenced by analyze().

◆ hcalTopologyToken_

edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> HcalRecHitsAnalyzer::hcalTopologyToken_
private

Definition at line 103 of file HcalRecHitsAnalyzer.h.

Referenced by analyze().

◆ hep17_

bool HcalRecHitsAnalyzer::hep17_
private

Definition at line 79 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ ieta_bins_

int HcalRecHitsAnalyzer::ieta_bins_
private

Definition at line 90 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ ieta_max_

float HcalRecHitsAnalyzer::ieta_max_
private

Definition at line 91 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ ieta_min_

float HcalRecHitsAnalyzer::ieta_min_
private

Definition at line 91 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ imc

int HcalRecHitsAnalyzer::imc
private

Definition at line 113 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ iphi_bins_

int HcalRecHitsAnalyzer::iphi_bins_
private

Definition at line 87 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ iphi_max_

float HcalRecHitsAnalyzer::iphi_max_
private

Definition at line 88 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ iphi_min_

float HcalRecHitsAnalyzer::iphi_min_
private

Definition at line 88 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ iz

int HcalRecHitsAnalyzer::iz
private

Definition at line 112 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

◆ map_ecal

MonitorElement* HcalRecHitsAnalyzer::map_ecal
private

Definition at line 141 of file HcalRecHitsAnalyzer.h.

◆ maxDepthAll_

int HcalRecHitsAnalyzer::maxDepthAll_
private

Definition at line 83 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ maxDepthHB_

int HcalRecHitsAnalyzer::maxDepthHB_
private

Definition at line 83 of file HcalRecHitsAnalyzer.h.

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

◆ maxDepthHE_

int HcalRecHitsAnalyzer::maxDepthHE_
private

Definition at line 83 of file HcalRecHitsAnalyzer.h.

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

◆ maxDepthHF_

int HcalRecHitsAnalyzer::maxDepthHF_
private

Definition at line 83 of file HcalRecHitsAnalyzer.h.

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

◆ maxDepthHO_

int HcalRecHitsAnalyzer::maxDepthHO_
private

Definition at line 83 of file HcalRecHitsAnalyzer.h.

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

◆ mc_

std::string HcalRecHitsAnalyzer::mc_
private

Definition at line 80 of file HcalRecHitsAnalyzer.h.

◆ meDeltaEta

MonitorElement* HcalRecHitsAnalyzer::meDeltaEta
private

Definition at line 179 of file HcalRecHitsAnalyzer.h.

◆ meDeltaPhi

MonitorElement* HcalRecHitsAnalyzer::meDeltaPhi
private

Definition at line 178 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyConeHB

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHB
private

Definition at line 254 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyConeHE

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHE
private

Definition at line 255 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyConeHF

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHF
private

Definition at line 257 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyConeHO

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHO
private

Definition at line 256 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyHB

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyHB
private

Definition at line 251 of file HcalRecHitsAnalyzer.h.

◆ meEcalHcalEnergyHE

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyHE
private

Definition at line 252 of file HcalRecHitsAnalyzer.h.

◆ meEnConeEtaProfile

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile
private

Definition at line 174 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meEnConeEtaProfile_E

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile_E
private

Definition at line 175 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meEnConeEtaProfile_EH

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile_EH
private

Definition at line 176 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meEnergyHcalVsEcalHB

MonitorElement* HcalRecHitsAnalyzer::meEnergyHcalVsEcalHB
private

Definition at line 260 of file HcalRecHitsAnalyzer.h.

◆ meEnergyHcalVsEcalHE

MonitorElement* HcalRecHitsAnalyzer::meEnergyHcalVsEcalHE
private

Definition at line 261 of file HcalRecHitsAnalyzer.h.

◆ meLog10Chi2profileHB

MonitorElement* HcalRecHitsAnalyzer::meLog10Chi2profileHB
private

Definition at line 220 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meLog10Chi2profileHE

MonitorElement* HcalRecHitsAnalyzer::meLog10Chi2profileHE
private

Definition at line 227 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meNumEcalRecHitsConeHB

MonitorElement* HcalRecHitsAnalyzer::meNumEcalRecHitsConeHB
private

Definition at line 264 of file HcalRecHitsAnalyzer.h.

◆ meNumEcalRecHitsConeHE

MonitorElement* HcalRecHitsAnalyzer::meNumEcalRecHitsConeHE
private

Definition at line 265 of file HcalRecHitsAnalyzer.h.

◆ meRecHitsCleanedEnergyHB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsCleanedEnergyHB
private

Definition at line 189 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsCleanedEnergyHE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsCleanedEnergyHE
private

Definition at line 198 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsCleanedEnergyHF

MonitorElement* HcalRecHitsAnalyzer::meRecHitsCleanedEnergyHF
private

Definition at line 213 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsCleanedEnergyHO

MonitorElement* HcalRecHitsAnalyzer::meRecHitsCleanedEnergyHO
private

Definition at line 210 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHB
private

Definition at line 188 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHBM0

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHBM0
private

Definition at line 190 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHBM3

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHBM3
private

Definition at line 191 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHE
private

Definition at line 197 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHEM0

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHEM0
private

Definition at line 199 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHEM3

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHEM3
private

Definition at line 200 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHEP17

std::vector<MonitorElement *> HcalRecHitsAnalyzer::meRecHitsEnergyHEP17
private

Definition at line 201 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHEP17M0

std::vector<MonitorElement *> HcalRecHitsAnalyzer::meRecHitsEnergyHEP17M0
private

Definition at line 202 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHEP17M3

std::vector<MonitorElement *> HcalRecHitsAnalyzer::meRecHitsEnergyHEP17M3
private

Definition at line 203 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHF

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHF
private

Definition at line 212 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyHO

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHO
private

Definition at line 209 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM2vM0HB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM2vM0HB
private

Definition at line 192 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM2vM0HE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM2vM0HE
private

Definition at line 204 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM3vM0HB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM0HB
private

Definition at line 193 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM3vM0HE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM0HE
private

Definition at line 205 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM3vM2HB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM2HB
private

Definition at line 194 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsEnergyM3vM2HE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM2HE
private

Definition at line 206 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsM2Chi2HB

MonitorElement* HcalRecHitsAnalyzer::meRecHitsM2Chi2HB
private

Definition at line 195 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meRecHitsM2Chi2HE

MonitorElement* HcalRecHitsAnalyzer::meRecHitsM2Chi2HE
private

Definition at line 207 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meSumRecHitsEnergyConeHB

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHB
private

Definition at line 244 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyConeHE

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHE
private

Definition at line 245 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyConeHF

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHF
private

Definition at line 247 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyConeHFL

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHFL
private

Definition at line 248 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyConeHFS

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHFS
private

Definition at line 249 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyConeHO

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHO
private

Definition at line 246 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyHB

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHB
private

Definition at line 239 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyHE

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHE
private

Definition at line 240 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyHF

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHF
private

Definition at line 242 of file HcalRecHitsAnalyzer.h.

◆ meSumRecHitsEnergyHO

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHO
private

Definition at line 241 of file HcalRecHitsAnalyzer.h.

◆ meTE_HB

MonitorElement* HcalRecHitsAnalyzer::meTE_HB
private

Definition at line 216 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_HE

MonitorElement* HcalRecHitsAnalyzer::meTE_HE
private

Definition at line 224 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_HF

MonitorElement* HcalRecHitsAnalyzer::meTE_HF
private

Definition at line 235 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_High_HB

MonitorElement* HcalRecHitsAnalyzer::meTE_High_HB
private

Definition at line 217 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_High_HO

MonitorElement* HcalRecHitsAnalyzer::meTE_High_HO
private

Definition at line 230 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_HO

MonitorElement* HcalRecHitsAnalyzer::meTE_HO
private

Definition at line 229 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_Low_HB

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HB
private

Definition at line 215 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_Low_HE

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HE
private

Definition at line 223 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTE_Low_HF

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HF
private

Definition at line 234 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHB

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB
private

Definition at line 219 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHB_High

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB_High
private

Definition at line 221 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHB_Low

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB_Low
private

Definition at line 218 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHE

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHE
private

Definition at line 226 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHE_Low

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHE_Low
private

Definition at line 225 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHF

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHF
private

Definition at line 237 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHF_Low

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHF_Low
private

Definition at line 236 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHO

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHO
private

Definition at line 231 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTEprofileHO_High

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHO_High
private

Definition at line 232 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTimeHB

MonitorElement* HcalRecHitsAnalyzer::meTimeHB
private

Definition at line 182 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTimeHE

MonitorElement* HcalRecHitsAnalyzer::meTimeHE
private

Definition at line 183 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTimeHF

MonitorElement* HcalRecHitsAnalyzer::meTimeHF
private

Definition at line 185 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ meTimeHO

MonitorElement* HcalRecHitsAnalyzer::meTimeHO
private

Definition at line 184 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nChannels_

int HcalRecHitsAnalyzer::nChannels_[5]
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ nevtot

int HcalRecHitsAnalyzer::nevtot
private

Definition at line 304 of file HcalRecHitsAnalyzer.h.

Referenced by analyze().

◆ Nhb

std::vector<MonitorElement *> HcalRecHitsAnalyzer::Nhb
private

Definition at line 131 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ Nhe

std::vector<MonitorElement *> HcalRecHitsAnalyzer::Nhe
private

Definition at line 132 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ Nhf

std::vector<MonitorElement *> HcalRecHitsAnalyzer::Nhf
private

Definition at line 134 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ Nho

std::vector<MonitorElement *> HcalRecHitsAnalyzer::Nho
private

Definition at line 133 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HBM

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HBM
private

Definition at line 168 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HBP

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HBP
private

Definition at line 168 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HEM

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HEM
private

Definition at line 169 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HEP

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HEP
private

Definition at line 169 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HFM

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HFM
private

Definition at line 170 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HFP

std::vector<MonitorElement *> HcalRecHitsAnalyzer::nrechits_vs_iphi_HFP
private

Definition at line 170 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HOM

MonitorElement * HcalRecHitsAnalyzer::nrechits_vs_iphi_HOM
private

Definition at line 171 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ nrechits_vs_iphi_HOP

MonitorElement* HcalRecHitsAnalyzer::nrechits_vs_iphi_HOP
private

Definition at line 171 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ occupancy_map_HB

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_map_HB
private

Definition at line 158 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ occupancy_map_HE

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_map_HE
private

Definition at line 159 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ occupancy_map_HF

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_map_HF
private

Definition at line 160 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ occupancy_map_HO

MonitorElement* HcalRecHitsAnalyzer::occupancy_map_HO
private

Definition at line 161 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ occupancy_vs_ieta_HB

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_vs_ieta_HB
private

Definition at line 163 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

◆ occupancy_vs_ieta_HE

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_vs_ieta_HE
private

Definition at line 164 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

◆ occupancy_vs_ieta_HF

std::vector<MonitorElement *> HcalRecHitsAnalyzer::occupancy_vs_ieta_HF
private

Definition at line 165 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

◆ occupancy_vs_ieta_HO

MonitorElement* HcalRecHitsAnalyzer::occupancy_vs_ieta_HO
private

Definition at line 166 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

◆ outputFile_

std::string HcalRecHitsAnalyzer::outputFile_
private

Definition at line 74 of file HcalRecHitsAnalyzer.h.

◆ RecHit_Aux_StatusWord_HB

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HB
private

Definition at line 281 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_Aux_StatusWord_HE

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HE
private

Definition at line 282 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_Aux_StatusWord_HF

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HF
private

Definition at line 283 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_Aux_StatusWord_HO

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HO
private

Definition at line 284 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWord_HB

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HB
private

Definition at line 270 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWord_HE

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HE
private

Definition at line 271 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWord_HF

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HF
private

Definition at line 272 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWord_HF67

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HF67
private

Definition at line 273 of file HcalRecHitsAnalyzer.h.

◆ RecHit_StatusWord_HO

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HO
private

Definition at line 274 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWordCorr_HB

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWordCorr_HB
private

Definition at line 277 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ RecHit_StatusWordCorr_HE

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWordCorr_HE
private

Definition at line 278 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ sevLvl_HB

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HB
private

Definition at line 125 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ sevLvl_HE

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HE
private

Definition at line 126 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ sevLvl_HF

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HF
private

Definition at line 127 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ sevLvl_HO

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HO
private

Definition at line 128 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

◆ sign_

std::string HcalRecHitsAnalyzer::sign_
private

Definition at line 78 of file HcalRecHitsAnalyzer.h.

◆ subdet_

int HcalRecHitsAnalyzer::subdet_
private

Definition at line 108 of file HcalRecHitsAnalyzer.h.

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

◆ theHcalChStatus

const HcalChannelQuality* HcalRecHitsAnalyzer::theHcalChStatus = nullptr
private

Definition at line 118 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

◆ theHcalSevLvlComputer

const HcalSeverityLevelComputer* HcalRecHitsAnalyzer::theHcalSevLvlComputer = nullptr
private

Definition at line 120 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

◆ theHcalTopology

const HcalTopology* HcalRecHitsAnalyzer::theHcalTopology = nullptr
private

Definition at line 116 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

◆ tok_EB_

edm::EDGetTokenT<EBRecHitCollection> HcalRecHitsAnalyzer::tok_EB_
private

Definition at line 97 of file HcalRecHitsAnalyzer.h.

◆ tok_EE_

edm::EDGetTokenT<EERecHitCollection> HcalRecHitsAnalyzer::tok_EE_
private

Definition at line 98 of file HcalRecHitsAnalyzer.h.

◆ tok_hbhe_

edm::EDGetTokenT<HBHERecHitCollection> HcalRecHitsAnalyzer::tok_hbhe_
private

Definition at line 94 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

◆ tok_hf_

edm::EDGetTokenT<HFRecHitCollection> HcalRecHitsAnalyzer::tok_hf_
private

Definition at line 96 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

◆ tok_ho_

edm::EDGetTokenT<HORecHitCollection> HcalRecHitsAnalyzer::tok_ho_
private

Definition at line 95 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

◆ topFolderName_

std::string HcalRecHitsAnalyzer::topFolderName_
private

Definition at line 72 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().