CMS 3D CMS Logo

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

#include <CaloTowersAnalyzer.h>

Inheritance diagram for CaloTowersAnalyzer:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

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

Private Types

typedef math::RhoEtaPhiVector Vector
 

Private Member Functions

double dR (double eta1, double phi1, double eta2, double phi2)
 

Private Attributes

MonitorElementemean_vs_ieta_E
 
MonitorElementemean_vs_ieta_E1
 
MonitorElementemean_vs_ieta_EH
 
MonitorElementemean_vs_ieta_EH1
 
MonitorElementemean_vs_ieta_H
 
MonitorElementemean_vs_ieta_H1
 
MonitorElementemEnergyTiming_HB
 
MonitorElementemEnergyTiming_HE
 
MonitorElementemEnergyTiming_HF
 
MonitorElementemEnergyTiming_High_HB
 
MonitorElementemEnergyTiming_Low_HB
 
MonitorElementemEnergyTiming_Low_HE
 
MonitorElementemEnergyTiming_profile_HB
 
MonitorElementemEnergyTiming_profile_HE
 
MonitorElementemEnergyTiming_profile_HF
 
MonitorElementemEnergyTiming_profile_High_HB
 
MonitorElementemEnergyTiming_profile_Low_HB
 
MonitorElementemEnergyTiming_profile_Low_HE
 
MonitorElementemTiming_HB
 
MonitorElementemTiming_HE
 
MonitorElementemTiming_HF
 
double etaMax [3]
 
double etaMin [3]
 
MonitorElementhadEnergyTiming_HB
 
MonitorElementhadEnergyTiming_HE
 
MonitorElementhadEnergyTiming_HF
 
MonitorElementhadEnergyTiming_High_HB
 
MonitorElementhadEnergyTiming_Low_HB
 
MonitorElementhadEnergyTiming_Low_HE
 
MonitorElementhadEnergyTiming_Low_HF
 
MonitorElementhadEnergyTiming_profile_HB
 
MonitorElementhadEnergyTiming_profile_HE
 
MonitorElementhadEnergyTiming_profile_HF
 
MonitorElementhadEnergyTiming_profile_High_HB
 
MonitorElementhadEnergyTiming_profile_Low_HB
 
MonitorElementhadEnergyTiming_profile_Low_HE
 
MonitorElementhadEnergyTiming_profile_Low_HF
 
MonitorElementhadTiming_HB
 
MonitorElementhadTiming_HE
 
MonitorElementhadTiming_HF
 
std::string hcalselector_
 
const HcalDDDRecConstantshcons
 
int ieta_bins_
 
float ieta_max_
 
float ieta_min_
 
int imc
 
int iphi_bins_
 
float iphi_max_
 
float iphi_min_
 
int isub
 
MonitorElementmapEnergy_E
 
MonitorElementmapEnergy_EH
 
MonitorElementmapEnergy_H
 
MonitorElementmapEnergy_HB
 
MonitorElementmapEnergy_HE
 
MonitorElementmapEnergy_HF
 
MonitorElementmapEnergy_N
 
MonitorElementmapEnergyEcal_HB
 
MonitorElementmapEnergyEcal_HE
 
MonitorElementmapEnergyEcal_HF
 
MonitorElementmapEnergyHcal_HB
 
MonitorElementmapEnergyHcal_HE
 
MonitorElementmapEnergyHcal_HF
 
std::string mc_
 
MonitorElementmeEnergyEcal_HB
 
MonitorElementmeEnergyEcal_HE
 
MonitorElementmeEnergyEcal_HF
 
MonitorElementmeEnergyEcalTower_HB
 
MonitorElementmeEnergyEcalTower_HE
 
MonitorElementmeEnergyEcalTower_HF
 
MonitorElementmeEnergyHcal_HB
 
MonitorElementmeEnergyHcal_HE
 
MonitorElementmeEnergyHcal_HF
 
MonitorElementmeEnergyHcalTower_HB
 
MonitorElementmeEnergyHcalTower_HE
 
MonitorElementmeEnergyHcalTower_HF
 
MonitorElementmeEnergyHcalvsEcal_HB
 
MonitorElementmeEnergyHcalvsEcal_HE
 
MonitorElementmeEnergyHcalvsEcal_HF
 
MonitorElementmeEnergyHO_HB
 
MonitorElementmeEnergyHO_HE
 
MonitorElementmeEnergyHO_HF
 
MonitorElementmeIphiCaloTower_HFM
 
MonitorElementmeIphiCaloTower_HFP
 
MonitorElementmeIphiHcalTower_HBM
 
MonitorElementmeIphiHcalTower_HBP
 
MonitorElementmeIphiHcalTower_HEM
 
MonitorElementmeIphiHcalTower_HEP
 
MonitorElementmeNumFiredTowers_HB
 
MonitorElementmeNumFiredTowers_HE
 
MonitorElementmeNumFiredTowers_HF
 
MonitorElementMET_HB
 
MonitorElementMET_HE
 
MonitorElementMET_HF
 
MonitorElementmeTotEnergy_HB
 
MonitorElementmeTotEnergy_HE
 
MonitorElementmeTotEnergy_HF
 
int nevent
 
MonitorElementNtowers_vs_ieta
 
MonitorElementnumBadCellsEcal_EB
 
MonitorElementnumBadCellsEcal_EE
 
MonitorElementnumBadCellsHcal_HB
 
MonitorElementnumBadCellsHcal_HE
 
MonitorElementnumBadCellsHcal_HF
 
MonitorElementnumPrbCellsEcal_EB
 
MonitorElementnumPrbCellsEcal_EE
 
MonitorElementnumPrbCellsHcal_HB
 
MonitorElementnumPrbCellsHcal_HE
 
MonitorElementnumPrbCellsHcal_HF
 
MonitorElementnumRcvCellsEcal_EB
 
MonitorElementnumRcvCellsEcal_EE
 
MonitorElementnumRcvCellsHcal_HB
 
MonitorElementnumRcvCellsHcal_HE
 
MonitorElementnumRcvCellsHcal_HF
 
MonitorElementoccupancy_map
 
MonitorElementoccupancy_vs_ieta
 
std::string outputFile_
 
MonitorElementphiMET_HB
 
MonitorElementphiMET_HE
 
MonitorElementphiMET_HF
 
MonitorElementSET_HB
 
MonitorElementSET_HE
 
MonitorElementSET_HF
 
edm::EDGetTokenT< CaloTowerCollectiontok_towers_
 
bool useAllHistos_
 

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 41 of file CaloTowersAnalyzer.h.

Member Typedef Documentation

Definition at line 60 of file CaloTowersAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 6 of file CaloTowersAnalyzer.cc.

References edm::ParameterSet::getUntrackedParameter(), hcalselector_, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, tok_towers_, and useAllHistos_.

6  {
7 
8  tok_towers_ = consumes<CaloTowerCollection>(conf.getUntrackedParameter<edm::InputTag>("CaloTowerCollectionLabel"));
9  // DQM ROOT output
10 
11  outputFile_ = conf.getUntrackedParameter<std::string>("outputFile", "myfile.root");
12 
13  hcalselector_ = conf.getUntrackedParameter<std::string>("hcalselector", "all");
14 
15  useAllHistos_ = conf.getUntrackedParameter<bool>("useAllHistos", false);
16 }
edm::EDGetTokenT< CaloTowerCollection > tok_towers_
CaloTowersAnalyzer::~CaloTowersAnalyzer ( )

Definition at line 446 of file CaloTowersAnalyzer.cc.

446  {
447 
448 }

Member Function Documentation

void CaloTowersAnalyzer::analyze ( edm::Event const &  e,
edm::EventSetup const &  c 
)
overridevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 455 of file CaloTowersAnalyzer.cc.

References edm::SortedCollection< T, SORT >::begin(), DetId::det(), DetId::Ecal, EcalBarrel, EcalEndcap, emEnergyTiming_HB, emEnergyTiming_HE, emEnergyTiming_HF, emEnergyTiming_High_HB, emEnergyTiming_Low_HB, emEnergyTiming_Low_HE, emEnergyTiming_profile_HB, emEnergyTiming_profile_HE, emEnergyTiming_profile_HF, emEnergyTiming_profile_High_HB, emEnergyTiming_profile_Low_HB, emEnergyTiming_profile_Low_HE, emTiming_HB, emTiming_HE, emTiming_HF, edm::SortedCollection< T, SORT >::end(), etaMax, etaMin, MonitorElement::Fill(), HcalObjRepresent::Fill(), hadEnergyTiming_HB, hadEnergyTiming_HE, hadEnergyTiming_HF, hadEnergyTiming_High_HB, hadEnergyTiming_Low_HB, hadEnergyTiming_Low_HE, hadEnergyTiming_Low_HF, hadEnergyTiming_profile_HB, hadEnergyTiming_profile_HE, hadEnergyTiming_profile_HF, hadEnergyTiming_profile_High_HB, hadEnergyTiming_profile_Low_HB, hadEnergyTiming_profile_Low_HE, hadEnergyTiming_profile_Low_HF, hadTiming_HB, hadTiming_HE, hadTiming_HF, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, CaloTowerDetId::ieta(), isub, mapEnergy_HB, mapEnergy_HE, mapEnergy_HF, mapEnergy_N, mapEnergyEcal_HB, mapEnergyEcal_HE, mapEnergyEcal_HF, mapEnergyHcal_HB, mapEnergyHcal_HE, mapEnergyHcal_HF, meEnergyEcal_HB, meEnergyEcal_HE, meEnergyEcal_HF, meEnergyEcalTower_HB, meEnergyEcalTower_HE, meEnergyEcalTower_HF, meEnergyHcal_HB, meEnergyHcal_HE, meEnergyHcal_HF, meEnergyHcalTower_HB, meEnergyHcalTower_HE, meEnergyHcalTower_HF, meEnergyHcalvsEcal_HB, meEnergyHcalvsEcal_HE, meEnergyHcalvsEcal_HF, meEnergyHO_HB, meEnergyHO_HE, meEnergyHO_HF, meIphiCaloTower_HFM, meIphiCaloTower_HFP, meIphiHcalTower_HBM, meIphiHcalTower_HBP, meIphiHcalTower_HEM, meIphiHcalTower_HEP, meNumFiredTowers_HB, meNumFiredTowers_HE, meNumFiredTowers_HF, RazorAnalyzer::met, MET_HB, MET_HE, MET_HF, meTotEnergy_HB, meTotEnergy_HE, meTotEnergy_HF, nevent, Ntowers_vs_ieta, numBadCellsEcal_EB, numBadCellsEcal_EE, numBadCellsHcal_HB, numBadCellsHcal_HE, numBadCellsHcal_HF, numPrbCellsEcal_EB, numPrbCellsEcal_EE, numPrbCellsHcal_HB, numPrbCellsHcal_HE, numPrbCellsHcal_HF, numRcvCellsEcal_EB, numRcvCellsEcal_EE, numRcvCellsHcal_HB, numRcvCellsHcal_HE, numRcvCellsHcal_HF, occupancy_map, phiMET_HB, phiMET_HE, phiMET_HF, SET_HB, SET_HE, SET_HF, mathSSE::sqrt(), HcalDetId::subdet(), DetId::subdetId(), tok_towers_, and useAllHistos_.

455  {
456 
457  nevent++;
458 
460  event.getByToken(tok_towers_,towers);
462 
463  double met;
464  double phimet;
465 
466  // ieta scan
467  //double partR = 0.3;
468  //double Rmin = 9999.;
469  //double Econe = 0.;
470  //double Hcone = 0.;
471  //double Ee1 = 0.;
472  //double Eh1 = 0.;
473  double ieta_MC = 9999;
474  double iphi_MC = 9999;
475 
476  // HB
477  double sumEnergyHcal_HB = 0.;
478  double sumEnergyEcal_HB = 0.;
479  double sumEnergyHO_HB = 0.;
480  Int_t numFiredTowers_HB = 0;
481  double metx_HB = 0.;
482  double mety_HB = 0.;
483  double metz_HB = 0.;
484  double sEt_HB = 0.;
485  // HE
486  double sumEnergyHcal_HE = 0.;
487  double sumEnergyEcal_HE = 0.;
488  double sumEnergyHO_HE = 0.;
489  Int_t numFiredTowers_HE = 0;
490  double metx_HE = 0.;
491  double mety_HE = 0.;
492  double metz_HE = 0.;
493  double sEt_HE = 0.;
494  // HF
495  double sumEnergyHcal_HF = 0.;
496  double sumEnergyEcal_HF = 0.;
497  double sumEnergyHO_HF = 0.;
498  Int_t numFiredTowers_HF = 0;
499  double metx_HF = 0.;
500  double mety_HF = 0.;
501  double metz_HF = 0.;
502  double sEt_HF = 0.;
503 
504  for ( cal = towers->begin(); cal != towers->end(); ++cal ) {
505 
506  double eE = cal->emEnergy();
507  double eH = cal->hadEnergy();
508  double eHO = cal->outerEnergy();
509  double etaT = cal->eta();
510  // double phiT = cal->phi();
511  double en = cal->energy();
512  double etT = cal->et();
513  double had_tm = cal->hcalTime();
514  double em_tm = cal->ecalTime();
515 
516  int numBadEcalCells = cal->numBadEcalCells();
517  int numRcvEcalCells = cal->numRecoveredEcalCells();
518  int numPrbEcalCells = cal->numProblematicEcalCells();
519 
520  int numBadHcalCells = cal->numBadHcalCells();
521  int numRcvHcalCells = cal->numRecoveredHcalCells();
522  int numPrbHcalCells = cal->numProblematicHcalCells();
523 
524  math::RhoEtaPhiVector mom(cal->et(), cal->eta(), cal->phi());
525  // Vector mom = cal->momentum();
526 
527  // cell properties
528  CaloTowerDetId idT = cal->id();
529  int ieta = idT.ieta();
530  int iphi = idT.iphi();
531 
532  // ecal: 0 EcalBarrel 1 EcalEndcap
533  // hcal: 0 hcalBarrel 1 HcalEndcap 2 HcalForward
534  std::vector<int> inEcals(2), inHcals(3);
535  unsigned int constitSize = cal->constituentsSize();
536  for(unsigned int ic=0; ic<constitSize; ic++){
537  DetId detId = cal->constituent(ic);
538  if(detId.det() == DetId::Ecal){
539  if( detId.subdetId()==EcalBarrel ) inEcals[0] =1;
540  else if( detId.subdetId()==EcalEndcap ) inEcals[1] =1;
541  }
542  if(detId.det() == DetId::Hcal){
543  if( HcalDetId(detId).subdet()==HcalBarrel ) inHcals[0] =1;
544  else if( HcalDetId(detId).subdet()==HcalEndcap ) inHcals[1] =1;
545  else if( HcalDetId(detId).subdet()==HcalForward ) inHcals[2] =1;
546  }
547  }
548  //All cell histos are used
549  if( inEcals[0] ) {
550  numBadCellsEcal_EB->Fill(numBadEcalCells);
551  numRcvCellsEcal_EB->Fill(numRcvEcalCells);
552  numPrbCellsEcal_EB->Fill(numPrbEcalCells);
553  }
554  if( inEcals[1] ) {
555  numBadCellsEcal_EE->Fill(numBadEcalCells);
556  numRcvCellsEcal_EE->Fill(numRcvEcalCells);
557  numPrbCellsEcal_EE->Fill(numPrbEcalCells);
558  }
559 
560  //Ntowers is used in EndJob, occupancy_map is used for occupancy vs ieta
561  Ntowers_vs_ieta -> Fill(double(ieta),1.);
562  occupancy_map -> Fill(double(ieta),double(iphi));
563 
564  if((isub == 0 || isub == 1)
565  && (fabs(etaT) < etaMax[0] && fabs(etaT) >= etaMin[0] )) {
566 
567  //All cell histos are used
568  numBadCellsHcal_HB->Fill(numBadHcalCells);
569  numRcvCellsHcal_HB->Fill(numRcvHcalCells);
570  numPrbCellsHcal_HB->Fill(numPrbHcalCells);
571 
572  //Map energy histos are not used
573  if (useAllHistos_){
574  mapEnergy_HB -> Fill(double(ieta), double(iphi), en);
575  mapEnergyHcal_HB -> Fill(double(ieta), double(iphi), eH);
576  mapEnergyEcal_HB -> Fill(double(ieta), double(iphi), eE);
577  }
578  // std::cout << " e_ecal = " << eE << std::endl;
579 
580  if (eH>0.){ // iphi of HCAL component of calotower
581  if (ieta>0) meIphiHcalTower_HBP -> Fill(double(iphi));
582  else meIphiHcalTower_HBM -> Fill(double(iphi));
583  }
584 
585  // simple sums
586  sumEnergyHcal_HB += eH;
587  sumEnergyEcal_HB += eE;
588  sumEnergyHO_HB += eHO;
589 
590  numFiredTowers_HB++;
591 
592  //Not used
593  if (useAllHistos_){
596  }
597 
598  // MET, SET & phimet
599  // double etT = cal->et();
600  metx_HB += mom.x();
601  mety_HB += mom.y(); //etT * sin(phiT);
602  sEt_HB += etT;
603 
604  //Timing (all histos are used)
605  emTiming_HB->Fill(em_tm);
606  hadTiming_HB->Fill(had_tm);
607 
608  emEnergyTiming_Low_HB->Fill(eE, em_tm);
609  emEnergyTiming_HB->Fill(eE, em_tm);
610  emEnergyTiming_High_HB->Fill(eE, em_tm);
612  emEnergyTiming_profile_HB->Fill(eE, em_tm);
614 
615  hadEnergyTiming_Low_HB->Fill(eH, had_tm);
616  hadEnergyTiming_HB->Fill(eH, had_tm);
617  hadEnergyTiming_High_HB->Fill(eH, had_tm);
618  hadEnergyTiming_profile_Low_HB->Fill(eH, had_tm);
619  hadEnergyTiming_profile_HB->Fill(eH, had_tm);
621  }
622 
623  if((isub == 0 || isub == 2)
624  && (fabs(etaT) < etaMax[1] && fabs(etaT) >= etaMin[1] )) {
625 
626  //All cell histos are used
627  numBadCellsHcal_HE->Fill(numBadHcalCells);
628  numRcvCellsHcal_HE->Fill(numRcvHcalCells);
629  numPrbCellsHcal_HE->Fill(numPrbHcalCells);
630 
631  //Map energy histos are not used
632  if (useAllHistos_){
633  mapEnergy_HE -> Fill(double(ieta), double(iphi), en);
634  mapEnergyHcal_HE -> Fill(double(ieta), double(iphi), eH);
635  mapEnergyEcal_HE -> Fill(double(ieta), double(iphi), eE);
636  }
637  // std::cout << " e_ecal = " << eE << std::endl;
638 
639  if (eH>0.){ // iphi of HCAL component of calotower
640  if (ieta>0) meIphiHcalTower_HEP -> Fill(double(iphi));
641  else meIphiHcalTower_HEM -> Fill(double(iphi));
642  }
643 
644  // simple sums
645  sumEnergyHcal_HE += eH;
646  sumEnergyEcal_HE += eE;
647  sumEnergyHO_HE += eHO;
648 
649  numFiredTowers_HE++;
650 
651  //Not used
652  if (useAllHistos_){
655  }
656  // MET, SET & phimet
657  // double etT = cal->et();
658  metx_HE += mom.x();
659  mety_HE += mom.y(); //etT * sin(phiT);
660  sEt_HE += etT;
661 
662  //Timing (all histos are used)
663  emTiming_HE->Fill(em_tm);
664  hadTiming_HE->Fill(had_tm);
665 
666  emEnergyTiming_Low_HE->Fill(eE, em_tm);
667  emEnergyTiming_HE->Fill(eE, em_tm);
669  emEnergyTiming_profile_HE->Fill(eE, em_tm);
670 
671  hadEnergyTiming_Low_HE->Fill(eH, had_tm);
672  hadEnergyTiming_HE->Fill(eH, had_tm);
673  hadEnergyTiming_profile_Low_HE->Fill(eH, had_tm);
674  hadEnergyTiming_profile_HE->Fill(eH, had_tm);
675  }
676 
677  if((isub == 0 || isub == 3)
678  && (fabs(etaT) < etaMax[2] && fabs(etaT) >= etaMin[2] )) {
679 
680  //All cell histos are used
681  numBadCellsHcal_HF->Fill(numBadHcalCells);
682  numRcvCellsHcal_HF->Fill(numRcvHcalCells);
683  numPrbCellsHcal_HF->Fill(numPrbHcalCells);
684 
685  //Map energy histos are not used
686  if (useAllHistos_){
687  mapEnergy_HF -> Fill(double(ieta), double(iphi), en);
688  mapEnergyHcal_HF -> Fill(double(ieta), double(iphi), eH);
689  mapEnergyEcal_HF -> Fill(double(ieta), double(iphi), eE);
690  }
691  // std::cout << " e_ecal = " << eE << std::endl;
692 
693  if (ieta>0) meIphiCaloTower_HFP -> Fill(double(iphi));
694  else meIphiCaloTower_HFM -> Fill(double(iphi));
695 
696  // simple sums
697  sumEnergyHcal_HF += eH;
698  sumEnergyEcal_HF += eE;
699  sumEnergyHO_HF += eHO;
700 
701  numFiredTowers_HF++;
702 
703  //Not used
704  if (useAllHistos_){
707  }
708  // MET, SET & phimet
709  // double etT = cal->et();
710  metx_HF += mom.x();
711  mety_HF += mom.y(); //etT * sin(phiT);
712  sEt_HF += etT;
713 
714  //Timing (all histos are used)
715  emTiming_HF->Fill(em_tm);
716  hadTiming_HF->Fill(had_tm);
717  emEnergyTiming_HF->Fill(eE, em_tm);
718  emEnergyTiming_profile_HF->Fill(eE, em_tm);
719 
720  hadEnergyTiming_Low_HF->Fill(eH, had_tm);
721  hadEnergyTiming_HF->Fill(eH, had_tm);
722  hadEnergyTiming_profile_Low_HF->Fill(eH, had_tm);
723  hadEnergyTiming_profile_HF->Fill(eH, had_tm);
724  }
725 
726 
727 
728  } // end of Towers cycle
729 
730  //These are the six single pion histos; only the second set is used
731 
732  mapEnergy_N -> Fill(double(ieta_MC), double(iphi_MC), 1.);
733 
734  if(isub == 0 || isub == 1) {
735  met = sqrt(metx_HB*metx_HB + mety_HB*mety_HB);
736  Vector metv(metx_HB,mety_HB,metz_HB);
737  phimet = metv.phi();
738 
739  //Five oldest drawn histos first; the rest are not used
740  meEnergyHcal_HB-> Fill(sumEnergyHcal_HB);
741  meEnergyEcal_HB-> Fill(sumEnergyEcal_HB);
742  meNumFiredTowers_HB-> Fill(numFiredTowers_HB);
743  MET_HB -> Fill (met);
744  SET_HB -> Fill (sEt_HB);
745 
746  if (useAllHistos_){
747  meEnergyHcalvsEcal_HB->Fill(sumEnergyEcal_HB, sumEnergyHcal_HB);
748  meEnergyHO_HB-> Fill(sumEnergyHO_HB);
749  meTotEnergy_HB-> Fill(sumEnergyHcal_HB+sumEnergyEcal_HB
750  +sumEnergyHO_HB);
751  phiMET_HB -> Fill (phimet);
752  }
753  }
754 
755 
756  if(isub == 0 || isub == 2) {
757  met = sqrt(metx_HE*metx_HE + mety_HE*mety_HE);
758  Vector metv(metx_HE,mety_HE,metz_HE);
759  phimet = metv.phi();
760 
761  //Five oldest drawn histos first; the rest are not used
762  meEnergyHcal_HE-> Fill(sumEnergyHcal_HE);
763  meEnergyEcal_HE-> Fill(sumEnergyEcal_HE);
764  meNumFiredTowers_HE-> Fill(numFiredTowers_HE);
765  MET_HE -> Fill (met);
766  SET_HE -> Fill (sEt_HE);
767 
768  if (useAllHistos_){
769  meEnergyHcalvsEcal_HE->Fill(sumEnergyEcal_HE, sumEnergyHcal_HE);
770  meEnergyHO_HE-> Fill(sumEnergyHO_HE);
771  meTotEnergy_HE-> Fill(sumEnergyHcal_HE+sumEnergyEcal_HE
772  +sumEnergyHO_HE);
773  phiMET_HE -> Fill (phimet);
774  }
775  }
776 
777  if(isub == 0 || isub == 3) {
778  met = sqrt(metx_HF*metx_HF + mety_HF*mety_HF);
779  Vector metv(metx_HF,mety_HF,metz_HF);
780  phimet = metv.phi();
781 
782  //Five oldest drawn histos first; the rest are not used
783  meEnergyHcal_HF-> Fill(sumEnergyHcal_HF);
784  meEnergyEcal_HF-> Fill(sumEnergyEcal_HF);
785  meNumFiredTowers_HF-> Fill(numFiredTowers_HF);
786  MET_HF -> Fill (met);
787  SET_HF -> Fill (sEt_HF);
788 
789  if (useAllHistos_){
790  meEnergyHcalvsEcal_HF->Fill(sumEnergyEcal_HF, sumEnergyHcal_HF);
791  meEnergyHO_HF-> Fill(sumEnergyHO_HF);
792  meTotEnergy_HF-> Fill(sumEnergyHcal_HF+sumEnergyEcal_HF
793  +sumEnergyHO_HF);
794  phiMET_HF -> Fill (phimet);
795  }
796  }
797 
798 }
MonitorElement * mapEnergyEcal_HF
MonitorElement * meNumFiredTowers_HF
MonitorElement * hadEnergyTiming_profile_High_HB
MonitorElement * hadEnergyTiming_HF
MonitorElement * meEnergyHcalvsEcal_HE
MonitorElement * meEnergyHcalTower_HF
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
MonitorElement * hadEnergyTiming_Low_HE
MonitorElement * meEnergyHcalTower_HE
MonitorElement * numRcvCellsHcal_HF
MonitorElement * MET_HE
MonitorElement * phiMET_HF
MonitorElement * emEnergyTiming_profile_Low_HB
MonitorElement * phiMET_HE
ROOT::Math::Plane3D::Vector Vector
Definition: EcalHitMaker.cc:29
MonitorElement * meEnergyEcalTower_HF
MonitorElement * hadEnergyTiming_profile_Low_HE
MonitorElement * emEnergyTiming_Low_HB
MonitorElement * emTiming_HE
MonitorElement * meEnergyEcalTower_HE
MonitorElement * numRcvCellsEcal_EB
std::vector< CaloTower >::const_iterator const_iterator
MonitorElement * meEnergyHcalTower_HB
MonitorElement * emEnergyTiming_profile_Low_HE
MonitorElement * meIphiHcalTower_HEM
MonitorElement * numRcvCellsEcal_EE
MonitorElement * meIphiHcalTower_HEP
MonitorElement * SET_HF
MonitorElement * meEnergyHcal_HF
MonitorElement * meEnergyHcal_HB
MonitorElement * meEnergyHO_HB
MonitorElement * emTiming_HB
MonitorElement * MET_HF
MonitorElement * occupancy_map
MonitorElement * emEnergyTiming_HE
MonitorElement * hadEnergyTiming_Low_HB
MonitorElement * hadEnergyTiming_profile_Low_HB
RhoEtaPhiVectorD RhoEtaPhiVector
spatial vector with cylindrical internal representation using pseudorapidity
Definition: Vector3D.h:32
MonitorElement * hadTiming_HE
MonitorElement * SET_HB
void Fill(long long x)
MonitorElement * mapEnergyEcal_HB
MonitorElement * meEnergyHO_HF
MonitorElement * phiMET_HB
MonitorElement * meEnergyEcal_HE
MonitorElement * hadEnergyTiming_profile_HB
MonitorElement * meEnergyEcal_HB
MonitorElement * numBadCellsHcal_HE
MonitorElement * meTotEnergy_HE
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * hadEnergyTiming_Low_HF
MonitorElement * SET_HE
T sqrt(T t)
Definition: SSEVec.h:18
MonitorElement * numRcvCellsHcal_HB
MonitorElement * meNumFiredTowers_HB
MonitorElement * MET_HB
MonitorElement * numPrbCellsHcal_HB
MonitorElement * mapEnergyHcal_HF
MonitorElement * meEnergyHcal_HE
MonitorElement * hadTiming_HB
edm::EDGetTokenT< CaloTowerCollection > tok_towers_
MonitorElement * numBadCellsEcal_EE
MonitorElement * numPrbCellsEcal_EE
MonitorElement * mapEnergy_HE
MonitorElement * mapEnergy_HF
MonitorElement * mapEnergy_HB
MonitorElement * meEnergyEcalTower_HB
MonitorElement * meIphiHcalTower_HBP
MonitorElement * emEnergyTiming_High_HB
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
MonitorElement * numRcvCellsHcal_HE
MonitorElement * emEnergyTiming_profile_HF
MonitorElement * hadEnergyTiming_HE
MonitorElement * numPrbCellsHcal_HE
MonitorElement * emEnergyTiming_profile_High_HB
MonitorElement * meTotEnergy_HB
MonitorElement * meTotEnergy_HF
MonitorElement * hadEnergyTiming_High_HB
MonitorElement * mapEnergyHcal_HE
const_iterator end() const
MonitorElement * hadEnergyTiming_HB
MonitorElement * numPrbCellsHcal_HF
Definition: DetId.h:18
MonitorElement * hadEnergyTiming_profile_HF
MonitorElement * numBadCellsHcal_HB
met
===> hadronic RAZOR
MonitorElement * Ntowers_vs_ieta
MonitorElement * emEnergyTiming_HB
MonitorElement * meEnergyHO_HE
MonitorElement * hadEnergyTiming_profile_HE
MonitorElement * emEnergyTiming_Low_HE
MonitorElement * numPrbCellsEcal_EB
MonitorElement * numBadCellsHcal_HF
MonitorElement * hadTiming_HF
MonitorElement * numBadCellsEcal_EB
MonitorElement * mapEnergyEcal_HE
MonitorElement * emTiming_HF
MonitorElement * meIphiCaloTower_HFM
MonitorElement * emEnergyTiming_profile_HE
MonitorElement * mapEnergy_N
int ieta() const
get the tower ieta
MonitorElement * meEnergyHcalvsEcal_HB
Detector det() const
get the detector field from this detid
Definition: DetId.h:35
MonitorElement * mapEnergyHcal_HB
MonitorElement * emEnergyTiming_profile_HB
MonitorElement * meEnergyHcalvsEcal_HF
MonitorElement * meNumFiredTowers_HE
const_iterator begin() const
MonitorElement * emEnergyTiming_HF
MonitorElement * hadEnergyTiming_profile_Low_HF
MonitorElement * meIphiCaloTower_HFP
MonitorElement * meIphiHcalTower_HBM
MonitorElement * meEnergyEcal_HF
void CaloTowersAnalyzer::beginJob ( void  )
virtual

Definition at line 453 of file CaloTowersAnalyzer.cc.

References nevent.

453 { nevent = 0; }
void CaloTowersAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 50 of file CaloTowersAnalyzer.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), emean_vs_ieta_E, emean_vs_ieta_E1, emean_vs_ieta_EH, emean_vs_ieta_EH1, emean_vs_ieta_H, emean_vs_ieta_H1, emEnergyTiming_HB, emEnergyTiming_HE, emEnergyTiming_HF, emEnergyTiming_High_HB, emEnergyTiming_Low_HB, emEnergyTiming_Low_HE, emEnergyTiming_profile_HB, emEnergyTiming_profile_HE, emEnergyTiming_profile_HF, emEnergyTiming_profile_High_HB, emEnergyTiming_profile_Low_HB, emEnergyTiming_profile_Low_HE, emTiming_HB, emTiming_HE, emTiming_HF, etaMax, etaMin, hadEnergyTiming_HB, hadEnergyTiming_HE, hadEnergyTiming_HF, hadEnergyTiming_High_HB, hadEnergyTiming_Low_HB, hadEnergyTiming_Low_HE, hadEnergyTiming_Low_HF, hadEnergyTiming_profile_HB, hadEnergyTiming_profile_HE, hadEnergyTiming_profile_HF, hadEnergyTiming_profile_High_HB, hadEnergyTiming_profile_Low_HB, hadEnergyTiming_profile_Low_HE, hadEnergyTiming_profile_Low_HF, hadTiming_HB, hadTiming_HE, hadTiming_HF, hcalselector_, trackerHits::histo, ieta_bins_, ieta_max_, ieta_min_, iphi_bins_, iphi_max_, iphi_min_, isub, mapEnergy_E, mapEnergy_EH, mapEnergy_H, mapEnergy_HB, mapEnergy_HE, mapEnergy_HF, mapEnergy_N, mapEnergyEcal_HB, mapEnergyEcal_HE, mapEnergyEcal_HF, mapEnergyHcal_HB, mapEnergyHcal_HE, mapEnergyHcal_HF, meEnergyEcal_HB, meEnergyEcal_HE, meEnergyEcal_HF, meEnergyEcalTower_HB, meEnergyEcalTower_HE, meEnergyEcalTower_HF, meEnergyHcal_HB, meEnergyHcal_HE, meEnergyHcal_HF, meEnergyHcalTower_HB, meEnergyHcalTower_HE, meEnergyHcalTower_HF, meEnergyHcalvsEcal_HB, meEnergyHcalvsEcal_HE, meEnergyHcalvsEcal_HF, meEnergyHO_HB, meEnergyHO_HE, meEnergyHO_HF, meIphiCaloTower_HFM, meIphiCaloTower_HFP, meIphiHcalTower_HBM, meIphiHcalTower_HBP, meIphiHcalTower_HEM, meIphiHcalTower_HEP, meNumFiredTowers_HB, meNumFiredTowers_HE, meNumFiredTowers_HF, MET_HB, MET_HE, MET_HF, meTotEnergy_HB, meTotEnergy_HE, meTotEnergy_HF, Ntowers_vs_ieta, numBadCellsEcal_EB, numBadCellsEcal_EE, numBadCellsHcal_HB, numBadCellsHcal_HE, numBadCellsHcal_HF, numPrbCellsEcal_EB, numPrbCellsEcal_EE, numPrbCellsHcal_HB, numPrbCellsHcal_HE, numPrbCellsHcal_HF, numRcvCellsEcal_EB, numRcvCellsEcal_EE, numRcvCellsHcal_HB, numRcvCellsHcal_HE, numRcvCellsHcal_HF, occupancy_map, occupancy_vs_ieta, outputFile_, phiMET_HB, phiMET_HE, phiMET_HF, SET_HB, SET_HE, SET_HF, DQMStore::IBooker::setCurrentFolder(), and useAllHistos_.

51 {
52 
53  etaMin[0] = 0.;
54  etaMax[0] = 1.4;
55  etaMin[1] = 1.4;
56  etaMax[1] = 2.9;
57  etaMin[2] = 2.9;
58  etaMax[2] = 5.2;
59 
60  isub = 0;
61  if(hcalselector_ == "HB") isub = 1;
62  if(hcalselector_ == "HE") isub = 2;
63  if(hcalselector_ == "HF") isub = 3;
64 
65  if ( outputFile_.size() != 0 ) {
66  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will be saved to '" << outputFile_.c_str() << "'";
67  } else {
68  edm::LogInfo("OutputInfo") << " Hcal RecHit Task histograms will NOT be saved";
69  }
70 
71  Char_t histo[100];
72 
73 
74  ibooker.setCurrentFolder("CaloTowersD/CaloTowersTask") ;
75 
76 
77 
78  //These two histos are not drawn by our macros, but they are used
79  //in the EndJob for norms and such so I am leaving them alone for now
80  //-------------------------------------------------------------------------------------------
81  sprintf (histo, "Ntowers_per_event_vs_ieta" );
82  Ntowers_vs_ieta = ibooker.book1D(histo, histo, ieta_bins_, ieta_min_, ieta_max_);
83 
84  sprintf (histo, "CaloTowersTask_map_Nentries" );
86  //-------------------------------------------------------------------------------------------
87 
88  //These the single pion scan histos
89  //-------------------------------------------------------------------------------------------
90  //The first three are not used
91  if (useAllHistos_){
92  sprintf (histo, "emean_vs_ieta_E" );
93  emean_vs_ieta_E = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
94  sprintf (histo, "emean_vs_ieta_H" );
95  emean_vs_ieta_H = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
96  sprintf (histo, "emean_vs_ieta_EH" );
97  emean_vs_ieta_EH = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
98  }
99  //These are drawn
100  sprintf (histo, "emean_vs_ieta_E1" );
101  emean_vs_ieta_E1 = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
102  sprintf (histo, "emean_vs_ieta_H1" );
103  emean_vs_ieta_H1 = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
104  sprintf (histo, "emean_vs_ieta_EH1" );
105  emean_vs_ieta_EH1 = ibooker.bookProfile(histo, histo, ieta_bins_, ieta_min_, ieta_max_, 2100, -100., 2000.);
106  //-------------------------------------------------------------------------------------------
107 
108  //Map energy histos are not drawn
109  if (useAllHistos_){
110  sprintf (histo, "CaloTowersTask_map_energy_E" );
112  sprintf (histo, "CaloTowersTask_map_energy_H");
114  sprintf (histo, "CaloTowersTask_map_energy_EH" );
116  }
117 
118  //All ECAL cell histos are used
119  // XXX: ECAL 0-25 [0-26, 26 bins] HCAL 0-4 [0-5, 5 bins]
120  sprintf (histo, "number_of_bad_cells_Ecal_EB");
121  numBadCellsEcal_EB = ibooker.book1D(histo, histo, 26, 0, 26);
122  sprintf (histo, "number_of_bad_cells_Ecal_EE");
123  numBadCellsEcal_EE = ibooker.book1D(histo, histo, 26, 0, 26);
124  sprintf (histo, "number_of_recovered_cells_Ecal_EB");
125  numRcvCellsEcal_EB = ibooker.book1D(histo, histo, 26, 0, 26);
126  sprintf (histo, "number_of_recovered_cells_Ecal_EE");
127  numRcvCellsEcal_EE = ibooker.book1D(histo, histo, 26, 0, 26);
128  sprintf (histo, "number_of_problematic_cells_Ecal_EB");
129  numPrbCellsEcal_EB = ibooker.book1D(histo, histo, 26, 0, 26);
130  sprintf (histo, "number_of_problematic_cells_Ecal_EE");
131  numPrbCellsEcal_EE = ibooker.book1D(histo, histo, 26, 0, 26);
132 
133  //Occupancy vs. ieta is drawn, occupancy map is needed to draw it
134  sprintf (histo, "CaloTowersTask_map_occupancy" );
136 
137  sprintf (histo, "CaloTowersTask_occupancy_vs_ieta" );
138  occupancy_vs_ieta = ibooker.book1D(histo, histo, ieta_bins_, -41, 41);
139 
140  if( isub == 1 || isub == 0) {
141  //All cell histos are used
142  sprintf (histo, "number_of_bad_cells_Hcal_HB");
143  numBadCellsHcal_HB = ibooker.book1D(histo, histo, 5, 0, 5);
144  sprintf (histo, "number_of_recovered_cells_Hcal_HB");
145  numRcvCellsHcal_HB = ibooker.book1D(histo, histo, 5, 0, 5);
146  sprintf (histo, "number_of_problematic_cells_Hcal_HB");
147  numPrbCellsHcal_HB = ibooker.book1D(histo, histo, 5, 0, 5);
148 
149  //These are the five oldest CaloTower histos used: NTowers, E in HCAL/ECAL, MET and SET
150  //-------------------------------------------------------------------------------------------
151  sprintf (histo, "CaloTowersTask_energy_HCAL_HB" ) ;
152  meEnergyHcal_HB = ibooker.book1D(histo, histo, 4100, -200, 8000);
153 
154  sprintf (histo, "CaloTowersTask_energy_ECAL_HB" ) ;
155  meEnergyEcal_HB = ibooker.book1D(histo, histo, 3100, -200, 6000);
156 
157  sprintf (histo, "CaloTowersTask_number_of_fired_towers_HB" ) ;
158  meNumFiredTowers_HB = ibooker.book1D(histo, histo, 1000, 0, 2000);
159 
160  sprintf (histo, "CaloTowersTask_MET_HB" ) ;
161  MET_HB = ibooker.book1D(histo, histo, 3000, 0. , 3000. ) ;
162 
163  sprintf (histo, "CaloTowersTask_SET_HB" ) ;
164  SET_HB = ibooker.book1D(histo, histo, 8000, 0. , 8000. ) ;
165  //-------------------------------------------------------------------------------------------
166 
167  //Timing histos and profiles -- all six are necessary
168  //-------------------------------------------------------------------------------------------
169  sprintf (histo, "CaloTowersTask_EM_Timing_HB" ) ;
170  emTiming_HB = ibooker.book1D(histo, histo, 110, -120., 100. ) ;
171 
172  sprintf (histo, "CaloTowersTask_HAD_Timing_HB" ) ;
173  hadTiming_HB = ibooker.book1D(histo, histo, 70, -48., 92. ) ;
174 
175  //Energy-Timing histos are divided into low, medium and high to reduce memory usage
176  //EM
177  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_Low_HB" ) ;
178  emEnergyTiming_Low_HB = ibooker.book2D(histo, histo, 40, 0. , 40., 110, -120., 100. ) ;
179 
180  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_HB" ) ;
181  emEnergyTiming_HB = ibooker.book2D(histo, histo, 200, 0. , 400., 110, -120., 100. ) ;
182 
183  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_High_HB" ) ;
184  emEnergyTiming_High_HB = ibooker.book2D(histo, histo, 200, 0. , 3000., 110, -120., 100. ) ;
185 
186  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_Low_HB" ) ;
187  emEnergyTiming_profile_Low_HB = ibooker.bookProfile(histo, histo, 40, 0. , 40., 110, -120., 100. ) ;
188 
189  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_HB" ) ;
190  emEnergyTiming_profile_HB = ibooker.bookProfile(histo, histo, 200, 0. , 400., 110, -120., 100. ) ;
191 
192  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_High_HB" ) ;
193  emEnergyTiming_profile_High_HB = ibooker.bookProfile(histo, histo, 200, 0. , 3000., 110, -120., 100. ) ;
194 
195  //HAD
196  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_Low_HB" ) ;
197  hadEnergyTiming_Low_HB = ibooker.book2D(histo, histo, 40, 0. , 40., 70, -48., 92. ) ;
198 
199  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_HB" ) ;
200  hadEnergyTiming_HB = ibooker.book2D(histo, histo, 100, 0. , 200., 70, -48., 92. ) ;
201 
202  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_High_HB" ) ;
203  hadEnergyTiming_High_HB = ibooker.book2D(histo, histo, 300, 0. , 3000., 70, -48., 92. ) ;
204 
205  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_Low_HB" ) ;
206  hadEnergyTiming_profile_Low_HB = ibooker.bookProfile(histo, histo, 40, 0. , 40., 70, -48., 92. ) ;
207 
208  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_HB" ) ;
209  hadEnergyTiming_profile_HB = ibooker.bookProfile(histo, histo, 100, 0. , 200., 70, -48., 92. ) ;
210 
211  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_High_HB" ) ;
212  hadEnergyTiming_profile_High_HB = ibooker.bookProfile(histo, histo, 300, 0. , 3000., 70, -48., 92. ) ;
213  //-------------------------------------------------------------------------------------------
214 
215  sprintf (histo, "CaloTowersTask_Iphi_HCAL_component_of_tower_HBP" ) ;
216  meIphiHcalTower_HBP = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
217  sprintf (histo, "CaloTowersTask_Iphi_HCAL_component_of_tower_HBM" ) ;
218  meIphiHcalTower_HBM = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
219 
220  //-------------------------------------------------------------------------------------------
221 
222  //Everything else is not drawn
223  if (useAllHistos_){
224  sprintf (histo, "CaloTowersTask_sum_of_energy_HCAL_vs_ECAL_HB") ;
225  meEnergyHcalvsEcal_HB = ibooker.book2D(histo, histo, 500, 0., 500., 500, 0., 500.);
226 
227  sprintf (histo, "CaloTowersTask_energy_OUTER_HB" ) ;
228  meEnergyHO_HB = ibooker.book1D(histo, histo, 1640, -200, 8000);
229 
230  sprintf (histo, "CaloTowersTask_energy_of_ECAL_component_of_tower_HB" ) ;
231  meEnergyEcalTower_HB = ibooker.book1D(histo, histo, 440, -200, 2000);
232 
233  sprintf (histo, "CaloTowersTask_energy_of_HCAL_component_of_tower_HB" ) ;
234  meEnergyHcalTower_HB = ibooker.book1D(histo, histo, 440 , -200 , 2000);
235 
236  sprintf (histo, "CaloTowersTask_energy_HcalPlusEcalPlusHO_HB" ) ;
237  meTotEnergy_HB = ibooker.book1D(histo, histo,400, 0., 2000.) ;
238 
239  sprintf (histo, "CaloTowersTask_map_energy_HB" );
241  sprintf (histo, "CaloTowersTask_map_energy_HCAL_HB");
243  sprintf (histo, "CaloTowersTask_map_energy_ECAL_HB" );
245 
246  sprintf (histo, "CaloTowersTask_phi_MET_HB" ) ;
247  phiMET_HB = ibooker.book1D(histo, histo, 72, -3.1415926535898, 3.1415926535898 ) ;
248  }
249  }
250 
251  if( isub == 2 || isub == 0) {
252  //All cell histos are used
253  sprintf (histo, "number_of_bad_cells_Hcal_HE");
254  numBadCellsHcal_HE = ibooker.book1D(histo, histo, 5, 0, 5);
255  sprintf (histo, "number_of_recovered_cells_Hcal_HE");
256  numRcvCellsHcal_HE = ibooker.book1D(histo, histo, 5, 0, 5);
257  sprintf (histo, "number_of_problematic_cells_Hcal_HE");
258  numPrbCellsHcal_HE = ibooker.book1D(histo, histo, 5, 0, 5);
259 
260  //These are the five oldest CaloTower histos used: NTowers, E in HCAL/ECAL, MET and SET
261  //-------------------------------------------------------------------------------------------
262  sprintf (histo, "CaloTowersTask_energy_HCAL_HE" ) ;
263  meEnergyHcal_HE = ibooker.book1D(histo, histo, 1240, -200, 6000);
264 
265  sprintf (histo, "CaloTowersTask_energy_ECAL_HE" ) ;
266  meEnergyEcal_HE = ibooker.book1D(histo, histo, 1240, -200, 6000);
267 
268  sprintf (histo, "CaloTowersTask_number_of_fired_towers_HE" ) ;
269  meNumFiredTowers_HE = ibooker.book1D(histo, histo, 1000, 0, 2000);
270 
271  sprintf (histo, "CaloTowersTask_MET_HE" ) ;
272  MET_HE = ibooker.book1D(histo, histo, 1000, 0. , 1000. ) ;
273 
274  sprintf (histo, "CaloTowersTask_SET_HE" ) ;
275  SET_HE = ibooker.book1D(histo, histo, 2000, 0. , 2000. ) ;
276  //-------------------------------------------------------------------------------------------
277 
278  //Timing histos and profiles -- all six are necessary
279  //-------------------------------------------------------------------------------------------
280  sprintf (histo, "CaloTowersTask_EM_Timing_HE" ) ;
281  emTiming_HE = ibooker.book1D(histo, histo, 110, -120., 100. ) ;
282 
283  sprintf (histo, "CaloTowersTask_HAD_Timing_HE" ) ;
284  hadTiming_HE = ibooker.book1D(histo, histo, 70, -48., 92. ) ;
285 
286  //Energy-Timing histos are divided into low and normal to reduce memory usage
287  //EM
288  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_Low_HE" ) ;
289  emEnergyTiming_Low_HE = ibooker.book2D(histo, histo, 160, 0. , 160., 110, -120., 100. ) ;
290 
291  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_HE" ) ;
292  emEnergyTiming_HE = ibooker.book2D(histo, histo, 200, 0. , 800., 110, -120., 100. ) ;
293 
294  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_Low_HE" ) ;
295  emEnergyTiming_profile_Low_HE = ibooker.bookProfile(histo, histo, 160, 0. , 160., 110, -120., 100. ) ;
296 
297  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_HE" ) ;
298  emEnergyTiming_profile_HE = ibooker.bookProfile(histo, histo, 200, 0. , 800., 110, -120., 100. ) ;
299 
300  //HAD
301  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_Low_HE" ) ;
302  hadEnergyTiming_Low_HE = ibooker.book2D(histo, histo, 160, 0. , 160., 70, -48., 92. ) ;
303 
304  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_HE" ) ;
305  hadEnergyTiming_HE = ibooker.book2D(histo, histo, 200, 0. , 800., 70, -48., 92. ) ;
306 
307  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_Low_HE" ) ;
308  hadEnergyTiming_profile_Low_HE = ibooker.bookProfile(histo, histo, 160, 0. , 160., 70, -48., 92. ) ;
309 
310  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_HE" ) ;
311  hadEnergyTiming_profile_HE = ibooker.bookProfile(histo, histo, 200, 0. , 800., 70, -48., 92. ) ;
312  //-------------------------------------------------------------------------------------------
313 
314  sprintf (histo, "CaloTowersTask_Iphi_HCAL_component_of_tower_HEP" ) ;
315  meIphiHcalTower_HEP = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
316  sprintf (histo, "CaloTowersTask_Iphi_HCAL_component_of_tower_HEM" ) ;
317  meIphiHcalTower_HEM = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
318 
319  //-------------------------------------------------------------------------------------------
320 
321  //Everything else is not drawn
322  if (useAllHistos_){
323  sprintf (histo, "CaloTowersTask_sum_of_energy_HCAL_vs_ECAL_HE") ;
324  meEnergyHcalvsEcal_HE = ibooker.book2D(histo, histo, 500, 0., 500., 500, 0., 500.);
325 
326  sprintf (histo, "CaloTowersTask_energy_OUTER_HE" ) ;
327  meEnergyHO_HE = ibooker.book1D(histo, histo, 440, -200, 2000);
328 
329  sprintf (histo, "CaloTowersTask_energy_of_ECAL_component_of_tower_HE" ) ;
330  meEnergyEcalTower_HE = ibooker.book1D(histo, histo, 1100, -200, 2000);
331 
332  sprintf (histo, "CaloTowersTask_energy_of_HCAL_component_of_tower_HE" ) ;
333  meEnergyHcalTower_HE = ibooker.book1D(histo, histo, 1100 , -200 , 2000);
334 
335  sprintf (histo, "CaloTowersTask_energy_HcalPlusEcalPlusHO_HE" ) ;
336  meTotEnergy_HE = ibooker.book1D(histo, histo,400, 0., 2000.) ;
337 
338  sprintf (histo, "CaloTowersTask_map_energy_HE" );
340  sprintf (histo, "CaloTowersTask_map_energy_HCAL_HE");
342  sprintf (histo, "CaloTowersTask_map_energy_ECAL_HE" );
344 
345  sprintf (histo, "CaloTowersTask_phi_MET_HE" ) ;
346  phiMET_HE = ibooker.book1D(histo, histo, 72, -3.1415926535898, 3.1415926535898 ) ;
347  }
348  }
349 
350 
351  if( isub == 3 || isub == 0) {
352  //All cell histos are used
353  sprintf (histo, "number_of_bad_cells_Hcal_HF");
354  numBadCellsHcal_HF = ibooker.book1D(histo, histo, 5, 0, 5);
355  sprintf (histo, "number_of_recovered_cells_Hcal_HF");
356  numRcvCellsHcal_HF = ibooker.book1D(histo, histo, 5, 0, 5);
357  sprintf (histo, "number_of_problematic_cells_Hcal_HF");
358  numPrbCellsHcal_HF = ibooker.book1D(histo, histo, 5, 0, 5);
359 
360  //These are the five oldest CaloTower histos used: NTowers, E in HCAL/ECAL, MET and SET
361  //-------------------------------------------------------------------------------------------
362  sprintf (histo, "CaloTowersTask_energy_HCAL_HF" ) ;
363  meEnergyHcal_HF = ibooker.book1D(histo, histo, 4040, -200, 20000);
364 
365  sprintf (histo, "CaloTowersTask_energy_ECAL_HF" ) ;
366  meEnergyEcal_HF = ibooker.book1D(histo, histo, 2440, -200, 12000);
367 
368  sprintf (histo, "CaloTowersTask_number_of_fired_towers_HF" ) ;
369  meNumFiredTowers_HF = ibooker.book1D(histo, histo, 1000, 0, 2000);
370 
371  sprintf (histo, "CaloTowersTask_MET_HF" ) ;
372  MET_HF = ibooker.book1D(histo, histo, 500, 0. , 500. ) ;
373 
374  sprintf (histo, "CaloTowersTask_SET_HF" ) ;
375  SET_HF = ibooker.book1D(histo, histo, 2000, 0. , 2000. ) ;
376  //-------------------------------------------------------------------------------------------
377 
378  //Timing histos and profiles -- all six are necessary
379  //-------------------------------------------------------------------------------------------
380  sprintf (histo, "CaloTowersTask_EM_Timing_HF" ) ;
381  emTiming_HF = ibooker.book1D(histo, histo, 110, -120., 100. ) ;
382 
383  sprintf (histo, "CaloTowersTask_HAD_Timing_HF" ) ;
384  hadTiming_HF = ibooker.book1D(histo, histo, 70, -48., 92. ) ;
385 
386  //EM
387  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_HF" ) ;
388  emEnergyTiming_HF = ibooker.book2D(histo, histo, 150, 0. , 300., 110, -120., 100. ) ;
389 
390  sprintf (histo, "CaloTowersTask_EM_Energy_Timing_profile_HF" ) ;
391  emEnergyTiming_profile_HF = ibooker.bookProfile(histo, histo, 150, 0. , 300., 110, -120., 100. ) ;
392 
393  //HAD (requires two different sets of histograms to lower RAM usage)
394  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_Low_HF" ) ;
395  hadEnergyTiming_Low_HF = ibooker.book2D(histo, histo, 40, 0. , 40., 70, -48., 92. ) ;
396 
397  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_HF" ) ;
398  hadEnergyTiming_HF = ibooker.book2D(histo, histo, 200, 0. , 600., 70, -48., 92. ) ;
399 
400  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_Low_HF" ) ;
401  hadEnergyTiming_profile_Low_HF = ibooker.bookProfile(histo, histo, 40, 0. , 40., 70, -48., 92. ) ;
402 
403  sprintf (histo, "CaloTowersTask_HAD_Energy_Timing_profile_HF" ) ;
404  hadEnergyTiming_profile_HF = ibooker.bookProfile(histo, histo, 200, 0. , 600., 70, -48., 92. ) ;
405  //-------------------------------------------------------------------------------------------
406 
407  sprintf (histo, "CaloTowersTask_Iphi_tower_HFP" ) ;
408  meIphiCaloTower_HFP = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
409  sprintf (histo, "CaloTowersTask_Iphi_tower_HFM" ) ;
410  meIphiCaloTower_HFM = ibooker.book1D(histo, histo, iphi_bins_, iphi_min_, iphi_max_);
411 
412  //-------------------------------------------------------------------------------------------
413 
414  //Everything else is not drawn
415  if (useAllHistos_){
416  sprintf (histo, "CaloTowersTask_sum_of_energy_HCAL_vs_ECAL_HF") ;
417  meEnergyHcalvsEcal_HF = ibooker.book2D(histo, histo, 500, 0., 500., 500, 0., 500.);
418 
419  sprintf (histo, "CaloTowersTask_energy_OUTER_HF" ) ;
420  meEnergyHO_HF = ibooker.book1D(histo, histo, 440, -200, 2000);
421 
422  sprintf (histo, "CaloTowersTask_energy_of_ECAL_component_of_tower_HF" ) ;
423  meEnergyEcalTower_HF = ibooker.book1D(histo, histo, 440, -200, 2000);
424 
425  sprintf (histo, "CaloTowersTask_energy_of_HCAL_component_of_tower_HF" ) ;
426  meEnergyHcalTower_HF = ibooker.book1D(histo, histo, 440 , -200 , 2000);
427 
428  sprintf (histo, "CaloTowersTask_energy_HcalPlusEcalPlusHO_HF" ) ;
429  meTotEnergy_HF = ibooker.book1D(histo, histo, 400, 0., 2000.) ;
430 
431  sprintf (histo, "CaloTowersTask_map_energy_HF" );
433  sprintf (histo, "CaloTowersTask_map_energy_HCAL_HF");
435  sprintf (histo, "CaloTowersTask_map_energy_ECAL_HF" );
437 
438  sprintf (histo, "CaloTowersTask_phi_MET_HF" ) ;
439  phiMET_HF = ibooker.book1D(histo, histo, 72, -3.1415926535898, 3.1415926535898 ) ;
440  }
441  }
442 
443 }
MonitorElement * emean_vs_ieta_EH1
MonitorElement * mapEnergyEcal_HF
MonitorElement * meNumFiredTowers_HF
MonitorElement * hadEnergyTiming_profile_High_HB
MonitorElement * hadEnergyTiming_HF
MonitorElement * meEnergyHcalTower_HF
MonitorElement * meEnergyHcalvsEcal_HE
MonitorElement * hadEnergyTiming_Low_HE
MonitorElement * meEnergyHcalTower_HE
MonitorElement * numRcvCellsHcal_HF
MonitorElement * MET_HE
MonitorElement * phiMET_HF
MonitorElement * emEnergyTiming_profile_Low_HB
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * phiMET_HE
MonitorElement * meEnergyEcalTower_HF
MonitorElement * hadEnergyTiming_profile_Low_HE
MonitorElement * emEnergyTiming_Low_HB
MonitorElement * emTiming_HE
MonitorElement * meEnergyEcalTower_HE
MonitorElement * numRcvCellsEcal_EB
MonitorElement * meEnergyHcalTower_HB
MonitorElement * emEnergyTiming_profile_Low_HE
MonitorElement * meIphiHcalTower_HEM
MonitorElement * numRcvCellsEcal_EE
MonitorElement * meIphiHcalTower_HEP
MonitorElement * SET_HF
MonitorElement * meEnergyHcal_HF
MonitorElement * meEnergyHcal_HB
MonitorElement * meEnergyHO_HB
MonitorElement * emTiming_HB
MonitorElement * MET_HF
MonitorElement * occupancy_map
MonitorElement * emEnergyTiming_HE
MonitorElement * hadEnergyTiming_Low_HB
MonitorElement * hadEnergyTiming_profile_Low_HB
MonitorElement * emean_vs_ieta_H
MonitorElement * hadTiming_HE
MonitorElement * SET_HB
MonitorElement * mapEnergyEcal_HB
MonitorElement * meEnergyHO_HF
MonitorElement * occupancy_vs_ieta
MonitorElement * mapEnergy_EH
MonitorElement * phiMET_HB
MonitorElement * meEnergyEcal_HE
MonitorElement * hadEnergyTiming_profile_HB
MonitorElement * meEnergyEcal_HB
MonitorElement * numBadCellsHcal_HE
MonitorElement * meTotEnergy_HE
MonitorElement * mapEnergy_E
MonitorElement * hadEnergyTiming_Low_HF
MonitorElement * SET_HE
MonitorElement * numRcvCellsHcal_HB
MonitorElement * meNumFiredTowers_HB
MonitorElement * MET_HB
MonitorElement * numPrbCellsHcal_HB
MonitorElement * mapEnergyHcal_HF
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * meEnergyHcal_HE
MonitorElement * hadTiming_HB
MonitorElement * numBadCellsEcal_EE
MonitorElement * numPrbCellsEcal_EE
MonitorElement * mapEnergy_HE
MonitorElement * mapEnergy_HF
MonitorElement * mapEnergy_HB
MonitorElement * meEnergyEcalTower_HB
MonitorElement * meIphiHcalTower_HBP
MonitorElement * emean_vs_ieta_H1
MonitorElement * emEnergyTiming_High_HB
MonitorElement * numRcvCellsHcal_HE
MonitorElement * emEnergyTiming_profile_HF
MonitorElement * hadEnergyTiming_HE
MonitorElement * numPrbCellsHcal_HE
MonitorElement * emEnergyTiming_profile_High_HB
MonitorElement * meTotEnergy_HB
MonitorElement * meTotEnergy_HF
MonitorElement * hadEnergyTiming_High_HB
MonitorElement * mapEnergyHcal_HE
MonitorElement * hadEnergyTiming_HB
MonitorElement * numPrbCellsHcal_HF
MonitorElement * hadEnergyTiming_profile_HF
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * numBadCellsHcal_HB
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * Ntowers_vs_ieta
MonitorElement * emEnergyTiming_HB
MonitorElement * meEnergyHO_HE
MonitorElement * hadEnergyTiming_profile_HE
MonitorElement * emEnergyTiming_Low_HE
MonitorElement * emean_vs_ieta_E
MonitorElement * numPrbCellsEcal_EB
MonitorElement * emean_vs_ieta_EH
MonitorElement * numBadCellsHcal_HF
MonitorElement * hadTiming_HF
MonitorElement * numBadCellsEcal_EB
MonitorElement * mapEnergyEcal_HE
MonitorElement * emTiming_HF
MonitorElement * meIphiCaloTower_HFM
MonitorElement * emEnergyTiming_profile_HE
MonitorElement * mapEnergy_N
MonitorElement * meEnergyHcalvsEcal_HB
MonitorElement * mapEnergyHcal_HB
MonitorElement * emEnergyTiming_profile_HB
MonitorElement * meEnergyHcalvsEcal_HF
MonitorElement * emean_vs_ieta_E1
MonitorElement * meNumFiredTowers_HE
MonitorElement * emEnergyTiming_HF
MonitorElement * hadEnergyTiming_profile_Low_HF
MonitorElement * mapEnergy_H
MonitorElement * meIphiCaloTower_HFP
MonitorElement * meIphiHcalTower_HBM
MonitorElement * meEnergyEcal_HF
void CaloTowersAnalyzer::dqmBeginRun ( const edm::Run run,
const edm::EventSetup c 
)
overridevirtual

Definition at line 18 of file CaloTowersAnalyzer.cc.

References edm::EventSetup::get(), HcalDDDRecConstants::getEtaRange(), HcalDDDRecConstants::getNPhi(), hcons, ieta_bins_, ieta_max_, ieta_min_, hcalTTPDigis_cfi::iEtaMax, createfilelist::int, iphi_bins_, iphi_max_, and iphi_min_.

18  {
19 
21  es.get<HcalRecNumberingRecord>().get( pHRNDC );
22  hcons = &(*pHRNDC);
23 
24  //Get Phi segmentation from geometry, use the max phi number so that all iphi values are included.
25 
26  int NphiMax = hcons->getNPhi(0);
27 
28  NphiMax = (hcons->getNPhi(1) > NphiMax ? hcons->getNPhi(1) : NphiMax);
29  NphiMax = (hcons->getNPhi(2) > NphiMax ? hcons->getNPhi(2) : NphiMax);
30  NphiMax = (hcons->getNPhi(3) > NphiMax ? hcons->getNPhi(3) : NphiMax);
31 
32  //Center the iphi bins on the integers
33  iphi_min_ = 0.5;
34  iphi_max_ = NphiMax + 0.5;
36 
37  //Retain classic behavior, all plots have same ieta range.
38 
39  int iEtaMax = (hcons->getEtaRange(0).second > hcons->getEtaRange(1).second ? hcons->getEtaRange(0).second : hcons->getEtaRange(1).second);
40  iEtaMax = (iEtaMax > hcons->getEtaRange(2).second ? iEtaMax : hcons->getEtaRange(2).second);
41  iEtaMax = (iEtaMax > hcons->getEtaRange(3).second ? iEtaMax : hcons->getEtaRange(3).second);
42 
43  //Give an empty bin around the subdet ieta range to make it clear that all ieta rings have been included
44  ieta_min_ = -iEtaMax - 1.5;
45  ieta_max_ = iEtaMax + 1.5;
47 
48 }
std::pair< int, int > getEtaRange(const int &i) const
const HcalDDDRecConstants * hcons
int getNPhi(const int &type) const
double CaloTowersAnalyzer::dR ( double  eta1,
double  phi1,
double  eta2,
double  phi2 
)
private

Definition at line 800 of file CaloTowersAnalyzer.cc.

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

800  {
801  double PI = 3.1415926535898;
802  double deltaphi= phi1 - phi2;
803  if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
804  if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
805  double deltaeta = eta2 - eta1;
806  double tmp = sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
807  return tmp;
808 }
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 CaloTowersAnalyzer::endJob ( void  )
virtual

Definition at line 450 of file CaloTowersAnalyzer.cc.

450  {
451 }

Member Data Documentation

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_E
private

Definition at line 83 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_E1
private

Definition at line 87 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_EH
private

Definition at line 85 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_EH1
private

Definition at line 89 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_H
private

Definition at line 84 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emean_vs_ieta_H1
private

Definition at line 88 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_HB
private

Definition at line 144 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_HE
private

Definition at line 182 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_HF
private

Definition at line 214 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_High_HB
private

Definition at line 145 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_Low_HB
private

Definition at line 143 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_Low_HE
private

Definition at line 181 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_HB
private

Definition at line 147 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_HE
private

Definition at line 184 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_HF
private

Definition at line 215 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_High_HB
private

Definition at line 148 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_Low_HB
private

Definition at line 146 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emEnergyTiming_profile_Low_HE
private

Definition at line 183 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emTiming_HB
private

Definition at line 140 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emTiming_HE
private

Definition at line 178 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::emTiming_HF
private

Definition at line 212 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

double CaloTowersAnalyzer::etaMax[3]
private

Definition at line 70 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

double CaloTowersAnalyzer::etaMin[3]
private

Definition at line 71 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_HB
private

Definition at line 151 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_HE
private

Definition at line 187 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_HF
private

Definition at line 218 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_High_HB
private

Definition at line 152 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_Low_HB
private

Definition at line 150 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_Low_HE
private

Definition at line 186 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_Low_HF
private

Definition at line 217 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_HB
private

Definition at line 154 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_HE
private

Definition at line 189 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_HF
private

Definition at line 220 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_High_HB
private

Definition at line 155 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_Low_HB
private

Definition at line 153 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_Low_HE
private

Definition at line 188 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadEnergyTiming_profile_Low_HF
private

Definition at line 219 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadTiming_HB
private

Definition at line 141 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadTiming_HE
private

Definition at line 179 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::hadTiming_HF
private

Definition at line 213 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

std::string CaloTowersAnalyzer::hcalselector_
private

Definition at line 56 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and CaloTowersAnalyzer().

const HcalDDDRecConstants* CaloTowersAnalyzer::hcons
private

Definition at line 74 of file CaloTowersAnalyzer.h.

Referenced by dqmBeginRun().

int CaloTowersAnalyzer::ieta_bins_
private

Definition at line 79 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float CaloTowersAnalyzer::ieta_max_
private

Definition at line 80 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float CaloTowersAnalyzer::ieta_min_
private

Definition at line 80 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int CaloTowersAnalyzer::imc
private

Definition at line 67 of file CaloTowersAnalyzer.h.

int CaloTowersAnalyzer::iphi_bins_
private

Definition at line 76 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float CaloTowersAnalyzer::iphi_max_
private

Definition at line 77 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

float CaloTowersAnalyzer::iphi_min_
private

Definition at line 77 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and dqmBeginRun().

int CaloTowersAnalyzer::isub
private

Definition at line 64 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_E
private

Definition at line 96 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_EH
private

Definition at line 98 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_H
private

Definition at line 97 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_HB
private

Definition at line 133 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_HE
private

Definition at line 171 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_HF
private

Definition at line 205 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergy_N
private

Definition at line 99 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyEcal_HB
private

Definition at line 134 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyEcal_HE
private

Definition at line 172 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyEcal_HF
private

Definition at line 206 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyHcal_HB
private

Definition at line 135 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyHcal_HE
private

Definition at line 173 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::mapEnergyHcal_HF
private

Definition at line 207 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

std::string CaloTowersAnalyzer::mc_
private

Definition at line 57 of file CaloTowersAnalyzer.h.

MonitorElement* CaloTowersAnalyzer::meEnergyEcal_HB
private

Definition at line 122 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyEcal_HE
private

Definition at line 160 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyEcal_HF
private

Definition at line 194 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyEcalTower_HB
private

Definition at line 126 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyEcalTower_HE
private

Definition at line 164 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyEcalTower_HF
private

Definition at line 198 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcal_HB
private

Definition at line 123 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcal_HE
private

Definition at line 161 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcal_HF
private

Definition at line 195 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalTower_HB
private

Definition at line 127 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalTower_HE
private

Definition at line 165 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalTower_HF
private

Definition at line 199 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalvsEcal_HB
private

Definition at line 120 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalvsEcal_HE
private

Definition at line 158 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHcalvsEcal_HF
private

Definition at line 192 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHO_HB
private

Definition at line 121 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHO_HE
private

Definition at line 159 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meEnergyHO_HF
private

Definition at line 193 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiCaloTower_HFM
private

Definition at line 203 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiCaloTower_HFP
private

Definition at line 202 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiHcalTower_HBM
private

Definition at line 131 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiHcalTower_HBP
private

Definition at line 130 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiHcalTower_HEM
private

Definition at line 169 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meIphiHcalTower_HEP
private

Definition at line 168 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meNumFiredTowers_HB
private

Definition at line 124 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meNumFiredTowers_HE
private

Definition at line 162 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meNumFiredTowers_HF
private

Definition at line 196 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::MET_HB
private

Definition at line 136 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::MET_HE
private

Definition at line 174 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::MET_HF
private

Definition at line 208 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meTotEnergy_HB
private

Definition at line 128 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meTotEnergy_HE
private

Definition at line 166 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::meTotEnergy_HF
private

Definition at line 200 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

int CaloTowersAnalyzer::nevent
private

Definition at line 65 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and beginJob().

MonitorElement* CaloTowersAnalyzer::Ntowers_vs_ieta
private

Definition at line 91 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numBadCellsEcal_EB
private

Definition at line 102 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numBadCellsEcal_EE
private

Definition at line 103 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numBadCellsHcal_HB
private

Definition at line 109 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numBadCellsHcal_HE
private

Definition at line 110 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numBadCellsHcal_HF
private

Definition at line 111 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numPrbCellsEcal_EB
private

Definition at line 106 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numPrbCellsEcal_EE
private

Definition at line 107 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numPrbCellsHcal_HB
private

Definition at line 115 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numPrbCellsHcal_HE
private

Definition at line 116 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numPrbCellsHcal_HF
private

Definition at line 117 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numRcvCellsEcal_EB
private

Definition at line 104 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numRcvCellsEcal_EE
private

Definition at line 105 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numRcvCellsHcal_HB
private

Definition at line 112 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numRcvCellsHcal_HE
private

Definition at line 113 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::numRcvCellsHcal_HF
private

Definition at line 114 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::occupancy_map
private

Definition at line 92 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::occupancy_vs_ieta
private

Definition at line 93 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms().

std::string CaloTowersAnalyzer::outputFile_
private

Definition at line 55 of file CaloTowersAnalyzer.h.

Referenced by bookHistograms(), and CaloTowersAnalyzer().

MonitorElement* CaloTowersAnalyzer::phiMET_HB
private

Definition at line 138 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::phiMET_HE
private

Definition at line 176 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::phiMET_HF
private

Definition at line 210 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::SET_HB
private

Definition at line 137 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::SET_HE
private

Definition at line 175 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* CaloTowersAnalyzer::SET_HF
private

Definition at line 209 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and bookHistograms().

edm::EDGetTokenT<CaloTowerCollection> CaloTowersAnalyzer::tok_towers_
private

Definition at line 62 of file CaloTowersAnalyzer.h.

Referenced by analyze(), and CaloTowersAnalyzer().

bool CaloTowersAnalyzer::useAllHistos_
private

Definition at line 58 of file CaloTowersAnalyzer.h.

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