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::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

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

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

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< 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_
 
edm::ESHandle< CaloGeometrygeometry
 
std::vector< int > hcalHBSevLvlVec
 
std::vector< int > hcalHESevLvlVec
 
std::vector< int > hcalHFSevLvlVec
 
std::vector< int > hcalHOSevLvlVec
 
std::string hcalselector_
 
const HcalDDDRecConstantshcons
 
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
 
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
 
const HcalSeverityLevelComputertheHcalSevLvlComputer
 
const HcalTopologytheHcalTopology
 
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 edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 58 of file HcalRecHitsAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 6 of file HcalRecHitsAnalyzer.cc.

References isolatedTracks_cfi::EBRecHitCollectionLabel, ecalselector_, isolatedTracks_cfi::EERecHitCollectionLabel, etype_, eventype_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalselector_, hep17_, imc, iz, nevtot, outputFile_, sign_, AlCaHLTBitMon_QueryRunRegistry::string, subdet_, tok_EB_, tok_EE_, tok_hbhe_, tok_hf_, and tok_ho_.

7  : topFolderName_ ( conf.getParameter<std::string>("TopFolderName") )
8 {
9 
10  // DQM ROOT output
11  outputFile_ = conf.getUntrackedParameter<std::string>("outputFile", "myfile.root");
12 
13  if ( !outputFile_.empty() ) {
14  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will be saved to '" << outputFile_.c_str() << "'";
15  } else {
16  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will NOT be saved";
17  }
18 
19  nevtot = 0;
20 
21  hcalselector_ = conf.getUntrackedParameter<std::string>("hcalselector", "all");
22  ecalselector_ = conf.getUntrackedParameter<std::string>("ecalselector", "yes");
23  eventype_ = conf.getUntrackedParameter<std::string>("eventype", "single");
24  sign_ = conf.getUntrackedParameter<std::string>("sign", "*");
25  //useAllHistos_ = conf.getUntrackedParameter<bool>("useAllHistos", false);
26 
27  //HEP17 configuration
28  hep17_ = conf.getUntrackedParameter<bool>("hep17");
29 
30  //Collections
31  tok_hbhe_ = consumes<HBHERecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HBHERecHitCollectionLabel"));
32  tok_hf_ = consumes<HFRecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HFRecHitCollectionLabel"));
33  tok_ho_ = consumes<HORecHitCollection>(conf.getUntrackedParameter<edm::InputTag>("HORecHitCollectionLabel"));
34  edm::InputTag EBRecHitCollectionLabel = conf.getParameter<edm::InputTag>("EBRecHitCollectionLabel");
35  tok_EB_ = consumes<EBRecHitCollection>(EBRecHitCollectionLabel);
36  edm::InputTag EERecHitCollectionLabel = conf.getParameter<edm::InputTag>("EERecHitCollectionLabel");
37  tok_EE_ = consumes<EERecHitCollection>(EERecHitCollectionLabel);
38 
39  subdet_ = 5;
40  if (hcalselector_ == "noise") subdet_ = 0;
41  if (hcalselector_ == "HB" ) subdet_ = 1;
42  if (hcalselector_ == "HE" ) subdet_ = 2;
43  if (hcalselector_ == "HO" ) subdet_ = 3;
44  if (hcalselector_ == "HF" ) subdet_ = 4;
45  if (hcalselector_ == "all" ) subdet_ = 5;
46  if (hcalselector_ == "ZS" ) subdet_ = 6;
47 
48  etype_ = 1;
49  if (eventype_ == "multi") etype_ = 2;
50 
51  iz = 1;
52  if(sign_ == "-") iz = -1;
53  if(sign_ == "*") iz = 0;
54 
55  imc = 0;
56 
57  }
edm::EDGetTokenT< EBRecHitCollection > tok_EB_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
edm::EDGetTokenT< EERecHitCollection > tok_EE_

Member Function Documentation

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

Implements edm::stream::EDAnalyzerBase.

Definition at line 508 of file HcalRecHitsAnalyzer.cc.

References cauxstwd, cchi2, cdepth, cen, cenM0, cenM3, ceta, vertices_cff::chi2, cieta, ciphi, cphi, cstwd, csub, ctime, particleFlowClusterECALTimeSelected_cfi::depth, dR(), ecalselector_, 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, MonitorElement::Fill(), HcalObjRepresent::Fill(), fillRecHitsTmp(), edm::EventSetup::get(), edm::Event::getByToken(), hcalHBSevLvlVec, hcalHESevLvlVec, hcalHFSevLvlVec, hcalHOSevLvlVec, hep17_, mps_fire::i, imc, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meEnConeEtaProfile, meEnConeEtaProfile_E, meEnConeEtaProfile_EH, meLog10Chi2profileHB, meLog10Chi2profileHE, 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(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), rpcPointValidation_cfi::recHit, 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_, lumiQTWidget::t, theHcalChStatus, theHcalSevLvlComputer, theHcalTopology, tok_EB_, and tok_EE_.

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

Implements DQMEDAnalyzer.

Definition at line 120 of file HcalRecHitsAnalyzer.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), particleFlowClusterECALTimeSelected_cfi::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_, trackerHits::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, 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, 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, DQMStore::IBooker::setCurrentFolder(), sevLvl_HB, sevLvl_HE, sevLvl_HF, sevLvl_HO, subdet_, and topFolderName_.

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

Definition at line 1114 of file HcalRecHitsAnalyzer.cc.

References PI, and tmp.

1114  {
1115  // clockwise phi2 w.r.t phi1 means "+" phi distance
1116  // anti-clockwise phi2 w.r.t phi1 means "-" phi distance
1117 
1118  double PI = 3.1415926535898;
1119  double a1 = phi1; double a2 = phi2;
1120  double tmp = a2 - a1;
1121  if( a1*a2 < 0.) {
1122  if(a1 > 0.5 * PI) tmp += 2.*PI;
1123  if(a2 > 0.5 * PI) tmp -= 2.*PI;
1124  }
1125  return tmp;
1126 
1127 }
#define PI
Definition: QcdUeDQM.h:36
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
void HcalRecHitsAnalyzer::dqmBeginRun ( const edm::Run run,
const edm::EventSetup c 
)
override

Definition at line 59 of file HcalRecHitsAnalyzer.cc.

References geometry, edm::EventSetup::get(), HcalDDDRecConstants::getEtaRange(), HcalGeometry::getHxSize(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNPhi(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons, ieta_bins_, ieta_max_, ieta_min_, hcalTTPDigis_cfi::iEtaMax, createfilelist::int, iphi_bins_, iphi_max_, iphi_min_, maxDepthAll_, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, nChannels_, and edm::ESHandle< T >::product().

59  {
60 
62  es.get<HcalRecNumberingRecord>().get( pHRNDC );
63  hcons = &(*pHRNDC);
68 
70 
71  es.get<CaloGeometryRecord > ().get(geometry);
72 
73  const CaloGeometry* geo = geometry.product();
74  const HcalGeometry* gHB = static_cast<const HcalGeometry*>(geo->getSubdetectorGeometry(DetId::Hcal,HcalBarrel));
75  const HcalGeometry* gHE = static_cast<const HcalGeometry*>(geo->getSubdetectorGeometry(DetId::Hcal,HcalEndcap));
76  const HcalGeometry* gHO = static_cast<const HcalGeometry*>(geo->getSubdetectorGeometry(DetId::Hcal,HcalOuter));
77  const HcalGeometry* gHF = static_cast<const HcalGeometry*>(geo->getSubdetectorGeometry(DetId::Hcal,HcalForward));
78 
79  nChannels_[1] = gHB->getHxSize(1);
80  nChannels_[2] = gHE->getHxSize(2);
81  nChannels_[3] = gHO->getHxSize(3);
82  nChannels_[4] = gHF->getHxSize(4);
83 
84  nChannels_[0] = nChannels_[1] + nChannels_[2] + nChannels_[3] + nChannels_[4];
85 
86  //std::cout << "Channels HB:" << nChannels_[1] << " HE:" << nChannels_[2] << " HO:" << nChannels_[3] << " HF:" << nChannels_[4] << std::endl;
87 
88  //We hardcode the HF depths because in the dual readout configuration, rechits are not defined for depths 3&4
89  maxDepthHF_ = (maxDepthHF_ > 2 ? 2 : maxDepthHF_); //We retain the dynamic possibility that HF might have 0 or 1 depths
90 
93 
94  //Get Phi segmentation from geometry, use the max phi number so that all iphi values are included.
95 
96  int NphiMax = hcons->getNPhi(0);
97 
98  NphiMax = (hcons->getNPhi(1) > NphiMax ? hcons->getNPhi(1) : NphiMax);
99  NphiMax = (hcons->getNPhi(2) > NphiMax ? hcons->getNPhi(2) : NphiMax);
100  NphiMax = (hcons->getNPhi(3) > NphiMax ? hcons->getNPhi(3) : NphiMax);
101 
102  //Center the iphi bins on the integers
103  iphi_min_ = 0.5;
104  iphi_max_ = NphiMax + 0.5;
106 
107  //Retain classic behavior, all plots have same ieta range.
108 
109  int iEtaMax = (hcons->getEtaRange(0).second > hcons->getEtaRange(1).second ? hcons->getEtaRange(0).second : hcons->getEtaRange(1).second);
110  iEtaMax = (iEtaMax > hcons->getEtaRange(2).second ? iEtaMax : hcons->getEtaRange(2).second);
111  iEtaMax = (iEtaMax > hcons->getEtaRange(3).second ? iEtaMax : hcons->getEtaRange(3).second);
112 
113  //Give an empty bin around the subdet ieta range to make it clear that all ieta rings have been included
114  ieta_min_ = -iEtaMax - 1.5;
115  ieta_max_ = iEtaMax + 1.5;
117 
118  }
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:44
unsigned int getHxSize(const int type) const
std::pair< int, int > getEtaRange(const int &i) const
int getMaxDepth(const int &type) const
const HcalDDDRecConstants * hcons
T const * product() const
Definition: ESHandle.h:86
edm::ESHandle< CaloGeometry > geometry
int getNPhi(const int &type) const
double HcalRecHitsAnalyzer::dR ( double  eta1,
double  phi1,
double  eta2,
double  phi2 
)
private

Definition at line 1088 of file HcalRecHitsAnalyzer.cc.

References PI, mathSSE::sqrt(), and tmp.

Referenced by analyze().

1088  {
1089  double PI = 3.1415926535898;
1090  double deltaphi= phi1 - phi2;
1091  if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
1092  if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
1093  double deltaeta = eta2 - eta1;
1094  double tmp = sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
1095  return tmp;
1096 }
T sqrt(T t)
Definition: SSEVec.h:18
#define PI
Definition: QcdUeDQM.h:36
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
void HcalRecHitsAnalyzer::fillRecHitsTmp ( int  subdet_,
edm::Event const &  ev 
)
privatevirtual

Definition at line 909 of file HcalRecHitsAnalyzer.cc.

References edm::SortedCollection< T, SORT >::begin(), cauxstwd, cchi2, cdepth, cen, cenM0, cenM3, ceta, vertices_cff::chi2, cieta, ciphi, cphi, cstwd, csub, ctime, cz, particleFlowClusterECALTimeSelected_cfi::depth, edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, edm::Event::getByToken(), ecaldqm::getGeometry(), HcalBarrel, HcalEndcap, HcalForward, hcalHBSevLvlVec, hcalHESevLvlVec, hcalHFSevLvlVec, hcalHOSevLvlVec, HcalOuter, hcalSevLvl(), iz, phi, interestingDetIdCollectionProducer_cfi::severityLevel, lumiQTWidget::t, tok_hbhe_, tok_hf_, and tok_ho_.

Referenced by analyze().

909  {
910 
911  using namespace edm;
912 
913 
914  // initialize data vectors
915  csub.clear();
916  cen.clear();
917  cenM0.clear();
918  cenM3.clear();
919  cchi2.clear();
920  ceta.clear();
921  cphi.clear();
922  ctime.clear();
923  cieta.clear();
924  ciphi.clear();
925  cdepth.clear();
926  cz.clear();
927  cstwd.clear();
928  cauxstwd.clear();
929  hcalHBSevLvlVec.clear();
930  hcalHESevLvlVec.clear();
931  hcalHFSevLvlVec.clear();
932  hcalHOSevLvlVec.clear();
933 
934  if( subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
935 
936  //HBHE
938  if ( ev.getByToken(tok_hbhe_, hbhecoll) ) {
939 
940  for (HBHERecHitCollection::const_iterator j=hbhecoll->begin(); j != hbhecoll->end(); j++) {
941  HcalDetId cell(j->id());
942  const HcalGeometry* cellGeometry =
943  dynamic_cast<const HcalGeometry*>(geometry->getSubdetectorGeometry(cell));
944  double eta = cellGeometry->getPosition(cell).eta () ;
945  double phi = cellGeometry->getPosition(cell).phi () ;
946  double zc = cellGeometry->getPosition(cell).z ();
947  int sub = cell.subdet();
948  int depth = cell.depth();
949  int inteta = cell.ieta();
950  int intphi = cell.iphi();
951  double en = j->energy();
952  double enM0 = j->eraw();
953  double enM3 = j->eaux();
954  double chi2 = j->chi2();
955  double t = j->time();
956  int stwd = j->flags();
957  int auxstwd = j->aux();
958 
959  int severityLevel = hcalSevLvl( (CaloRecHit*) &*j );
960  if( cell.subdet()==HcalBarrel ){
961  hcalHBSevLvlVec.push_back(severityLevel);
962  }else if (cell.subdet()==HcalEndcap ){
963  hcalHESevLvlVec.push_back(severityLevel);
964  }
965 
966  if((iz > 0 && eta > 0.) || (iz < 0 && eta <0.) || iz == 0) {
967 
968  csub.push_back(sub);
969  cen.push_back(en);
970  cenM0.push_back(enM0);
971  cenM3.push_back(enM3);
972  cchi2.push_back(chi2);
973  ceta.push_back(eta);
974  cphi.push_back(phi);
975  ctime.push_back(t);
976  cieta.push_back(inteta);
977  ciphi.push_back(intphi);
978  cdepth.push_back(depth);
979  cz.push_back(zc);
980  cstwd.push_back(stwd);
981  cauxstwd.push_back(auxstwd);
982  }
983  }
984 
985  }
986  }
987 
988  if( subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
989 
990  //HF
992  if ( ev.getByToken(tok_hf_, hfcoll) ) {
993 
994  for (HFRecHitCollection::const_iterator j = hfcoll->begin(); j != hfcoll->end(); j++) {
995  HcalDetId cell(j->id());
996  auto cellGeometry = (geometry->getSubdetectorGeometry(cell))->getGeometry (cell) ;
997  double eta = cellGeometry->getPosition().eta () ;
998  double phi = cellGeometry->getPosition().phi () ;
999  double zc = cellGeometry->getPosition().z ();
1000  int sub = cell.subdet();
1001  int depth = cell.depth();
1002  int inteta = cell.ieta();
1003  int intphi = cell.iphi();
1004  double en = j->energy();
1005  double enM0 = 0.;
1006  double enM3 = 0.;
1007  double chi2 = 0.;
1008  double t = j->time();
1009  int stwd = j->flags();
1010  int auxstwd = j->aux();
1011 
1012  int severityLevel = hcalSevLvl( (CaloRecHit*) &*j );
1013  if( cell.subdet()==HcalForward ){
1014  hcalHFSevLvlVec.push_back(severityLevel);
1015  }
1016 
1017  if((iz > 0 && eta > 0.) || (iz < 0 && eta <0.) || iz == 0) {
1018 
1019  csub.push_back(sub);
1020  cen.push_back(en);
1021  cenM0.push_back(enM0);
1022  cenM3.push_back(enM3);
1023  cchi2.push_back(chi2);
1024  ceta.push_back(eta);
1025  cphi.push_back(phi);
1026  ctime.push_back(t);
1027  cieta.push_back(inteta);
1028  ciphi.push_back(intphi);
1029  cdepth.push_back(depth);
1030  cz.push_back(zc);
1031  cstwd.push_back(stwd);
1032  cauxstwd.push_back(auxstwd);
1033  }
1034  }
1035  }
1036  }
1037 
1038  //HO
1039  if( subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1040 
1042  if ( ev.getByToken(tok_ho_, hocoll) ) {
1043 
1044  for (HORecHitCollection::const_iterator j = hocoll->begin(); j != hocoll->end(); j++) {
1045  HcalDetId cell(j->id());
1046  auto cellGeometry = (geometry->getSubdetectorGeometry(cell))->getGeometry (cell) ;
1047  double eta = cellGeometry->getPosition().eta () ;
1048  double phi = cellGeometry->getPosition().phi () ;
1049  double zc = cellGeometry->getPosition().z ();
1050  int sub = cell.subdet();
1051  int depth = cell.depth();
1052  int inteta = cell.ieta();
1053  int intphi = cell.iphi();
1054  double t = j->time();
1055  double en = j->energy();
1056  double enM0 = 0.;
1057  double enM3 = 0.;
1058  double chi2 = 0.;
1059  int stwd = j->flags();
1060  int auxstwd = j->aux();
1061 
1062  int severityLevel = hcalSevLvl( (CaloRecHit*) &*j );
1063  if( cell.subdet()==HcalOuter ){
1064  hcalHOSevLvlVec.push_back(severityLevel);
1065  }
1066 
1067  if((iz > 0 && eta > 0.) || (iz < 0 && eta <0.) || iz == 0) {
1068  csub.push_back(sub);
1069  cen.push_back(en);
1070  cenM0.push_back(enM0);
1071  cenM3.push_back(enM3);
1072  cchi2.push_back(chi2);
1073  ceta.push_back(eta);
1074  cphi.push_back(phi);
1075  ctime.push_back(t);
1076  cieta.push_back(inteta);
1077  ciphi.push_back(intphi);
1078  cdepth.push_back(depth);
1079  cz.push_back(zc);
1080  cstwd.push_back(stwd);
1081  cauxstwd.push_back(auxstwd);
1082  }
1083  }
1084  }
1085  }
1086 }
std::vector< int > csub
std::vector< double > cphi
std::vector< int > hcalHOSevLvlVec
std::vector< int > cdepth
int hcalSevLvl(const CaloRecHit *hit)
std::vector< HBHERecHit >::const_iterator const_iterator
std::vector< int > hcalHBSevLvlVec
bool ev
std::vector< double > ceta
CaloGeometry const * getGeometry()
std::vector< int > hcalHESevLvlVec
edm::EDGetTokenT< HORecHitCollection > tok_ho_
std::vector< double > cchi2
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
Definition: CaloGeometry.cc:69
std::vector< uint32_t > cauxstwd
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_
T eta() const
Definition: PV3DBase.h:76
std::vector< int > hcalHFSevLvlVec
HLT enums.
std::vector< double > ctime
std::vector< double > cen
std::vector< double > cenM0
const_iterator begin() const
int HcalRecHitsAnalyzer::hcalSevLvl ( const CaloRecHit hit)
private

Definition at line 1129 of file HcalRecHitsAnalyzer.cc.

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

Referenced by fillRecHitsTmp().

1129  {
1130 
1131  HcalDetId id = hit->detid();
1132  if (theHcalTopology->getMergePositionFlag() && id.subdet() == HcalEndcap) {
1133  id = theHcalTopology->idFront(id);
1134  }
1135 
1136  const uint32_t recHitFlag = hit->flags();
1137  const uint32_t dbStatusFlag = theHcalChStatus->getValues(id)->getValue();
1138 
1139  int severityLevel = theHcalSevLvlComputer->getSeverityLevel(id, recHitFlag, dbStatusFlag);
1140 
1141  return severityLevel;
1142 
1143 }
const DetId & detid() const
Definition: CaloRecHit.h:21
const HcalTopology * theHcalTopology
const Item * getValues(DetId fId, bool throwOnFail=true) const
bool getMergePositionFlag() const
Definition: HcalTopology.h:170
const HcalSeverityLevelComputer * theHcalSevLvlComputer
const HcalChannelQuality * theHcalChStatus
uint32_t flags() const
Definition: CaloRecHit.h:22
int getSeverityLevel(const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const
HcalDetId idFront(const HcalDetId &id) const
Definition: HcalTopology.h:176
uint32_t getValue() const
double HcalRecHitsAnalyzer::phi12 ( double  phi1,
double  en1,
double  phi2,
double  en2 
)
private

Definition at line 1098 of file HcalRecHitsAnalyzer.cc.

References PI, and tmp.

Referenced by analyze().

1098  {
1099  // weighted mean value of phi1 and phi2
1100 
1101  double tmp;
1102  double PI = 3.1415926535898;
1103  double a1 = phi1; double a2 = phi2;
1104 
1105  if( a1 > 0.5*PI && a2 < 0.) a2 += 2*PI;
1106  if( a2 > 0.5*PI && a1 < 0.) a1 += 2*PI;
1107  tmp = (a1 * en1 + a2 * en2)/(en1 + en2);
1108  if(tmp > PI) tmp -= 2.*PI;
1109 
1110  return tmp;
1111 
1112 }
#define PI
Definition: QcdUeDQM.h:36
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100

Member Data Documentation

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

Definition at line 295 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 289 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 285 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 286 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 287 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 288 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 290 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 283 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 284 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 291 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 294 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 282 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 292 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 293 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp().

std::string HcalRecHitsAnalyzer::ecalselector_
private

Definition at line 77 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and HcalRecHitsAnalyzer().

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

Definition at line 139 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::emap_HO
private

Definition at line 140 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 142 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 143 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 144 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 145 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 146 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 147 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 148 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 149 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 150 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 151 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::emean_vs_ieta_HO
private

Definition at line 152 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

int HcalRecHitsAnalyzer::etype_
private

Definition at line 107 of file HcalRecHitsAnalyzer.h.

Referenced by HcalRecHitsAnalyzer().

std::string HcalRecHitsAnalyzer::eventype_
private

Definition at line 78 of file HcalRecHitsAnalyzer.h.

Referenced by HcalRecHitsAnalyzer().

bool HcalRecHitsAnalyzer::famos_
private

Definition at line 82 of file HcalRecHitsAnalyzer.h.

edm::ESHandle<CaloGeometry> HcalRecHitsAnalyzer::geometry
private
std::vector<int> HcalRecHitsAnalyzer::hcalHBSevLvlVec
private

Definition at line 119 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 119 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 119 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

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

Definition at line 119 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and fillRecHitsTmp().

std::string HcalRecHitsAnalyzer::hcalselector_
private

Definition at line 76 of file HcalRecHitsAnalyzer.h.

Referenced by HcalRecHitsAnalyzer().

const HcalDDDRecConstants* HcalRecHitsAnalyzer::hcons
private

Definition at line 84 of file HcalRecHitsAnalyzer.h.

Referenced by dqmBeginRun().

bool HcalRecHitsAnalyzer::hep17_
private

Definition at line 80 of file HcalRecHitsAnalyzer.h.

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

int HcalRecHitsAnalyzer::ieta_bins_
private

Definition at line 93 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float HcalRecHitsAnalyzer::ieta_max_
private

Definition at line 94 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float HcalRecHitsAnalyzer::ieta_min_
private

Definition at line 94 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int HcalRecHitsAnalyzer::imc
private

Definition at line 109 of file HcalRecHitsAnalyzer.h.

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

int HcalRecHitsAnalyzer::iphi_bins_
private

Definition at line 90 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float HcalRecHitsAnalyzer::iphi_max_
private

Definition at line 91 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float HcalRecHitsAnalyzer::iphi_min_
private

Definition at line 91 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int HcalRecHitsAnalyzer::iz
private

Definition at line 108 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp(), and HcalRecHitsAnalyzer().

MonitorElement* HcalRecHitsAnalyzer::map_ecal
private

Definition at line 137 of file HcalRecHitsAnalyzer.h.

int HcalRecHitsAnalyzer::maxDepthAll_
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int HcalRecHitsAnalyzer::maxDepthHB_
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

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

int HcalRecHitsAnalyzer::maxDepthHE_
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

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

int HcalRecHitsAnalyzer::maxDepthHF_
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

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

int HcalRecHitsAnalyzer::maxDepthHO_
private

Definition at line 85 of file HcalRecHitsAnalyzer.h.

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

std::string HcalRecHitsAnalyzer::mc_
private

Definition at line 81 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meDeltaEta
private

Definition at line 175 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meDeltaPhi
private

Definition at line 174 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHB
private

Definition at line 249 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHE
private

Definition at line 250 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHF
private

Definition at line 252 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyConeHO
private

Definition at line 251 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyHB
private

Definition at line 246 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEcalHcalEnergyHE
private

Definition at line 247 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile
private

Definition at line 170 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile_E
private

Definition at line 171 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meEnConeEtaProfile_EH
private

Definition at line 172 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meEnergyHcalVsEcalHB
private

Definition at line 255 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meEnergyHcalVsEcalHE
private

Definition at line 256 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meLog10Chi2profileHB
private

Definition at line 212 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meLog10Chi2profileHE
private

Definition at line 219 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meNumEcalRecHitsConeHB
private

Definition at line 259 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meNumEcalRecHitsConeHE
private

Definition at line 260 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHB
private

Definition at line 184 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHBM0
private

Definition at line 185 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHBM3
private

Definition at line 186 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHE
private

Definition at line 192 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHEM0
private

Definition at line 193 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHEM3
private

Definition at line 194 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 195 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 196 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 197 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHF
private

Definition at line 205 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyHO
private

Definition at line 203 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM2vM0HB
private

Definition at line 187 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM2vM0HE
private

Definition at line 198 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM0HB
private

Definition at line 188 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM0HE
private

Definition at line 199 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM2HB
private

Definition at line 189 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsEnergyM3vM2HE
private

Definition at line 200 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsM2Chi2HB
private

Definition at line 190 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meRecHitsM2Chi2HE
private

Definition at line 201 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHB
private

Definition at line 238 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHE
private

Definition at line 239 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHF
private

Definition at line 241 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHFL
private

Definition at line 242 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHFS
private

Definition at line 243 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyConeHO
private

Definition at line 240 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHB
private

Definition at line 232 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHE
private

Definition at line 233 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHF
private

Definition at line 235 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meSumRecHitsEnergyHO
private

Definition at line 234 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::meTE_HB
private

Definition at line 208 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_HE
private

Definition at line 216 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_HF
private

Definition at line 227 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_High_HB
private

Definition at line 209 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_High_HO
private

Definition at line 222 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_HO
private

Definition at line 221 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HB
private

Definition at line 207 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HE
private

Definition at line 215 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTE_Low_HF
private

Definition at line 226 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB
private

Definition at line 211 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB_High
private

Definition at line 213 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHB_Low
private

Definition at line 210 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHE
private

Definition at line 218 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHE_Low
private

Definition at line 217 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHF
private

Definition at line 229 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHF_Low
private

Definition at line 228 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHO
private

Definition at line 223 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTEprofileHO_High
private

Definition at line 224 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTimeHB
private

Definition at line 178 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTimeHE
private

Definition at line 179 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTimeHF
private

Definition at line 181 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::meTimeHO
private

Definition at line 180 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

int HcalRecHitsAnalyzer::nChannels_[5]
private

Definition at line 88 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int HcalRecHitsAnalyzer::nevtot
private

Definition at line 298 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and HcalRecHitsAnalyzer().

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

Definition at line 127 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 128 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 130 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 129 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 164 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 164 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 165 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 165 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 166 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 166 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement * HcalRecHitsAnalyzer::nrechits_vs_iphi_HOM
private

Definition at line 167 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::nrechits_vs_iphi_HOP
private

Definition at line 167 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 154 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 155 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 156 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::occupancy_map_HO
private

Definition at line 157 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 159 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

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

Definition at line 160 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

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

Definition at line 161 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::occupancy_vs_ieta_HO
private

Definition at line 162 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().

std::string HcalRecHitsAnalyzer::outputFile_
private

Definition at line 75 of file HcalRecHitsAnalyzer.h.

Referenced by HcalRecHitsAnalyzer().

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HB
private

Definition at line 276 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HE
private

Definition at line 277 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HF
private

Definition at line 278 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_Aux_StatusWord_HO
private

Definition at line 279 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HB
private

Definition at line 265 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HE
private

Definition at line 266 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HF
private

Definition at line 267 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HF67
private

Definition at line 268 of file HcalRecHitsAnalyzer.h.

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWord_HO
private

Definition at line 269 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWordCorr_HB
private

Definition at line 272 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::RecHit_StatusWordCorr_HE
private

Definition at line 273 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HB
private

Definition at line 121 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HE
private

Definition at line 122 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HF
private

Definition at line 123 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HcalRecHitsAnalyzer::sevLvl_HO
private

Definition at line 124 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and bookHistograms().

std::string HcalRecHitsAnalyzer::sign_
private

Definition at line 79 of file HcalRecHitsAnalyzer.h.

Referenced by HcalRecHitsAnalyzer().

int HcalRecHitsAnalyzer::subdet_
private

Definition at line 104 of file HcalRecHitsAnalyzer.h.

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

const HcalChannelQuality* HcalRecHitsAnalyzer::theHcalChStatus
private

Definition at line 114 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

const HcalSeverityLevelComputer* HcalRecHitsAnalyzer::theHcalSevLvlComputer
private

Definition at line 116 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

const HcalTopology* HcalRecHitsAnalyzer::theHcalTopology
private

Definition at line 112 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and hcalSevLvl().

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

Definition at line 100 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and HcalRecHitsAnalyzer().

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

Definition at line 101 of file HcalRecHitsAnalyzer.h.

Referenced by analyze(), and HcalRecHitsAnalyzer().

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

Definition at line 97 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp(), and HcalRecHitsAnalyzer().

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

Definition at line 99 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp(), and HcalRecHitsAnalyzer().

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

Definition at line 98 of file HcalRecHitsAnalyzer.h.

Referenced by fillRecHitsTmp(), and HcalRecHitsAnalyzer().

std::string HcalRecHitsAnalyzer::topFolderName_
private

Definition at line 73 of file HcalRecHitsAnalyzer.h.

Referenced by bookHistograms().