CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalRecHitMonitor Class Reference

#include <HcalRecHitMonitor.h>

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

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 
void bookHistograms (DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
 
void endJob ()
 
void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
void endRun (const edm::Run &run, const edm::EventSetup &c)
 
 HcalRecHitMonitor (const edm::ParameterSet &ps)
 
void processEvent (const HBHERecHitCollection &hbHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, int BCN, const edm::Event &iEvent)
 
void processEvent_rechit (const HBHERecHitCollection &hbheHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, bool passedHcalHLT, bool passedMinBiasHLT, int BCN)
 
void reset ()
 
void setup (DQMStore::IBooker &)
 
void zeroCounters ()
 
 ~HcalRecHitMonitor ()
 
- Public Member Functions inherited from HcalBaseDQMonitor
 HcalBaseDQMonitor (const edm::ParameterSet &ps)
 
 HcalBaseDQMonitor ()
 
virtual ~HcalBaseDQMonitor ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 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
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

void fill_Nevents ()
 

Private Attributes

double energy2_ [85][72][4]
 
double energy2_thresh_ [85][72][4]
 
double energy_ [85][72][4]
 
double energy_thresh_ [85][72][4]
 
double energyThreshold_
 
double ETThreshold_
 
MonitorElementh_FlagMap_DIGITIME
 
MonitorElementh_FlagMap_HPDMULT
 
MonitorElementh_FlagMap_LONGSHORT
 
MonitorElementh_FlagMap_PULSESHAPE
 
MonitorElementh_FlagMap_TIMEADD
 
MonitorElementh_FlagMap_TIMEERROR
 
MonitorElementh_FlagMap_TIMESUBTRACT
 
MonitorElementh_HBflagcounter
 
MonitorElementh_HBHE_FlagCorr
 
MonitorElementh_HBHEHPDMult_vs_LS
 
MonitorElementh_HBHEPulseShape_vs_LS
 
MonitorElementh_HBM_weightedTime
 
MonitorElementh_HBOccupancy
 
MonitorElementh_HBP_weightedTime
 
MonitorElementh_HBsizeVsLS
 
MonitorElementh_HBThreshOccupancy
 
MonitorElementh_HBThreshTime
 
MonitorElementh_HBTime
 
MonitorElementh_HBTimeVsEnergy
 
MonitorElementh_HE_HcalHLT_energydifference
 
MonitorElementh_HE_HcalHLT_weightedtimedifference
 
MonitorElementh_HEenergydifference
 
MonitorElementh_HEflagcounter
 
MonitorElementh_HEM_weightedTime
 
MonitorElementh_HEOccupancy
 
MonitorElementh_HEP_weightedTime
 
MonitorElementh_HEsizeVsLS
 
MonitorElementh_HEThreshOccupancy
 
MonitorElementh_HEThreshTime
 
MonitorElementh_HETime
 
MonitorElementh_HEtimedifference
 
MonitorElementh_HETimeVsEnergy
 
MonitorElementh_HF_FlagCorr
 
MonitorElementh_HF_HcalHLT_energydifference
 
MonitorElementh_HF_HcalHLT_weightedtimedifference
 
MonitorElementh_HFDigiTime_vs_LS
 
MonitorElementh_HFenergydifference
 
MonitorElementh_HFflagcounter
 
MonitorElementh_HFLongShort_vs_LS
 
MonitorElementh_HFM_weightedTime
 
MonitorElementh_HFOccupancy
 
MonitorElementh_HFP_weightedTime
 
MonitorElementh_HFsizeVsLS
 
MonitorElementh_HFThreshOccupancy
 
MonitorElementh_HFThreshTime
 
MonitorElementh_HFTime
 
MonitorElementh_HFtimedifference
 
MonitorElementh_HFTimeVsEnergy
 
MonitorElementh_HOflagcounter
 
MonitorElementh_HOOccupancy
 
MonitorElementh_HOsizeVsLS
 
MonitorElementh_HOThreshOccupancy
 
MonitorElementh_HOThreshTime
 
MonitorElementh_HOTime
 
MonitorElementh_HOTimeVsEnergy
 
MonitorElementh_LumiPlot_BX_allevents
 
MonitorElementh_LumiPlot_BX_HcalHLTEvents
 
MonitorElementh_LumiPlot_BX_HcalHLTEvents_notimecut
 
MonitorElementh_LumiPlot_BX_MinBiasEvents
 
MonitorElementh_LumiPlot_BX_MinBiasEvents_notimecut
 
MonitorElementh_LumiPlot_LS_allevents
 
MonitorElementh_LumiPlot_LS_HcalHLTEvents
 
MonitorElementh_LumiPlot_LS_HcalHLTEvents_notimecut
 
MonitorElementh_LumiPlot_LS_MinBiasEvents
 
MonitorElementh_LumiPlot_LS_MinBiasEvents_notimecut
 
MonitorElementh_LumiPlot_MinTime_vs_MinHT
 
MonitorElementh_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
 
MonitorElementh_LumiPlot_SumHT_HFPlus_vs_HFMinus
 
MonitorElementh_LumiPlot_timeHFPlus_vs_timeHFMinus
 
MonitorElementh_LumiPlot_timeHT_HFM
 
MonitorElementh_LumiPlot_timeHT_HFP
 
MonitorElementh_rechitieta
 
MonitorElementh_rechitieta_05
 
MonitorElementh_rechitieta_10
 
MonitorElementh_rechitieta_100
 
MonitorElementh_rechitieta_25
 
MonitorElementh_rechitieta_thresh
 
MonitorElementh_rechitiphi
 
MonitorElementh_rechitiphi_05
 
MonitorElementh_rechitiphi_10
 
MonitorElementh_rechitiphi_100
 
MonitorElementh_rechitiphi_25
 
MonitorElementh_rechitiphi_thresh
 
MonitorElementh_TriggeredEvents
 
double HB_occupancy_ [260]
 
double HB_occupancy_thresh_ [260]
 
double HBenergyThreshold_
 
double HBETThreshold_
 
int HBflagcounter_ [32]
 
edm::InputTag hbheRechitLabel_
 
bool HBpresent_
 
double HBtime_ [250--250]
 
double HBtime_thresh_ [250--250]
 
std::vector< std::string > HcalHLTBits_
 
double HE_occupancy_ [260]
 
double HE_occupancy_thresh_ [260]
 
double HEenergyThreshold_
 
double HEETThreshold_
 
int HEflagcounter_ [32]
 
bool HEpresent_
 
double HEtime_ [250--250]
 
double HEtime_thresh_ [250--250]
 
double HF_occupancy_ [174]
 
double HF_occupancy_thresh_ [174]
 
double HFenergyLong_ [200]
 
double HFenergyLong_thresh_ [200]
 
double HFenergyShort_ [200]
 
double HFenergyShort_thresh_ [200]
 
double HFenergyThreshold_
 
double HFETThreshold_
 
int HFflagcounter_ [32]
 
double HFlong_occupancy_ [865]
 
double HFlong_occupancy_thresh_ [865]
 
MonitorElementHFP_HFM_Energy
 
bool HFpresent_
 
edm::InputTag hfRechitLabel_
 
double HFshort_occupancy_ [865]
 
double HFshort_occupancy_thresh_ [865]
 
double HFtime_ [250--250]
 
double HFtime_thresh_ [250--250]
 
double HFtimeLong_ [250--250]
 
double HFtimeLong_thresh_ [250--250]
 
double HFtimeShort_ [250--250]
 
double HFtimeShort_thresh_ [250--250]
 
edm::InputTag hltresultsLabel_
 
double HO_occupancy_ [218]
 
double HO_occupancy_thresh_ [218]
 
double HOenergyThreshold_
 
double HOETThreshold_
 
int HOflagcounter_ [32]
 
bool HOpresent_
 
edm::InputTag hoRechitLabel_
 
double HOtime_ [250--250]
 
double HOtime_thresh_ [250--250]
 
edm::InputTag l1gtLabel_
 
std::vector< std::string > MinBiasHLTBits_
 
unsigned int occupancy_ [85][72][4]
 
unsigned int occupancy_thresh_ [85][72][4]
 
EtaPhiHists OccupancyByDepth
 
EtaPhiHists OccupancyThreshByDepth
 
bool setupDone_
 
EtaPhiHists SqrtSumEnergy2ByDepth
 
EtaPhiHists SqrtSumEnergy2ThreshByDepth
 
EtaPhiHists SumEnergyByDepth
 
EtaPhiHists SumEnergyThreshByDepth
 
EtaPhiHists SumTimeByDepth
 
EtaPhiHists SumTimeThreshByDepth
 
double time_ [85][72][4]
 
double time_thresh_ [85][72][4]
 
double timediffThresh_
 
edm::EDGetTokenT
< HBHERecHitCollection
tok_hbhe_
 
edm::EDGetTokenT
< HFRecHitCollection
tok_hf_
 
edm::EDGetTokenT
< HORecHitCollection
tok_ho_
 
edm::EDGetTokenT
< edm::TriggerResults
tok_trigger_
 

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, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (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 HcalBaseDQMonitor
virtual void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void cleanup (void)
 
virtual void dqmBeginRun (const edm::Run &run, const edm::EventSetup &c)
 
void getLogicalMap (const edm::EventSetup &c)
 
bool IsAllowedCalibType ()
 
bool LumiInOrder (int lumisec)
 
void SetupEtaPhiHists (DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units)
 
- Protected Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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)
 
- Protected Attributes inherited from HcalBaseDQMonitor
std::vector< int > AllowedCalibTypes_
 
int badChannelStatusMask_
 
int currentLS
 
int currenttype_
 
int debug_
 
bool enableCleanup_
 
bool eventAllowed_
 
bool HBpresent_
 
bool HEpresent_
 
bool HFpresent_
 
bool HOpresent_
 
int ievt_
 
std::map< unsigned int, int > KnownBadCells_
 
int levt_
 
HcalLogicalMaplogicalMap_
 
bool makeDiagnostics_
 
MonitorElementmeIevt_
 
MonitorElementmeLevt_
 
bool mergeRuns_
 
MonitorElementmeTevt_
 
MonitorElementmeTevtHist_
 
bool needLogicalMap_
 
int NLumiBlocks_
 
bool Online_
 
std::string prefixME_
 
MonitorElementProblemsCurrentLB
 
MonitorElementProblemsVsLB
 
MonitorElementProblemsVsLB_HB
 
MonitorElementProblemsVsLB_HBHEHF
 
MonitorElementProblemsVsLB_HE
 
MonitorElementProblemsVsLB_HF
 
MonitorElementProblemsVsLB_HO
 
bool skipOutOfOrderLS_
 
std::string subdir_
 
int tevt_
 

Detailed Description

Author
J. Temple - Univ. of Maryland

Definition at line 15 of file HcalRecHitMonitor.h.

Constructor & Destructor Documentation

HcalRecHitMonitor::HcalRecHitMonitor ( const edm::ParameterSet ps)

Definition at line 16 of file HcalRecHitMonitor.cc.

References HcalBaseDQMonitor::AllowedCalibTypes_, HcalBaseDQMonitor::debug_, HcalBaseDQMonitor::enableCleanup_, energyThreshold_, ETThreshold_, edm::ParameterSet::getUntrackedParameter(), HBenergyThreshold_, HBETThreshold_, hbheRechitLabel_, HcalHLTBits_, HEenergyThreshold_, HEETThreshold_, HFenergyThreshold_, HFETThreshold_, hfRechitLabel_, hltresultsLabel_, HOenergyThreshold_, HOETThreshold_, hoRechitLabel_, l1gtLabel_, HcalBaseDQMonitor::makeDiagnostics_, HcalBaseDQMonitor::mergeRuns_, MinBiasHLTBits_, HcalBaseDQMonitor::needLogicalMap_, HcalBaseDQMonitor::NLumiBlocks_, HcalBaseDQMonitor::Online_, HcalBaseDQMonitor::prefixME_, setupDone_, HcalBaseDQMonitor::skipOutOfOrderLS_, AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQMonitor::subdir_, timediffThresh_, tok_hbhe_, tok_hf_, tok_ho_, and tok_trigger_.

17 {
18  // Common Base Class parameters
19  Online_ = ps.getUntrackedParameter<bool>("online",false);
20  mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns",false);
21  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup",false);
22  debug_ = ps.getUntrackedParameter<int>("debug",0);
23  prefixME_ = ps.getUntrackedParameter<std::string>("subSystemFolder","Hcal/");
24  if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!="/")
25  prefixME_.append("/");
26  subdir_ = ps.getUntrackedParameter<std::string>("TaskFolder","RecHitMonitor_Hcal/");
27  if (subdir_.size()>0 && subdir_.substr(subdir_.size()-1,subdir_.size())!="/")
28  subdir_.append("/");
29  subdir_=prefixME_+subdir_;
30  AllowedCalibTypes_ = ps.getUntrackedParameter<std::vector<int> > ("AllowedCalibTypes");
31  skipOutOfOrderLS_ = ps.getUntrackedParameter<bool>("skipOutOfOrderLS",false);
32  NLumiBlocks_ = ps.getUntrackedParameter<int>("NLumiBlocks",4000);
33  makeDiagnostics_ = ps.getUntrackedParameter<bool>("makeDiagnostics",false);
34 
35  hbheRechitLabel_ = ps.getUntrackedParameter<edm::InputTag>("hbheRechitLabel");
36  hoRechitLabel_ = ps.getUntrackedParameter<edm::InputTag>("hoRechitLabel");
37  hfRechitLabel_ = ps.getUntrackedParameter<edm::InputTag>("hfRechitLabel");
38  l1gtLabel_ = ps.getUntrackedParameter<edm::InputTag>("L1GTLabel"); // should be l1GtUnpack
39 
40  hltresultsLabel_ = ps.getUntrackedParameter<edm::InputTag>("HLTResultsLabel");
41  HcalHLTBits_ = ps.getUntrackedParameter<std::vector<std::string> >("HcalHLTBits");
42  MinBiasHLTBits_ = ps.getUntrackedParameter<std::vector<std::string> >("MinBiasHLTBits");
43 
44  // energy/ET threshold plots also require that at least one MinBias trigger bit fires
45  energyThreshold_ = ps.getUntrackedParameter<double>("energyThreshold",2);
46  HBenergyThreshold_ = ps.getUntrackedParameter<double>("HB_energyThreshold",energyThreshold_);
47  HEenergyThreshold_ = ps.getUntrackedParameter<double>("HE_energyThreshold",energyThreshold_);
48  HOenergyThreshold_ = ps.getUntrackedParameter<double>("HO_energyThreshold",energyThreshold_);
49  HFenergyThreshold_ = ps.getUntrackedParameter<double>("HF_energyThreshold",energyThreshold_);
50 
51  ETThreshold_ = ps.getUntrackedParameter<double>("ETThreshold",0);
52  HBETThreshold_ = ps.getUntrackedParameter<double>("HB_ETThreshold",ETThreshold_);
53  HEETThreshold_ = ps.getUntrackedParameter<double>("HE_ETThreshold",ETThreshold_);
54  HOETThreshold_ = ps.getUntrackedParameter<double>("HO_ETThreshold",ETThreshold_);
55  HFETThreshold_ = ps.getUntrackedParameter<double>("HF_ETThreshold",ETThreshold_);
56 
57  timediffThresh_ = ps.getUntrackedParameter<double>("collisiontimediffThresh",10.);
58  setupDone_ = false;
59  needLogicalMap_ = true;
60 
61  // register for data access
62  tok_hbhe_ = consumes<HBHERecHitCollection>(hbheRechitLabel_);
63  tok_ho_ = consumes<HORecHitCollection>(hoRechitLabel_);
64  tok_hf_ = consumes<HFRecHitCollection>(hfRechitLabel_);
65  tok_trigger_ = consumes<edm::TriggerResults>(hltresultsLabel_);
66 
67 } //constructor
T getUntrackedParameter(std::string const &, T const &) const
std::vector< int > AllowedCalibTypes_
edm::InputTag l1gtLabel_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
edm::InputTag hfRechitLabel_
std::vector< std::string > HcalHLTBits_
edm::InputTag hltresultsLabel_
std::vector< std::string > MinBiasHLTBits_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
edm::InputTag hbheRechitLabel_
edm::InputTag hoRechitLabel_
HcalRecHitMonitor::~HcalRecHitMonitor ( )

Definition at line 69 of file HcalRecHitMonitor.cc.

70 {
71 } //destructor

Member Function Documentation

void HcalRecHitMonitor::analyze ( const edm::Event e,
const edm::EventSetup s 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 699 of file HcalRecHitMonitor.cc.

References HcalBaseDQMonitor::analyze(), edm::EventBase::bunchCrossing(), gather_cfg::cout, HcalBaseDQMonitor::currentLS, HcalBaseDQMonitor::debug_, alignCSCRings::e, MonitorElement::Fill(), edm::Event::getByToken(), HcalBaseDQMonitor::getLogicalMap(), h_LumiPlot_BX_allevents, h_LumiPlot_LS_allevents, hbheRechitLabel_, hfRechitLabel_, hoRechitLabel_, HcalBaseDQMonitor::IsAllowedCalibType(), HcalBaseDQMonitor::LumiInOrder(), edm::EventBase::luminosityBlock(), processEvent(), tok_hbhe_, tok_hf_, and tok_ho_.

700 {
701  getLogicalMap(s);
702  if (debug_>0) std::cout <<"HcalRecHitMonitor::analyze; debug = "<<debug_<<std::endl;
703 
704  if (!IsAllowedCalibType()) return;
705  if (LumiInOrder(e.luminosityBlock())==false) return;
706 
707  // Get objects
711 
712  if (!(e.getByToken(tok_hbhe_,hbhe_rechit)))
713  {
714  edm::LogWarning("HcalHotCellMonitor")<< hbheRechitLabel_<<" hbhe_rechit not available";
715  return;
716  }
717 
718  if (!(e.getByToken(tok_hf_,hf_rechit)))
719  {
720  edm::LogWarning("HcalHotCellMonitor")<< hfRechitLabel_<<" hf_rechit not available";
721  return;
722  }
723 
724  if (!(e.getByToken(tok_ho_,ho_rechit)))
725  {
726  edm::LogWarning("HcalHotCellMonitor")<< hoRechitLabel_<<" ho_rechit not available";
727  return;
728  }
729 
730 
733  processEvent(*hbhe_rechit, *ho_rechit, *hf_rechit, e.bunchCrossing(), e);
734 
736 } // void HcalRecHitMonitor::analyze()
bool LumiInOrder(int lumisec)
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
void processEvent(const HBHERecHitCollection &hbHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, int BCN, const edm::Event &iEvent)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:446
int bunchCrossing() const
Definition: EventBase.h:62
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:59
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
void getLogicalMap(const edm::EventSetup &c)
edm::InputTag hfRechitLabel_
MonitorElement * h_LumiPlot_LS_allevents
void Fill(long long x)
MonitorElement * h_LumiPlot_BX_allevents
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::InputTag hbheRechitLabel_
edm::InputTag hoRechitLabel_
tuple cout
Definition: gather_cfg.py:121
void HcalRecHitMonitor::bookHistograms ( DQMStore::IBooker ib,
const edm::Run run,
const edm::EventSetup c 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 500 of file HcalRecHitMonitor.cc.

References HcalBaseDQMonitor::bookHistograms(), DQMStore::IBooker::bookString(), gather_cfg::cout, HcalBaseDQMonitor::debug_, HcalHLTBits_, i, HcalBaseDQMonitor::mergeRuns_, MinBiasHLTBits_, reset(), DQMStore::IBooker::setCurrentFolder(), setup(), AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQMonitor::subdir_, and HcalBaseDQMonitor::tevt_.

501 {
502 
503  if (debug_>0) std::cout <<"HcalRecHitMonitor::bookHistograms(): task = '"<<subdir_<<"'"<<std::endl;
505  if (tevt_==0) // create histograms, if they haven't been created already
506  this->setup(ib);
507  // Clear histograms at the start of each run if not merging runs
508  if (mergeRuns_==false)
509  this->reset();
510 
511  if (tevt_!=0) return;
512  // create histograms displaying trigger parameters? Specify names?
513  ib.setCurrentFolder(subdir_+"rechit_parameters");
514  std::string tnames="";
515  if (HcalHLTBits_.size()>0)
516  tnames=HcalHLTBits_[0];
517  for (unsigned int i=1;i<HcalHLTBits_.size();++i)
518  tnames=tnames + " OR " + HcalHLTBits_[i];
519  ib.bookString("HcalHLTriggerRequirements",tnames);
520  tnames="";
521  if (MinBiasHLTBits_.size()>0)
522  tnames=MinBiasHLTBits_[0];
523  for (unsigned int i=1;i<MinBiasHLTBits_.size();++i)
524  tnames=tnames + " OR " + MinBiasHLTBits_[i];
525  ib.bookString("MinBiasHLTriggerRequirements",tnames);
526  return;
527 
528 } //void HcalRecHitMonitor::bookHistograms(...)
int i
Definition: DBlmapReader.cc:9
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * bookString(Args &&...args)
Definition: DQMStore.h:97
void setup(DQMStore::IBooker &)
std::vector< std::string > HcalHLTBits_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
std::vector< std::string > MinBiasHLTBits_
tuple cout
Definition: gather_cfg.py:121
void HcalRecHitMonitor::endJob ( void  )

Definition at line 662 of file HcalRecHitMonitor.cc.

References HcalBaseDQMonitor::cleanup(), and HcalBaseDQMonitor::enableCleanup_.

663 {
664  if (!enableCleanup_) return;
666  this->cleanup();
667 }
virtual void cleanup(void)
void HcalRecHitMonitor::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 1349 of file HcalRecHitMonitor.cc.

References fill_Nevents(), HcalBaseDQMonitor::LumiInOrder(), and edm::LuminosityBlockBase::luminosityBlock().

1352 {
1353  // don't fill lumi block information if it's already been filled
1354  if (LumiInOrder(lumiSeg.luminosityBlock())==false) return;
1355  fill_Nevents();
1356  return;
1357 } //endLuminosityBlock
bool LumiInOrder(int lumisec)
LuminosityBlockNumber_t luminosityBlock() const
void HcalRecHitMonitor::endRun ( const edm::Run run,
const edm::EventSetup c 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 531 of file HcalRecHitMonitor.cc.

References gather_cfg::cout, HcalBaseDQMonitor::debug_, and HcalBaseDQMonitor::subdir_.

532 {
533  if (debug_>0) std::cout <<"HcalRecHitMonitor::endRun(): task = '"<<subdir_<<"'"<<std::endl;
534 
535  //Any special fill calls needed? Shouldn't be necessary; last endLuminosityBlock should do necessary fills
536 } // void HcalRecHitMonitor::endrun(...)
tuple cout
Definition: gather_cfg.py:121
void HcalRecHitMonitor::fill_Nevents ( void  )
private

Definition at line 1360 of file HcalRecHitMonitor.cc.

References HcalObjRepresent::CalcIeta(), gather_cfg::cout, HcalBaseDQMonitor::debug_, EtaPhiHists::depth, energy2_, energy2_thresh_, energy_, energy_thresh_, eta(), MonitorElement::Fill(), HcalObjRepresent::FillUnphysicalHEHFBins(), h_HBflagcounter, h_HBOccupancy, h_HBThreshOccupancy, h_HBThreshTime, h_HBTime, h_HEflagcounter, h_HEOccupancy, h_HEThreshOccupancy, h_HEThreshTime, h_HETime, h_HFflagcounter, h_HFOccupancy, h_HFThreshOccupancy, h_HFThreshTime, h_HFTime, h_HOflagcounter, h_HOOccupancy, h_HOThreshOccupancy, h_HOThreshTime, h_HOTime, h_rechitieta, h_rechitieta_thresh, h_rechitiphi, h_rechitiphi_thresh, HB_occupancy_, HB_occupancy_thresh_, HBflagcounter_, HBtime_, HBtime_thresh_, HE_occupancy_, HE_occupancy_thresh_, HEflagcounter_, HEtime_, HEtime_thresh_, HF_occupancy_, HF_occupancy_thresh_, HFflagcounter_, HFtime_, HFtime_thresh_, HO_occupancy_, HO_occupancy_thresh_, HOflagcounter_, HOtime_, HOtime_thresh_, i, HcalBaseDQMonitor::ievt_, roll_playback::k, occupancy_, occupancy_thresh_, OccupancyByDepth, OccupancyThreshByDepth, phi, RECHITMON_TIME_MAX, RECHITMON_TIME_MIN, MonitorElement::setBinContent(), mathSSE::sqrt(), SqrtSumEnergy2ByDepth, SqrtSumEnergy2ThreshByDepth, SumEnergyByDepth, SumEnergyThreshByDepth, SumTimeByDepth, SumTimeThreshByDepth, time_, and time_thresh_.

Referenced by endLuminosityBlock().

1361 {
1362  // looking at the contents of HbFlagcounters
1363  if (debug_>0)
1364  {
1365  for (int k = 0; k < 32; k++){
1366  std::cout << "<HcalRecHitMonitor::fill_Nevents> HF Flag counter: Bin #" << k+1 << " = "<< HFflagcounter_[k] << std::endl;
1367  }
1368  }
1369 
1370  for (int i=0;i<32;i++)
1371  {
1376  HBflagcounter_[i]=0;
1377  HEflagcounter_[i]=0;
1378  HOflagcounter_[i]=0;
1379  HFflagcounter_[i]=0;
1380  }
1381 
1382  // Fill Occupancy & Sum Energy, Time plots
1383  int myieta=-1;
1384  if (ievt_>0)
1385  {
1386  for (int mydepth=0;mydepth<4;++mydepth)
1387  {
1388  for (int eta=0;eta<OccupancyByDepth.depth[mydepth]->getNbinsX();++eta)
1389  {
1390  myieta=CalcIeta(eta,mydepth+1);
1391 
1392  for (int phi=0;phi<72;++phi)
1393  {
1394  if (occupancy_[eta][phi][mydepth]>0)
1395  {
1396  h_rechitieta->Fill(myieta,occupancy_[eta][phi][mydepth]);
1397  h_rechitiphi->Fill(phi+1,occupancy_[eta][phi][mydepth]);
1398  }
1399  if (occupancy_thresh_[eta][phi][mydepth]>0)
1400  {
1401  h_rechitieta_thresh->Fill(myieta,occupancy_thresh_[eta][phi][mydepth]);
1403  }
1404  OccupancyByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,occupancy_[eta][phi][mydepth]);
1405  SumEnergyByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,energy_[eta][phi][mydepth]);
1406  SqrtSumEnergy2ByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,sqrt(energy2_[eta][phi][mydepth]));
1407  SumTimeByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,time_[eta][phi][mydepth]);
1408 
1409  OccupancyThreshByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,occupancy_thresh_[eta][phi][mydepth]);
1410  SumEnergyThreshByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,energy_thresh_[eta][phi][mydepth]);
1411  SqrtSumEnergy2ThreshByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,sqrt(energy2_thresh_[eta][phi][mydepth]));
1412  SumTimeThreshByDepth.depth[mydepth]->setBinContent(eta+1,phi+1,time_thresh_[eta][phi][mydepth]);
1413  } // for (int phi=0;phi<72;++phi)
1414  } // for (int eta=0;eta<OccupancyByDepth...;++eta)
1415  } // for (int mydepth=0;...)
1416 
1425 
1426  } // if (ievt_>0)
1427 
1428  // Fill subdet plots
1429 
1430  for (int i=0;i<(RECHITMON_TIME_MAX-RECHITMON_TIME_MIN);++i)
1431  {
1432  if (HBtime_[i]!=0)
1433  {
1434  h_HBTime->setBinContent(i+1,HBtime_[i]);
1435  }
1436  if (HBtime_thresh_[i]!=0)
1437  {
1439  }
1440  if (HEtime_[i]!=0)
1441  {
1442 
1443  h_HETime->setBinContent(i+1,HEtime_[i]);
1444  }
1445  if (HEtime_thresh_[i]!=0)
1446  {
1448  }
1449  if (HOtime_[i]!=0)
1450  {
1451  h_HOTime->setBinContent(i+1,HOtime_[i]);
1452  }
1453  if (HOtime_thresh_[i]!=0)
1454  {
1456  }
1457  if (HFtime_[i]!=0)
1458  {
1459  h_HFTime->setBinContent(i+1,HFtime_[i]);
1460  }
1461  if (HFtime_thresh_[i]!=0)
1462  {
1464  }
1465  } // for (int i=0;i<(RECHITMON_TIME_MAX-RECHITMON_TIME_MIN);++i)
1466 
1467  for (int i=0;i<260;++i)
1468  {
1469  if (HB_occupancy_[i]>0)
1470  {
1472  }
1473  if (HB_occupancy_thresh_[i]>0)
1474  {
1476  }
1477  if (HE_occupancy_[i]>0)
1478  {
1480  }
1481  if (HE_occupancy_thresh_[i]>0)
1482  {
1484  }
1485  }//for (int i=0;i<260;++i)
1486 
1487  for (int i=0;i<217;++i)
1488  {
1489  if (HO_occupancy_[i]>0)
1490  {
1492  }
1493  if (HO_occupancy_thresh_[i]>0)
1494  {
1496  }
1497  }// for (int i=0;i<217;++i)
1498 
1499  for (int i=0;i<173;++i)
1500  {
1501  if (HF_occupancy_[i]>0)
1502  {
1504  }
1505  if (HF_occupancy_thresh_[i]>0)
1506  {
1508  }
1509  }// for (int i=0;i<173;++i)
1510 
1511  //zeroCounters();
1512 
1513  if (debug_>0)
1514  std::cout <<"<HcalRecHitMonitor::fill_Nevents> FILLED REC HIT CELL PLOTS"<<std::endl;
1515 
1516 } // void HcalRecHitMonitor::fill_Nevents(void)
double time_[85][72][4]
double HB_occupancy_[260]
int i
Definition: DBlmapReader.cc:9
MonitorElement * h_HOThreshTime
void setBinContent(int binx, double content)
set content of bin (1-D)
EtaPhiHists OccupancyThreshByDepth
double HFtime_thresh_[250--250]
double HOtime_thresh_[250--250]
double HBtime_thresh_[250--250]
double HF_occupancy_thresh_[174]
MonitorElement * h_HBThreshTime
MonitorElement * h_HOflagcounter
double HO_occupancy_thresh_[218]
MonitorElement * h_HFThreshTime
MonitorElement * h_HFTime
MonitorElement * h_HFThreshOccupancy
double HBtime_[250--250]
double HEtime_thresh_[250--250]
MonitorElement * h_rechitieta
double HF_occupancy_[174]
MonitorElement * h_HFflagcounter
T eta() const
MonitorElement * h_HEOccupancy
EtaPhiHists SumEnergyByDepth
MonitorElement * h_HOThreshOccupancy
double HE_occupancy_thresh_[260]
unsigned int occupancy_[85][72][4]
void Fill(long long x)
MonitorElement * h_HETime
MonitorElement * h_rechitieta_thresh
EtaPhiHists OccupancyByDepth
MonitorElement * h_HOOccupancy
double time_thresh_[85][72][4]
EtaPhiHists SumTimeThreshByDepth
std::vector< MonitorElement * > depth
int CalcIeta(int subdet, int eta, int depth)
EtaPhiHists SqrtSumEnergy2ThreshByDepth
EtaPhiHists SumTimeByDepth
unsigned int occupancy_thresh_[85][72][4]
T sqrt(T t)
Definition: SSEVec.h:48
EtaPhiHists SqrtSumEnergy2ByDepth
MonitorElement * h_HBOccupancy
double energy2_[85][72][4]
double HFtime_[250--250]
MonitorElement * h_HOTime
double energy2_thresh_[85][72][4]
double HOtime_[250--250]
double energy_thresh_[85][72][4]
MonitorElement * h_HBThreshOccupancy
double HEtime_[250--250]
MonitorElement * h_rechitiphi
void FillUnphysicalHEHFBins(std::vector< TH2F > &hh)
MonitorElement * h_HFOccupancy
#define RECHITMON_TIME_MIN
MonitorElement * h_HEflagcounter
MonitorElement * h_HBTime
MonitorElement * h_rechitiphi_thresh
double HB_occupancy_thresh_[260]
#define RECHITMON_TIME_MAX
MonitorElement * h_HEThreshTime
tuple cout
Definition: gather_cfg.py:121
EtaPhiHists SumEnergyThreshByDepth
MonitorElement * h_HEThreshOccupancy
double HE_occupancy_[260]
double HO_occupancy_[218]
MonitorElement * h_HBflagcounter
double energy_[85][72][4]
Definition: DDAxes.h:10
void HcalRecHitMonitor::processEvent ( const HBHERecHitCollection hbHits,
const HORecHitCollection hoHits,
const HFRecHitCollection hfHits,
int  BCN,
const edm::Event iEvent 
)

Definition at line 739 of file HcalRecHitMonitor.cc.

References gather_cfg::cout, HcalBaseDQMonitor::debug_, MonitorElement::Fill(), edm::Event::getByToken(), h_TriggeredEvents, HcalHLTBits_, hltresultsLabel_, i, roll_playback::k, MinBiasHLTBits_, processEvent_rechit(), edm::TriggerNames::size(), tok_trigger_, edm::TriggerNames::triggerName(), and edm::Event::triggerNames().

Referenced by analyze().

745 {
746 
747 
748  if (debug_>1) std::cout <<"<HcalRecHitMonitor::processEvent> Processing event..."<<std::endl;
749 
750 
751  bool passedHcalHLT=false;
752  bool passedMinBiasHLT=false;
753 
755  if (!(iEvent.getByToken(tok_trigger_,hltRes)))
756  {
757  if (debug_>0) edm::LogWarning("HcalRecHitMonitor")<<" Could not get HLT results with tag "<<hltresultsLabel_<<std::endl;
758  }
759  else
760  {
761  const edm::TriggerNames & triggerNames = iEvent.triggerNames(*hltRes);
762  const unsigned int nTrig(triggerNames.size());
763  for (unsigned int i=0;i<nTrig;++i)
764  {
765  // trigger decision is based on 'OR' of any specified trigger names
766  for (unsigned int k=0;k<HcalHLTBits_.size();++k)
767  {
768  // if (triggerNames.triggerName(i)==HcalHLTBits_[k] && hltRes->accept(i))
769  if (triggerNames.triggerName(i).find(HcalHLTBits_[k])!=std::string::npos && hltRes->accept(i))
770  {
771  passedHcalHLT=true;
772  break;
773  }
774  }
775  // repeat for minbias triggers
776  for (unsigned int k=0;k<MinBiasHLTBits_.size();++k)
777  {
778  // if (triggerNames.triggerName(i)==MinBiasHLTBits_[k] && hltRes->accept(i))
779  if (triggerNames.triggerName(i).find(MinBiasHLTBits_[k])!=std::string::npos && hltRes->accept(i))
780  {
781  passedMinBiasHLT=true;
782  break;
783  }
784  }
785  }
786  } //else
787 
788  if (debug_>2 && passedHcalHLT) std::cout <<"\t<HcalRecHitMonitor::processEvent> Passed Hcal HLT trigger "<<std::endl;
789  if (debug_>2 && passedMinBiasHLT) std::cout <<"\t<HcalRecHitMonitor::processEvent> Passed MinBias HLT trigger "<<std::endl;
790 
791  h_TriggeredEvents->Fill(0); // all events
792  if (passedMinBiasHLT) h_TriggeredEvents->Fill(1); // Minbias;
793  if (passedHcalHLT) h_TriggeredEvents->Fill(2); // hcal HLT
794  processEvent_rechit(hbHits, hoHits, hfHits,passedHcalHLT,passedMinBiasHLT,BCN);
795 
796  return;
797 } // void HcalRecHitMonitor::processEvent(...)
int i
Definition: DBlmapReader.cc:9
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
Definition: Event.cc:199
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:446
Strings::size_type size() const
Definition: TriggerNames.cc:39
void Fill(long long x)
void processEvent_rechit(const HBHERecHitCollection &hbheHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, bool passedHcalHLT, bool passedMinBiasHLT, int BCN)
std::vector< std::string > HcalHLTBits_
edm::InputTag hltresultsLabel_
std::vector< std::string > MinBiasHLTBits_
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
tuple cout
Definition: gather_cfg.py:121
MonitorElement * h_TriggeredEvents
void HcalRecHitMonitor::processEvent_rechit ( const HBHERecHitCollection hbheHits,
const HORecHitCollection hoHits,
const HFRecHitCollection hfHits,
bool  passedHcalHLT,
bool  passedMinBiasHLT,
int  BCN 
)

Definition at line 803 of file HcalRecHitMonitor.cc.

References funct::abs(), edm::SortedCollection< T, SORT >::begin(), CalcEtaBin(), gather_cfg::cout, HcalBaseDQMonitor::currentLS, HcalBaseDQMonitor::debug_, EtaPhiHists::depth, edm::SortedCollection< T, SORT >::end(), energy2_, energy2_thresh_, energy_, energy_thresh_, f, MonitorElement::Fill(), HcalLogicalMap::getHcalFrontEndId(), h_FlagMap_DIGITIME, h_FlagMap_HPDMULT, h_FlagMap_LONGSHORT, h_FlagMap_PULSESHAPE, h_FlagMap_TIMEADD, h_FlagMap_TIMEERROR, h_FlagMap_TIMESUBTRACT, h_HBflagcounter, h_HBHE_FlagCorr, h_HBHEHPDMult_vs_LS, h_HBHEPulseShape_vs_LS, h_HBM_weightedTime, h_HBP_weightedTime, h_HBsizeVsLS, h_HBThreshTime, h_HBTime, h_HBTimeVsEnergy, h_HE_HcalHLT_energydifference, h_HE_HcalHLT_weightedtimedifference, h_HEenergydifference, h_HEflagcounter, h_HEM_weightedTime, h_HEP_weightedTime, h_HEsizeVsLS, h_HEThreshTime, h_HETime, h_HEtimedifference, h_HETimeVsEnergy, h_HF_FlagCorr, h_HF_HcalHLT_energydifference, h_HF_HcalHLT_weightedtimedifference, h_HFDigiTime_vs_LS, h_HFenergydifference, h_HFflagcounter, h_HFLongShort_vs_LS, h_HFM_weightedTime, h_HFP_weightedTime, h_HFsizeVsLS, h_HFThreshTime, h_HFTime, h_HFtimedifference, h_HFTimeVsEnergy, h_HOflagcounter, h_HOsizeVsLS, h_HOThreshTime, h_HOTime, h_HOTimeVsEnergy, h_LumiPlot_BX_HcalHLTEvents, h_LumiPlot_BX_HcalHLTEvents_notimecut, h_LumiPlot_BX_MinBiasEvents, h_LumiPlot_BX_MinBiasEvents_notimecut, h_LumiPlot_LS_HcalHLTEvents, h_LumiPlot_LS_HcalHLTEvents_notimecut, h_LumiPlot_LS_MinBiasEvents, h_LumiPlot_LS_MinBiasEvents_notimecut, h_LumiPlot_MinTime_vs_MinHT, h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus, h_LumiPlot_SumHT_HFPlus_vs_HFMinus, h_LumiPlot_timeHFPlus_vs_timeHFMinus, h_LumiPlot_timeHT_HFM, h_LumiPlot_timeHT_HFP, h_rechitieta_05, h_rechitieta_10, h_rechitieta_100, h_rechitieta_25, h_rechitiphi_05, h_rechitiphi_10, h_rechitiphi_100, h_rechitiphi_25, HB_occupancy_, HB_occupancy_thresh_, HBenergyThreshold_, HBETThreshold_, HBflagcounter_, HcalCaloFlagLabels::HBHEHpdHitMultiplicity, HcalCaloFlagLabels::HBHEPulseShape, HBtime_, HBtime_thresh_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HE_occupancy_, HE_occupancy_thresh_, HEenergyThreshold_, HEETThreshold_, HEflagcounter_, HEtime_, HEtime_thresh_, HF_occupancy_, HF_occupancy_thresh_, HcalCaloFlagLabels::HFDigiTime, HFenergyThreshold_, HFETThreshold_, HFflagcounter_, HcalCaloFlagLabels::HFLongShort, HFP_HFM_Energy, HFtime_, HFtime_thresh_, HO_occupancy_, HO_occupancy_thresh_, HOenergyThreshold_, HOETThreshold_, HOflagcounter_, HOtime_, HOtime_thresh_, i, HcalDetId::ieta(), HcalBaseDQMonitor::logicalMap_, min(), occupancy_, occupancy_thresh_, OccupancyByDepth, OccupancyThreshByDepth, funct::pow(), RECHITMON_TIME_MAX, RECHITMON_TIME_MIN, submit::rm, edm::SortedCollection< T, SORT >::size(), SqrtSumEnergy2ByDepth, SumEnergyByDepth, SumTimeByDepth, theHBHEEtaBounds, theHFEtaBounds, time_, time_thresh_, timediffThresh_, HcalCaloFlagLabels::TimingAddedBit, HcalCaloFlagLabels::TimingErrorBit, HcalCaloFlagLabels::TimingSubtractedBit, and MonitorElement::update().

Referenced by processEvent().

809 {
810  // Gather rechit info
811 
812  //const float area[]={0.111,0.175,0.175,0.175,0.175,0.175,0.174,0.178,0.172,0.175,0.178,0.346,0.604};
813 
814  if (debug_>1) std::cout <<"<HcalRecHitMonitor::processEvent_rechitenergy> Processing rechits..."<<std::endl;
815 
816  // loop over HBHE
817 
818  int hbocc=0;
819  int heocc=0;
820  int hboccthresh=0;
821  int heoccthresh=0;
822 
823  double HtPlus =0, HtMinus=0;
824  double HFePlus=0, HFeMinus=0;
825  double HBePlus=0, HBeMinus=0;
826  double HEePlus=0, HEeMinus=0;
827  double HFtPlus=0, HFtMinus=0;
828  double HBtPlus=0, HBtMinus=0;
829  double HEtPlus=0, HEtMinus=0;
830 
831  int hbpocc=0, hbmocc=0, hepocc=0, hemocc=0, hfpocc=0, hfmocc=0;
832 
833  for (unsigned int i=0;i<4;++i)
834  {
835  OccupancyByDepth.depth[i]->update();
836  OccupancyThreshByDepth.depth[i]->update();
837  SumEnergyByDepth.depth[i]->update();
838  SqrtSumEnergy2ByDepth.depth[i]->update();
839  SumTimeByDepth.depth[i]->update();
840  }
841 
846 
847 
848  for (HBHERecHitCollection::const_iterator HBHEiter=hbheHits.begin(); HBHEiter!=hbheHits.end(); ++HBHEiter)
849  { // loop over all hits
850  float en = HBHEiter->energy();
851  float ti = HBHEiter->time();
852  HcalDetId id(HBHEiter->detid().rawId());
853  int ieta = id.ieta();
854  int iphi = id.iphi();
855  int depth = id.depth();
856 
857  if (en>0.5)
858  {
859  h_rechitieta_05->Fill(ieta);
860  h_rechitiphi_05->Fill(iphi);
861  if (en>1.)
862  {
863  h_rechitieta_10->Fill(ieta);
864  h_rechitiphi_10->Fill(iphi);
865  if (en>2.5)
866  {
867  h_rechitieta_25->Fill(ieta);
868  h_rechitiphi_25->Fill(iphi);
869  if (en>10.)
870  {
871  h_rechitieta_100->Fill(ieta);
872  h_rechitiphi_100->Fill(iphi);
873  }
874  }
875  }
876  }
877 
878 
879 
880  HcalSubdetector subdet = id.subdet();
881  double fEta=fabs(0.5*(theHBHEEtaBounds[abs(ieta)-1]+theHBHEEtaBounds[abs(ieta)]));
882 
883  int calcEta = CalcEtaBin(subdet,ieta,depth);
884  int rbxindex=logicalMap_->getHcalFrontEndId(HBHEiter->detid()).rbxIndex();
885  int rm= logicalMap_->getHcalFrontEndId(HBHEiter->detid()).rm();
886 
887  // Fill HBHE flag plots
889  HBHEiter->flagField(HcalCaloFlagLabels::HBHEHpdHitMultiplicity));
890 
891  if (HBHEiter->flagField(HcalCaloFlagLabels::HBHEHpdHitMultiplicity))
892  {
893  h_FlagMap_HPDMULT->Fill(rbxindex,rm);
895  }
896  if (HBHEiter->flagField(HcalCaloFlagLabels::HBHEPulseShape))
897  {
898  h_FlagMap_PULSESHAPE->Fill(rbxindex,rm);
900  }
901  if (HBHEiter->flagField(HcalCaloFlagLabels::TimingSubtractedBit))
902  h_FlagMap_TIMESUBTRACT->Fill(rbxindex,rm);
903  else if (HBHEiter->flagField(HcalCaloFlagLabels::TimingAddedBit))
904  h_FlagMap_TIMEADD->Fill(rbxindex,rm);
905  else if (HBHEiter->flagField(HcalCaloFlagLabels::TimingErrorBit))
906  h_FlagMap_TIMEERROR->Fill(rbxindex,rm);
907 
908  if (subdet==HcalBarrel)
909  {
910  if (en>HBenergyThreshold_)
911  h_HBTimeVsEnergy->Fill(en,ti);
912  //Looping over HB searching for flags --- cris
913  for (int f=0;f<32;f++)
914  {
915  // Let's display HSCP just to see if these bits are set
916  /*
917  if (f == HcalCaloFlagLabels::HSCP_R1R2) continue;
918  if (f == HcalCaloFlagLabels::HSCP_FracLeader) continue;
919  if (f == HcalCaloFlagLabels::HSCP_OuterEnergy) continue;
920  if (f == HcalCaloFlagLabels::HSCP_ExpFit) continue;
921  */
922  if (HBHEiter->flagField(f))
923  ++HBflagcounter_[f];
924  }
925  ++occupancy_[calcEta][iphi-1][depth-1];
926  energy_[calcEta][iphi-1][depth-1]+=en;
927  energy2_[calcEta][iphi-1][depth-1]+=pow(en,2);
928  time_[calcEta][iphi-1][depth-1]+=ti;
929  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
930  h_HBTime->Fill(ti);
931  else
932  ++HBtime_[int(ti-RECHITMON_TIME_MIN)];
933  ++hbocc;
934 
935  // Threshold plots; require E> threshold and minbias trigger
936  if (
937  en>=HBenergyThreshold_ &&
938  en/cosh(fEta)>=HBETThreshold_
939  )
940  {
941  if (passedMinBiasHLT==true)
942  {
943  ++occupancy_thresh_[calcEta][iphi-1][depth-1];
944  energy_thresh_[calcEta][iphi-1][depth-1]+=en;
945  energy2_thresh_[calcEta][iphi-1][depth-1]+=pow(en,2);
946  time_thresh_[calcEta][iphi-1][depth-1]+=ti;
947 
948  ++hboccthresh;
949  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
950  h_HBThreshTime->Fill(ti);
951  else
953  }
954 
955  if (ieta>0)
956  {
957  HBePlus+=en;
958  HBtPlus+=ti*en;
959  hbpocc++;
960  }
961  else
962  {
963  HBeMinus+=en;
964  HBtMinus+=ti*en;
965  hbmocc++;
966  }
967  } // if (HB en>thresh, ET>thresh)
968  } // if (id.subdet()==HcalBarrel)
969 
970  else if (subdet==HcalEndcap)
971  {
972  if (en>HEenergyThreshold_)
973  h_HETimeVsEnergy->Fill(en,ti);
974  //Looping over HE searching for flags --- cris
975  for (int f=0;f<32;f++)
976  {
977  if (HBHEiter->flagField(f))
978  ++HEflagcounter_[f];
979  }
980 
981  ++occupancy_[calcEta][iphi-1][depth-1];
982  energy_[calcEta][iphi-1][depth-1]+=en;
983  energy2_[calcEta][iphi-1][depth-1]+=pow(en,2);
984  time_[calcEta][iphi-1][depth-1]+=ti;
985 
986  ++heocc;
987  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
988  h_HETime->Fill(ti);
989  else
990  ++HEtime_[int(ti-RECHITMON_TIME_MIN)];
991 
992  // Threshold plots require e>E_thresh, ET>ET_thresh
993  if (en>=HEenergyThreshold_
994  && en/cosh(fEta)>=HEETThreshold_
995  )
996  {
997  // occupancy plots also require passedMinBiasHLT
998  if (passedMinBiasHLT==true)
999  {
1000  ++occupancy_thresh_[calcEta][iphi-1][depth-1];
1001  energy_thresh_[calcEta][iphi-1][depth-1]+=en;
1002  energy2_thresh_[calcEta][iphi-1][depth-1]+=pow(en,2);
1003  time_thresh_[calcEta][iphi-1][depth-1]+=ti;
1004  ++heoccthresh;
1005  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
1006  h_HEThreshTime->Fill(ti);
1007  else
1009  }
1010  // ePlus, tPlus calculated regardless of trigger
1011  if (ieta>0)
1012  {
1013  HEePlus+=en;
1014  HEtPlus+=ti*en;
1015  hepocc++;
1016  }
1017  else
1018  {
1019  HEeMinus+=en;
1020  HEtMinus+=ti*en;
1021  hemocc++;
1022  }
1023  } // if (en>=HEenergyThreshold_ && ET>threshold)
1024 
1025  } // else if (id.subdet()==HcalEndcap)
1026 
1027  } //for (HBHERecHitCollection::const_iterator HBHEiter=...)
1028 
1029  // Calculate normalized time
1030  HEePlus>0 ? HEtPlus/=HEePlus : HEtPlus=10000;
1031  HEeMinus>0 ? HEtMinus/=HEeMinus : HEtMinus=-10000;
1032  HBePlus>0 ? HBtPlus/=HBePlus : HBtPlus=10000;
1033  HBeMinus>0 ? HBtMinus/=HBeMinus : HBtMinus=-10000;
1034 
1035  ++HB_occupancy_[hbocc/10];
1036  ++HE_occupancy_[heocc/10];
1037  ++HB_occupancy_thresh_[hboccthresh/10];
1038  ++HE_occupancy_thresh_[heoccthresh/10];
1039  h_HBsizeVsLS->Fill(currentLS,hbocc);
1040  h_HEsizeVsLS->Fill(currentLS,heocc);
1041 
1042  // loop over HO
1043 
1044  h_HOsizeVsLS->Fill(currentLS,hoHits.size());
1045  int hoocc=0;
1046  int hooccthresh=0;
1047  for (HORecHitCollection::const_iterator HOiter=hoHits.begin(); HOiter!=hoHits.end(); ++HOiter)
1048  { // loop over all hits
1049  float en = HOiter->energy();
1050  float ti = HOiter->time();
1051  if (en>HOenergyThreshold_)
1052  h_HOTimeVsEnergy->Fill(en,ti);
1053 
1054  HcalDetId id(HOiter->detid().rawId());
1055  int ieta = id.ieta();
1056  int iphi = id.iphi();
1057  int depth = id.depth();
1058 
1059  if (en>0.5)
1060  {
1061  h_rechitieta_05->Fill(ieta);
1062  h_rechitiphi_05->Fill(iphi);
1063  if (en>1.)
1064  {
1065  h_rechitieta_10->Fill(ieta);
1066  h_rechitiphi_10->Fill(iphi);
1067  if (en>2.5)
1068  {
1069  h_rechitieta_25->Fill(ieta);
1070  h_rechitiphi_25->Fill(iphi);
1071  if (en>10.)
1072  {
1073  h_rechitieta_100->Fill(ieta);
1074  h_rechitiphi_100->Fill(iphi);
1075  }
1076  }
1077  }
1078  }
1079 
1080 
1081 
1082  int calcEta = CalcEtaBin(HcalOuter,ieta,depth);
1083  double fEta=fabs(0.5*(theHBHEEtaBounds[abs(ieta)-1]+theHBHEEtaBounds[abs(ieta)]));
1084 
1085  int rbxindex=logicalMap_->getHcalFrontEndId(HOiter->detid()).rbxIndex();
1086  int rm= logicalMap_->getHcalFrontEndId(HOiter->detid()).rm();
1087 
1088  if (HOiter->flagField(HcalCaloFlagLabels::TimingSubtractedBit))
1089  h_FlagMap_TIMESUBTRACT->Fill(rbxindex,rm);
1090  else if (HOiter->flagField(HcalCaloFlagLabels::TimingAddedBit))
1091  h_FlagMap_TIMEADD->Fill(rbxindex,rm);
1092  else if (HOiter->flagField(HcalCaloFlagLabels::TimingErrorBit))
1093  h_FlagMap_TIMEERROR->Fill(rbxindex,rm);
1094 
1095 
1096  //Looping over HO searching for flags --- cris
1097  for (int f=0;f<32;f++)
1098  {
1099  if (HOiter->flagField(f))
1100  HOflagcounter_[f]++;
1101  }
1102 
1103  ++occupancy_[calcEta][iphi-1][depth-1];
1104  energy_[calcEta][iphi-1][depth-1]+=en;
1105  energy2_[calcEta][iphi-1][depth-1]+=pow(en,2);
1106  time_[calcEta][iphi-1][depth-1]+=ti;
1107  ++hoocc;
1108  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
1109  h_HOTime->Fill(ti);
1110  else
1111  ++HOtime_[int(ti-RECHITMON_TIME_MIN)];
1112 
1113  // We don't calculate HOplus/HOminus values (independent of trigger), so require min bias trigger
1114  // along with E, ET thresholds directly in this HO loop:
1115 
1116  if (en>=HOenergyThreshold_
1117  && en/cosh(fEta)>=HOETThreshold_
1118  && passedMinBiasHLT==true
1119  )
1120  {
1121  ++occupancy_thresh_[calcEta][iphi-1][depth-1];
1122  energy_thresh_[calcEta][iphi-1][depth-1]+=en;
1123  energy2_thresh_[calcEta][iphi-1][depth-1]+=pow(en,2);
1124  time_thresh_[calcEta][iphi-1][depth-1]+=ti;
1125 
1126  ++hooccthresh;
1127  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
1128  h_HOThreshTime->Fill(ti);
1129  else
1131  }
1132  } // loop over all HO hits
1133 
1134  ++HO_occupancy_[hoocc/10];
1135  ++HO_occupancy_thresh_[hooccthresh/10];
1136 
1137  // loop over HF
1138  h_HFsizeVsLS->Fill(currentLS,hfHits.size());
1139 
1140  HtPlus=0; HtMinus=0;
1141 
1142  int hfocc=0;
1143  int hfoccthresh=0;
1144  for (HFRecHitCollection::const_iterator HFiter=hfHits.begin(); HFiter!=hfHits.end(); ++HFiter)
1145  { // loop over all hits
1146  float en = HFiter->energy();
1147  float ti = HFiter->time();
1148  if (en> HFenergyThreshold_)
1149  h_HFTimeVsEnergy->Fill(en,ti);
1150 
1151  HcalDetId id(HFiter->detid().rawId());
1152  int ieta = id.ieta();
1153  int iphi = id.iphi();
1154  int depth = id.depth();
1155 
1156  if (en>0.5)
1157  {
1158  h_rechitieta_05->Fill(ieta);
1159  h_rechitiphi_05->Fill(iphi);
1160  if (en>1.)
1161  {
1162  h_rechitieta_10->Fill(ieta);
1163  h_rechitiphi_10->Fill(iphi);
1164  if (en>2.5)
1165  {
1166  h_rechitieta_25->Fill(ieta);
1167  h_rechitiphi_25->Fill(iphi);
1168  if (en>10.)
1169  {
1170  h_rechitieta_100->Fill(ieta);
1171  h_rechitiphi_100->Fill(iphi);
1172  }
1173  }
1174  }
1175  }
1176 
1177  double fEta=fabs(0.5*(theHFEtaBounds[abs(ieta)-29]+theHFEtaBounds[abs(ieta)-28]));
1178  int calcEta = CalcEtaBin(HcalForward,ieta,depth);
1179 
1180  int rbxindex=logicalMap_->getHcalFrontEndId(HFiter->detid()).rbxIndex();
1181  int rm= logicalMap_->getHcalFrontEndId(HFiter->detid()).rm();
1182 
1183  h_HF_FlagCorr->Fill(HFiter->flagField(HcalCaloFlagLabels::HFDigiTime),HFiter->flagField(HcalCaloFlagLabels::HFLongShort));
1184  if (HFiter->flagField(HcalCaloFlagLabels::TimingSubtractedBit))
1185  h_FlagMap_TIMESUBTRACT->Fill(rbxindex,rm);
1186  else if (HFiter->flagField(HcalCaloFlagLabels::TimingAddedBit))
1187  h_FlagMap_TIMEADD->Fill(rbxindex,rm);
1188  else if (HFiter->flagField(HcalCaloFlagLabels::TimingErrorBit))
1189  h_FlagMap_TIMEERROR->Fill(rbxindex,rm);
1190 
1191  if (HFiter->flagField(HcalCaloFlagLabels::HFDigiTime))
1192  {
1193  h_FlagMap_DIGITIME->Fill(rbxindex,rm);
1195  }
1196  if (HFiter->flagField(HcalCaloFlagLabels::HFLongShort))
1197  {
1198  h_FlagMap_LONGSHORT->Fill(rbxindex,rm);
1200  }
1201  //Looping over HF searching for flags --- cris
1202  for (int f=0;f<32;f++)
1203  {
1204  if (HFiter->flagField(f))
1205  HFflagcounter_[f]++;
1206  }
1207 
1208  // Occupancy plots, without threshold
1209  ++occupancy_[calcEta][iphi-1][depth-1];
1210  energy_[calcEta][iphi-1][depth-1]+=en;
1211  energy2_[calcEta][iphi-1][depth-1]+=pow(en,2);
1212  time_[calcEta][iphi-1][depth-1]+=ti;
1213  ++hfocc;
1214  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
1215  h_HFTime->Fill(ti);
1216  else
1217  ++HFtime_[int(ti-RECHITMON_TIME_MIN)];
1218 
1219  ieta>0 ? HtPlus+=en/cosh(fEta) : HtMinus+=en/cosh(fEta); // add energy from all cells, or only those > threshold?
1220 
1221  if (en>=HFenergyThreshold_ &&
1222  en/cosh(fEta)>=HFETThreshold_
1223  )
1224  {
1225  // Occupancy plots require min bias trigger, along with thresholds exceeded
1226  if (passedMinBiasHLT)
1227  {
1228  ++occupancy_thresh_[calcEta][iphi-1][depth-1];
1229  energy_thresh_[calcEta][iphi-1][depth-1]+=en;
1230  energy2_thresh_[calcEta][iphi-1][depth-1]+=pow(en,2);
1231  time_thresh_[calcEta][iphi-1][depth-1]+=ti;
1232 
1233  ++hfoccthresh;
1234  if (ti<RECHITMON_TIME_MIN || ti>RECHITMON_TIME_MAX)
1235  h_HFThreshTime->Fill(ti);
1236  else
1238  }
1239 
1240  if (ieta>0)
1241  {
1242  HFtPlus+=en*ti;
1243  HFePlus+=en;
1244  hfpocc++;
1245  }
1246  else if (ieta<0)
1247  {
1248  HFtMinus+=en*ti;
1249  HFeMinus+=en;
1250  hfmocc++;
1251  }
1252  } // if (en>thresh, ET>thresh)
1253  } // loop over all HF hits
1254 
1255  ++HF_occupancy_[hfocc/10];
1256  ++HF_occupancy_thresh_[hfoccthresh/10];
1257 
1258 
1259  // Form event-wide variables (time averages, etc.), and plot them
1260 
1261  // Calculate weighted times. (Set tPlus, tMinus to overflow in case where total energy < 0)
1262  HFePlus>0 ? HFtPlus/=HFePlus : HFtPlus = 10000;
1263  HFeMinus>0 ? HFtMinus/=HFeMinus : HFtMinus = -10000;
1264 
1265  double mintime=99; // used to be min(tPlus,tMinus);
1266  double minHT=std::min(HtMinus,HtPlus);
1267  minHT==HtMinus ? mintime=HFtMinus : mintime = HFtPlus;
1268  //mintime = min(HFtPlus,HFtMinus); // I think we might want to use this value for mintime?
1269 
1270 
1271  h_LumiPlot_MinTime_vs_MinHT->Fill(minHT, mintime);
1272  h_LumiPlot_timeHT_HFM->Fill(HtMinus,HFtMinus);
1273  h_LumiPlot_timeHT_HFP->Fill(HtPlus,HFtPlus);
1274 
1275  if (passedMinBiasHLT==true)
1276  {
1277  h_LumiPlot_SumHT_HFPlus_vs_HFMinus->Fill(HtMinus,HtPlus);
1278  // HtMinus, HtPlus require no energy cuts for their contributing cells
1279  // HFeMinus, HFePlus require that cells be > threshold cut
1280 
1281  if (HtMinus>1 && HtPlus > 1) // is this the condition we want, or do we want hfmocc>0 && hfpocc >0?
1282  {
1283  h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus->Fill(HFeMinus,HFePlus);
1284  h_LumiPlot_timeHFPlus_vs_timeHFMinus->Fill(HFtMinus,HFtPlus);
1285 
1286  h_HFP_weightedTime->Fill(HFtPlus);
1287  h_HFM_weightedTime->Fill(HFtMinus);
1288  h_HBP_weightedTime->Fill(HBtPlus);
1289  h_HBM_weightedTime->Fill(HBtMinus);
1290 
1291  h_HEP_weightedTime->Fill(HEtPlus);
1292  h_HEM_weightedTime->Fill(HEtMinus);
1293 
1294  if (hepocc>0 && hemocc>0)
1295  {
1296  h_HEtimedifference->Fill(HEtPlus-HEtMinus);
1297  if (HEePlus-HEeMinus!=0) h_HEenergydifference->Fill((HEePlus-HEeMinus)/(HEePlus+HEeMinus));
1298  }
1299  if (hfpocc>0 && hfmocc>0) // which condition do we want?
1300  {
1301  h_HFtimedifference->Fill((HFtPlus)-(HFtMinus));
1302  if (HFePlus+HFeMinus!=0) h_HFenergydifference->Fill((HFePlus-HFeMinus)/(HFePlus+HFeMinus));
1303  }
1304 
1307  if (fabs(HFtPlus-HFtMinus)<timediffThresh_)
1308  {
1311  }
1312 
1313  HFP_HFM_Energy->Fill(HFeMinus/1000., HFePlus/1000.);
1314  }
1315 
1316  if (debug_>1) std::cout <<"\t<HcalRecHitMonitor:: HF averages> TPLUS = "<<HFtPlus<<" EPLUS = "<<HFePlus<<" TMINUS = "<<HFtMinus<<" EMINUS = "<<HFeMinus<<" Weighted Time Diff = "<<((HFtPlus)-(HFtMinus))<<std::endl;
1317 
1318 
1319  } // if (passedMinBiasHLT)
1320 
1321  if (passedHcalHLT && HtMinus>1 && HtPlus> 1 )
1322  {
1323  if (hfpocc>0 && hfmocc>0)
1324  {
1325  h_HF_HcalHLT_weightedtimedifference->Fill(HFtPlus-HFtMinus);
1326  if (HFePlus+HFeMinus!=0) h_HF_HcalHLT_energydifference->Fill((HFePlus-HFeMinus)/(HFePlus+HFeMinus));
1327  }
1328  if (hepocc>0 && hemocc>0)
1329  {
1330  h_HE_HcalHLT_weightedtimedifference->Fill(HEtPlus-HEtMinus);
1331  if (HEePlus-HEeMinus!=0) h_HE_HcalHLT_energydifference->Fill((HEePlus-HEeMinus)/(HEePlus+HEeMinus));
1332  }
1333 
1336  if (fabs(HFtPlus-HFtMinus)<timediffThresh_)
1337  {
1340  }
1341  } // passsed Hcal HLT
1342 
1343  return;
1344 } // void HcalRecHitMonitor::processEvent_rechitenergy
MonitorElement * h_rechitieta_100
double time_[85][72][4]
double HB_occupancy_[260]
int i
Definition: DBlmapReader.cc:9
MonitorElement * h_HOThreshTime
MonitorElement * h_HFP_weightedTime
MonitorElement * h_HFLongShort_vs_LS
MonitorElement * h_HFtimedifference
MonitorElement * h_LumiPlot_timeHT_HFP
MonitorElement * h_HBHE_FlagCorr
MonitorElement * h_HBsizeVsLS
MonitorElement * h_LumiPlot_MinTime_vs_MinHT
EtaPhiHists OccupancyThreshByDepth
double HFtime_thresh_[250--250]
double HOtime_thresh_[250--250]
MonitorElement * h_HF_HcalHLT_weightedtimedifference
double HBtime_thresh_[250--250]
double HF_occupancy_thresh_[174]
MonitorElement * h_HBThreshTime
MonitorElement * h_FlagMap_PULSESHAPE
MonitorElement * h_HBHEPulseShape_vs_LS
MonitorElement * h_HF_FlagCorr
MonitorElement * h_HOflagcounter
MonitorElement * h_rechitiphi_05
MonitorElement * h_rechitieta_10
double HO_occupancy_thresh_[218]
MonitorElement * h_LumiPlot_timeHFPlus_vs_timeHFMinus
MonitorElement * h_HFThreshTime
MonitorElement * h_rechitieta_25
std::vector< HBHERecHit >::const_iterator const_iterator
MonitorElement * h_rechitiphi_10
MonitorElement * h_HFTime
double HBtime_[250--250]
MonitorElement * h_FlagMap_TIMEADD
MonitorElement * h_LumiPlot_LS_MinBiasEvents
double HEtime_thresh_[250--250]
MonitorElement * h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
double HF_occupancy_[174]
MonitorElement * h_HFflagcounter
MonitorElement * h_HFM_weightedTime
void update(void)
Mark the object updated.
MonitorElement * h_HBTimeVsEnergy
MonitorElement * h_HEtimedifference
MonitorElement * h_HEM_weightedTime
MonitorElement * h_HE_HcalHLT_weightedtimedifference
MonitorElement * h_FlagMap_TIMEERROR
MonitorElement * h_HF_HcalHLT_energydifference
EtaPhiHists SumEnergyByDepth
double HE_occupancy_thresh_[260]
unsigned int occupancy_[85][72][4]
MonitorElement * h_rechitiphi_100
void Fill(long long x)
MonitorElement * h_HETime
EtaPhiHists OccupancyByDepth
MonitorElement * h_HFenergydifference
double time_thresh_[85][72][4]
MonitorElement * h_HEsizeVsLS
MonitorElement * h_LumiPlot_BX_MinBiasEvents_notimecut
MonitorElement * h_HOsizeVsLS
std::vector< MonitorElement * > depth
MonitorElement * h_LumiPlot_BX_HcalHLTEvents_notimecut
EtaPhiHists SumTimeByDepth
unsigned int occupancy_thresh_[85][72][4]
HcalLogicalMap * logicalMap_
MonitorElement * h_HETimeVsEnergy
MonitorElement * h_HEenergydifference
string rm
Definition: submit.py:76
MonitorElement * h_HFTimeVsEnergy
int ieta() const
get the cell ieta
Definition: HcalDetId.h:36
HcalSubdetector
Definition: HcalAssistant.h:31
MonitorElement * h_LumiPlot_BX_HcalHLTEvents
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * h_HBM_weightedTime
double f[11][100]
MonitorElement * h_HFsizeVsLS
EtaPhiHists SqrtSumEnergy2ByDepth
T min(T a, T b)
Definition: MathUtil.h:58
MonitorElement * h_HFDigiTime_vs_LS
MonitorElement * h_HBHEHPDMult_vs_LS
double energy2_[85][72][4]
double HFtime_[250--250]
MonitorElement * h_HOTime
MonitorElement * h_rechitiphi_25
const_iterator end() const
MonitorElement * h_FlagMap_TIMESUBTRACT
const HcalFrontEndId getHcalFrontEndId(const DetId &)
double energy2_thresh_[85][72][4]
MonitorElement * h_HEP_weightedTime
MonitorElement * h_FlagMap_LONGSHORT
double HOtime_[250--250]
double energy_thresh_[85][72][4]
static const double theHFEtaBounds[]
MonitorElement * h_HE_HcalHLT_energydifference
double HEtime_[250--250]
MonitorElement * h_LumiPlot_LS_MinBiasEvents_notimecut
int CalcEtaBin(int subdet, int ieta, int depth)
MonitorElement * h_rechitieta_05
#define RECHITMON_TIME_MIN
MonitorElement * h_HEflagcounter
MonitorElement * h_HBTime
size_type size() const
MonitorElement * h_HBP_weightedTime
double HB_occupancy_thresh_[260]
MonitorElement * h_LumiPlot_BX_MinBiasEvents
MonitorElement * h_FlagMap_HPDMULT
#define RECHITMON_TIME_MAX
MonitorElement * h_HOTimeVsEnergy
MonitorElement * h_HEThreshTime
tuple cout
Definition: gather_cfg.py:121
double HE_occupancy_[260]
MonitorElement * h_LumiPlot_LS_HcalHLTEvents_notimecut
MonitorElement * h_LumiPlot_LS_HcalHLTEvents
static const double theHBHEEtaBounds[]
MonitorElement * HFP_HFM_Energy
double HO_occupancy_[218]
MonitorElement * h_FlagMap_DIGITIME
MonitorElement * h_LumiPlot_timeHT_HFM
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
MonitorElement * h_HBflagcounter
const_iterator begin() const
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
double energy_[85][72][4]
void HcalRecHitMonitor::reset ( void  )
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 541 of file HcalRecHitMonitor.cc.

References h_FlagMap_DIGITIME, h_FlagMap_HPDMULT, h_FlagMap_LONGSHORT, h_FlagMap_PULSESHAPE, h_FlagMap_TIMEADD, h_FlagMap_TIMEERROR, h_FlagMap_TIMESUBTRACT, h_HBflagcounter, h_HBHE_FlagCorr, h_HBHEHPDMult_vs_LS, h_HBHEPulseShape_vs_LS, h_HBM_weightedTime, h_HBOccupancy, h_HBP_weightedTime, h_HBsizeVsLS, h_HBThreshOccupancy, h_HBThreshTime, h_HBTime, h_HBTimeVsEnergy, h_HE_HcalHLT_energydifference, h_HE_HcalHLT_weightedtimedifference, h_HEenergydifference, h_HEflagcounter, h_HEM_weightedTime, h_HEOccupancy, h_HEP_weightedTime, h_HEsizeVsLS, h_HEThreshOccupancy, h_HEThreshTime, h_HETime, h_HEtimedifference, h_HETimeVsEnergy, h_HF_FlagCorr, h_HF_HcalHLT_energydifference, h_HF_HcalHLT_weightedtimedifference, h_HFDigiTime_vs_LS, h_HFenergydifference, h_HFflagcounter, h_HFLongShort_vs_LS, h_HFM_weightedTime, h_HFOccupancy, h_HFP_weightedTime, h_HFsizeVsLS, h_HFThreshOccupancy, h_HFThreshTime, h_HFTime, h_HFtimedifference, h_HFTimeVsEnergy, h_HOflagcounter, h_HOOccupancy, h_HOsizeVsLS, h_HOThreshOccupancy, h_HOThreshTime, h_HOTime, h_HOTimeVsEnergy, h_LumiPlot_BX_allevents, h_LumiPlot_BX_HcalHLTEvents, h_LumiPlot_BX_HcalHLTEvents_notimecut, h_LumiPlot_BX_MinBiasEvents, h_LumiPlot_BX_MinBiasEvents_notimecut, h_LumiPlot_LS_allevents, h_LumiPlot_LS_HcalHLTEvents, h_LumiPlot_LS_HcalHLTEvents_notimecut, h_LumiPlot_LS_MinBiasEvents, h_LumiPlot_LS_MinBiasEvents_notimecut, h_LumiPlot_MinTime_vs_MinHT, h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus, h_LumiPlot_SumHT_HFPlus_vs_HFMinus, h_LumiPlot_timeHFPlus_vs_timeHFMinus, h_LumiPlot_timeHT_HFM, h_LumiPlot_timeHT_HFP, h_rechitieta, h_rechitieta_05, h_rechitieta_10, h_rechitieta_100, h_rechitieta_25, h_rechitieta_thresh, h_rechitiphi, h_rechitiphi_05, h_rechitiphi_10, h_rechitiphi_100, h_rechitiphi_25, h_rechitiphi_thresh, h_TriggeredEvents, HFP_HFM_Energy, and MonitorElement::Reset().

Referenced by bookHistograms(), and setup().

542 {
543  // REIMPLEMENT FUNCTIONALITY WITHOUT USING GETTER
544  /*std::vector<MonitorElement*> hists = dbe_->getAllContents(subdir_);
545  for (unsigned int i=0;i<hists.size();++i)
546  {
547  if (hists[i]->kind()==MonitorElement::DQM_KIND_TH1F ||
548  hists[i]->kind()==MonitorElement::DQM_KIND_TH2F ||
549  hists[i]->kind()==MonitorElement::DQM_KIND_TPROFILE)
550  hists[i]->Reset();
551  }*/
552 
553  h_rechitieta->Reset();
554  h_rechitiphi->Reset();
555 
564 
567 
568  h_HBsizeVsLS->Reset();
569  h_HEsizeVsLS->Reset();
570  h_HOsizeVsLS->Reset();
571  h_HFsizeVsLS->Reset();
572 
573  h_HBTime->Reset();
575  h_HBOccupancy->Reset();
577 
578  h_HETime->Reset();
580  h_HEOccupancy->Reset();
582 
583  h_HOTime->Reset();
585  h_HOOccupancy->Reset();
587 
588  h_HFTime->Reset();
590  h_HFOccupancy->Reset();
592 
597 
605 
610 
611  h_HF_FlagCorr->Reset();
613 
618 
623 
629 
632 
634 
640 
644 
652 
658 
659 
660 }
MonitorElement * h_rechitieta_100
MonitorElement * h_HOThreshTime
MonitorElement * h_HFP_weightedTime
MonitorElement * h_HFLongShort_vs_LS
MonitorElement * h_HFtimedifference
MonitorElement * h_LumiPlot_timeHT_HFP
MonitorElement * h_HBHE_FlagCorr
MonitorElement * h_HBsizeVsLS
MonitorElement * h_LumiPlot_MinTime_vs_MinHT
MonitorElement * h_HF_HcalHLT_weightedtimedifference
MonitorElement * h_HBThreshTime
MonitorElement * h_FlagMap_PULSESHAPE
MonitorElement * h_HBHEPulseShape_vs_LS
MonitorElement * h_HF_FlagCorr
MonitorElement * h_HOflagcounter
MonitorElement * h_rechitiphi_05
MonitorElement * h_rechitieta_10
MonitorElement * h_LumiPlot_timeHFPlus_vs_timeHFMinus
MonitorElement * h_HFThreshTime
MonitorElement * h_rechitieta_25
MonitorElement * h_rechitiphi_10
MonitorElement * h_HFTime
MonitorElement * h_HFThreshOccupancy
MonitorElement * h_FlagMap_TIMEADD
MonitorElement * h_LumiPlot_LS_MinBiasEvents
MonitorElement * h_rechitieta
MonitorElement * h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
MonitorElement * h_HFflagcounter
MonitorElement * h_HFM_weightedTime
MonitorElement * h_HBTimeVsEnergy
MonitorElement * h_HEOccupancy
MonitorElement * h_LumiPlot_LS_allevents
MonitorElement * h_HEtimedifference
MonitorElement * h_HEM_weightedTime
MonitorElement * h_HE_HcalHLT_weightedtimedifference
MonitorElement * h_FlagMap_TIMEERROR
MonitorElement * h_HF_HcalHLT_energydifference
MonitorElement * h_HOThreshOccupancy
MonitorElement * h_rechitiphi_100
MonitorElement * h_HETime
MonitorElement * h_rechitieta_thresh
MonitorElement * h_HOOccupancy
MonitorElement * h_HFenergydifference
MonitorElement * h_HEsizeVsLS
MonitorElement * h_LumiPlot_BX_MinBiasEvents_notimecut
MonitorElement * h_HOsizeVsLS
MonitorElement * h_LumiPlot_BX_HcalHLTEvents_notimecut
MonitorElement * h_HETimeVsEnergy
MonitorElement * h_HEenergydifference
MonitorElement * h_HFTimeVsEnergy
MonitorElement * h_LumiPlot_BX_HcalHLTEvents
MonitorElement * h_HBM_weightedTime
MonitorElement * h_HFsizeVsLS
MonitorElement * h_HBOccupancy
MonitorElement * h_HFDigiTime_vs_LS
MonitorElement * h_HBHEHPDMult_vs_LS
MonitorElement * h_HOTime
MonitorElement * h_rechitiphi_25
MonitorElement * h_FlagMap_TIMESUBTRACT
MonitorElement * h_HEP_weightedTime
MonitorElement * h_FlagMap_LONGSHORT
MonitorElement * h_LumiPlot_BX_allevents
MonitorElement * h_HBThreshOccupancy
MonitorElement * h_HE_HcalHLT_energydifference
MonitorElement * h_rechitiphi
MonitorElement * h_LumiPlot_LS_MinBiasEvents_notimecut
MonitorElement * h_HFOccupancy
MonitorElement * h_rechitieta_05
MonitorElement * h_HEflagcounter
MonitorElement * h_HBTime
MonitorElement * h_rechitiphi_thresh
MonitorElement * h_HBP_weightedTime
MonitorElement * h_LumiPlot_BX_MinBiasEvents
MonitorElement * h_FlagMap_HPDMULT
MonitorElement * h_HOTimeVsEnergy
MonitorElement * h_HEThreshTime
MonitorElement * h_HEThreshOccupancy
MonitorElement * h_LumiPlot_LS_HcalHLTEvents_notimecut
MonitorElement * h_LumiPlot_LS_HcalHLTEvents
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * HFP_HFM_Energy
MonitorElement * h_FlagMap_DIGITIME
MonitorElement * h_LumiPlot_timeHT_HFM
MonitorElement * h_HBflagcounter
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
void HcalRecHitMonitor::setup ( DQMStore::IBooker ib)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 77 of file HcalRecHitMonitor.cc.

References HcalCaloFlagLabels::ADCSaturationBit, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), DQMStore::IBooker::bookProfile(), gather_cfg::cout, HcalBaseDQMonitor::debug_, MonitorElement::Fill(), HcalCaloFlagLabels::Fraction2TS, MonitorElement::getTH1F(), h_FlagMap_DIGITIME, h_FlagMap_HPDMULT, h_FlagMap_LONGSHORT, h_FlagMap_PULSESHAPE, h_FlagMap_TIMEADD, h_FlagMap_TIMEERROR, h_FlagMap_TIMESUBTRACT, h_HBflagcounter, h_HBHE_FlagCorr, h_HBHEHPDMult_vs_LS, h_HBHEPulseShape_vs_LS, h_HBM_weightedTime, h_HBOccupancy, h_HBP_weightedTime, h_HBsizeVsLS, h_HBThreshOccupancy, h_HBThreshTime, h_HBTime, h_HBTimeVsEnergy, h_HE_HcalHLT_energydifference, h_HE_HcalHLT_weightedtimedifference, h_HEenergydifference, h_HEflagcounter, h_HEM_weightedTime, h_HEOccupancy, h_HEP_weightedTime, h_HEsizeVsLS, h_HEThreshOccupancy, h_HEThreshTime, h_HETime, h_HEtimedifference, h_HETimeVsEnergy, h_HF_FlagCorr, h_HF_HcalHLT_energydifference, h_HF_HcalHLT_weightedtimedifference, h_HFDigiTime_vs_LS, h_HFenergydifference, h_HFflagcounter, h_HFLongShort_vs_LS, h_HFM_weightedTime, h_HFOccupancy, h_HFP_weightedTime, h_HFsizeVsLS, h_HFThreshOccupancy, h_HFThreshTime, h_HFTime, h_HFtimedifference, h_HFTimeVsEnergy, h_HOflagcounter, h_HOOccupancy, h_HOsizeVsLS, h_HOThreshOccupancy, h_HOThreshTime, h_HOTime, h_HOTimeVsEnergy, h_LumiPlot_BX_allevents, h_LumiPlot_BX_HcalHLTEvents, h_LumiPlot_BX_HcalHLTEvents_notimecut, h_LumiPlot_BX_MinBiasEvents, h_LumiPlot_BX_MinBiasEvents_notimecut, h_LumiPlot_LS_allevents, h_LumiPlot_LS_HcalHLTEvents, h_LumiPlot_LS_HcalHLTEvents_notimecut, h_LumiPlot_LS_MinBiasEvents, h_LumiPlot_LS_MinBiasEvents_notimecut, h_LumiPlot_MinTime_vs_MinHT, h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus, h_LumiPlot_SumHT_HFPlus_vs_HFMinus, h_LumiPlot_timeHFPlus_vs_timeHFMinus, h_LumiPlot_timeHT_HFM, h_LumiPlot_timeHT_HFP, h_rechitieta, h_rechitieta_05, h_rechitieta_10, h_rechitieta_100, h_rechitieta_25, h_rechitieta_thresh, h_rechitiphi, h_rechitiphi_05, h_rechitiphi_10, h_rechitiphi_100, h_rechitiphi_25, h_rechitiphi_thresh, h_TriggeredEvents, HBenergyThreshold_, HBETThreshold_, HcalCaloFlagLabels::HBHEHpdHitMultiplicity, HcalCaloFlagLabels::HBHEPulseShape, HcalCaloFlagLabels::HBHETimingShapedCutsBits, HcalCaloFlagLabels::HBHETimingTrustBits, HEenergyThreshold_, HEETThreshold_, HcalCaloFlagLabels::HFDigiTime, HFenergyThreshold_, HFETThreshold_, HcalCaloFlagLabels::HFLongShort, HFP_HFM_Energy, HcalCaloFlagLabels::HFTimingTrustBits, HOenergyThreshold_, HOETThreshold_, HcalCaloFlagLabels::HSCP_ExpFit, HcalCaloFlagLabels::HSCP_FracLeader, HcalCaloFlagLabels::HSCP_OuterEnergy, HcalCaloFlagLabels::HSCP_R1R2, HcalBaseDQMonitor::NLumiBlocks_, OccupancyByDepth, OccupancyThreshByDepth, RECHITMON_TIME_MAX, RECHITMON_TIME_MIN, reset(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), HcalBaseDQMonitor::setup(), setupDone_, HcalBaseDQMonitor::SetupEtaPhiHists(), SqrtSumEnergy2ByDepth, SqrtSumEnergy2ThreshByDepth, HcalBaseDQMonitor::subdir_, SumEnergyByDepth, SumEnergyThreshByDepth, SumTimeByDepth, SumTimeThreshByDepth, timediffThresh_, HcalCaloFlagLabels::TimingAddedBit, HcalCaloFlagLabels::TimingErrorBit, HcalCaloFlagLabels::TimingSubtractedBit, and zeroCounters().

Referenced by bookHistograms().

78 {
79 
80  if (setupDone_)
81  {
82  // Always do a zeroing/resetting so that empty histograms/counter
83  // will always appear.
84 
85  // clear all counters, reset histograms
86  this->zeroCounters();
87  this->reset();
88  return;
89  }
90  else
91  setupDone_=true;
92 
94 
95 
96  if (debug_>0)
97  std::cout <<"<HcalRecHitMonitor::setup> Setting up histograms"<<std::endl;
98 
99  // RecHit Monitor - specific cfg variables
100 
101  if (debug_>1)
102  std::cout <<"<HcalRecHitMonitor::setup> Creating Histograms"<<std::endl;
103 
105  h_TriggeredEvents=ib.book1D("EventTriggers","EventTriggers",3,-0.5,2.5);
106  h_TriggeredEvents->setBinLabel(1,"AllEvents");
107  h_TriggeredEvents->setBinLabel(2,"HLT_Minbias");
108  h_TriggeredEvents->setBinLabel(3,"HLT_Hcal");
109 
110  ib.setCurrentFolder(subdir_+"rechit_parameters");
111  MonitorElement* THR;
112  ib.setCurrentFolder(subdir_+"rechit_parameters/thresholds");
113  THR=ib.bookFloat("HB_Rechit_Energy_Threshold");
114  THR->Fill(HBenergyThreshold_);
115  THR=ib.bookFloat("HE_Rechit_Energy_Threshold");
116  THR->Fill(HEenergyThreshold_);
117  THR=ib.bookFloat("HO_Rechit_Energy_Threshold");
118  THR->Fill(HOenergyThreshold_);
119  THR=ib.bookFloat("HF_Rechit_Energy_Threshold");
120  THR->Fill(HFenergyThreshold_);
121  THR=ib.bookFloat("HB_Rechit_ET_Threshold");
122  THR->Fill(HBETThreshold_);
123  THR=ib.bookFloat("HE_Rechit_ET_Threshold");
124  THR->Fill(HEETThreshold_);
125  THR=ib.bookFloat("HO_Rechit_ET_Threshold");
126  THR->Fill(HOETThreshold_);
127  THR=ib.bookFloat("HF_Rechit_ET_Threshold");
128  THR->Fill(HFETThreshold_);
129  THR=ib.bookFloat("Maximum_HFM_HFP_time_difference_for_luminosityplots");
130  THR->Fill(timediffThresh_);
131 
132 
133  // Set up histograms that are filled by all rechits
134  ib.setCurrentFolder(subdir_+"Distributions_AllRecHits");
135  SetupEtaPhiHists(ib,OccupancyByDepth,"RecHit Occupancy","");
136  h_rechitieta = ib.book1D("HcalRecHitIeta",
137  "Hcal RecHit ieta",
138  83,-41.5,41.5);
139  h_rechitiphi = ib.book1D("HcalRecHitIphi",
140  "Hcal RecHit iphi",
141  72,0.5,72.5);
142 
143  h_rechitieta_05 = ib.book1D("HcalRecHitIeta05",
144  "Hcal RecHit ieta E>0.5 GeV",
145  83,-41.5,41.5);
146  h_rechitiphi_05 = ib.book1D("HcalRecHitIphi05",
147  "Hcal RecHit iphi E>0.5 GeV",
148  72,0.5,72.5);
149  h_rechitieta_10 = ib.book1D("HcalRecHitIeta10",
150  "Hcal RecHit ieta E>1.0 GeV",
151  83,-41.5,41.5);
152  h_rechitiphi_10 = ib.book1D("HcalRecHitIphi10",
153  "Hcal RecHit iphi E>1.0 GeV",
154  72,0.5,72.5);
155  h_rechitieta_25 = ib.book1D("HcalRecHitIeta25",
156  "Hcal RecHit ieta E>2.5 GeV",
157  83,-41.5,41.5);
158  h_rechitiphi_25 = ib.book1D("HcalRecHitIphi25",
159  "Hcal RecHit iphi E>2.5 GeV",
160  72,0.5,72.5);
161  h_rechitieta_100 = ib.book1D("HcalRecHitIeta100",
162  "Hcal RecHit ieta E>10.0 GeV",
163  83,-41.5,41.5);
164  h_rechitiphi_100 = ib.book1D("HcalRecHitIphi100",
165  "Hcal RecHit iphi E>10.0 GeV",
166  72,0.5,72.5);
167 
168 
169 
170  h_LumiPlot_LS_allevents = ib.book1D("AllEventsPerLS",
171  "LS # of all events",
172  NLumiBlocks_,0.5,NLumiBlocks_+0.5);
173  h_LumiPlot_BX_allevents = ib.book1D("BX_allevents",
174  "BX # of all events",
175  3600,0,3600);
176  h_LumiPlot_MinTime_vs_MinHT = ib.book2D("MinTime_vs_MinSumET",
177  "Energy-Weighted Time vs Min (HF+,HF-) Scalar Sum ET;min Sum ET(GeV);time(ns)",
178  100,0,10,80,-40,40);
179 
180  h_LumiPlot_timeHT_HFM = ib.book2D("HFM_Time_vs_SumET",
181  "Energy-Weighted Time vs HFMinus Scalar Sum ET;Sum ET(GeV);time(ns)",
182  100,0,10,80,-40,40);
183 
184  h_LumiPlot_timeHT_HFP = ib.book2D("HFP_Time_vs_SumET",
185  "Energy-Weighted Time vs HFPlus Scalar Sum ET;Sum ET(GeV);time(ns)",
186  100,0,10,80,-40,40);
187 
188 
189  ib.setCurrentFolder(subdir_+"Distributions_AllRecHits/sumplots");
190  SetupEtaPhiHists(ib,SumEnergyByDepth,"RecHit Summed Energy","GeV");
191  SetupEtaPhiHists(ib,SqrtSumEnergy2ByDepth,"RecHit Sqrt Summed Energy2","GeV");
192  SetupEtaPhiHists(ib,SumTimeByDepth,"RecHit Summed Time","nS");
193 
194  // Histograms for events that passed MinBias triggers
195  ib.setCurrentFolder(subdir_+"Distributions_PassedMinBias");
196 
197  h_HBP_weightedTime = ib.book1D("WeightedTime_HBP","Weighted Time for HBP",
198  300,-150,150);
199  h_HBM_weightedTime = ib.book1D("WeightedTime_HBM","Weighted Time for HBM",
200  300,-150,150);
201  h_HEP_weightedTime = ib.book1D("WeightedTime_HEP","Weighted Time for HEP",
202  300,-150,150);
203  h_HEM_weightedTime = ib.book1D("WeightedTime_HEM","Weighted Time for HEM",
204  300,-150,150);
205  h_HFP_weightedTime = ib.book1D("WeightedTime_HFP","Weighted Time for HFP",
206  300,-150,150);
207  h_HFM_weightedTime = ib.book1D("WeightedTime_HFM","Weighted Time for HFM",
208  300,-150,150);
209 
210  h_HFtimedifference = ib.book1D("HFweightedtimeDifference",
211  "Energy-Weighted time difference between HF+ and HF- passing MinBias (no HT cut)",
212  251,-250.5,250.5);
213  h_HEtimedifference = ib.book1D("HEweightedtimeDifference",
214  "Energy-Weighted time difference between HE+ and HE- passing MinBias (no HT cut)",
215  251,-250.5,250.5);
216 
217  HFP_HFM_Energy = ib.book2D("HFP_HFM_Energy",
218  "HFP VS HFM Energy; Total Energy in HFMinus (TeV); Total Energy in HFPlus (TeV)",
219  100,0,100, 100,0,100);
220 
221  // Would these work better as 2D plots?
222  h_HFenergydifference = ib.book1D("HFenergyDifference",
223  "Sum(E_HFPlus - E_HFMinus)/Sum(E_HFPlus + E_HFMinus)",
224  200,-1,1);
225  h_HEenergydifference = ib.book1D("HEenergyDifference",
226  "Sum(E_HEPlus - E_HEMinus)/Sum(E_HEPlus + E_HEMinus)",
227  200,-1,1);
228 
229  h_LumiPlot_LS_MinBiasEvents=ib.book1D("MinBiasEventsPerLS",
230  "Number of MinBias Events vs LS (HT cut and HFM-HFP time cut)",
231  NLumiBlocks_/10,0.5,NLumiBlocks_+0.5);
232  h_LumiPlot_LS_MinBiasEvents_notimecut=ib.book1D("MinBiasEventsPerLS_notimecut",
233  "Number of Events with MinBias vs LS (HFM,HFP HT>1,no time cut)",
234  NLumiBlocks_/10,0.5,NLumiBlocks_+0.5);
235 
236  h_LumiPlot_SumHT_HFPlus_vs_HFMinus = ib.book2D("SumHT_plus_minus",
237  "HF+ Sum HT vs HF- Sum HT",60,0,30,60,0,30);
238  h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus = ib.book2D("SumEnergy_plus_minus",
239  "HF+ Sum Energy vs HF- Sum Energy",
240  60,0,150,60,0,150);
241  h_LumiPlot_timeHFPlus_vs_timeHFMinus = ib.book2D("timeHFplus_vs_timeHFminus",
242  "Energy-weighted time average of HF+ vs HF-",
243  60,-60,60,60,-60,60);
244  h_LumiPlot_BX_MinBiasEvents = ib.book1D("BX_MinBias_Events_TimeCut",
245  "BX # of MinBias events (HFM & HFP HT>1 & HFM-HFP time cut)",
246  3600,0,3600);
247  h_LumiPlot_BX_MinBiasEvents_notimecut = ib.book1D("BX_MinBias_Events_notimecut",
248  "BX # of MinBias events (HFM,HFP HT>1, no time cut)",
249  3600,0,3600);
250  // threshold plots must pass MinBias Trigger
251  SetupEtaPhiHists(ib,OccupancyThreshByDepth,"Above Threshold RecHit Occupancy","");
252  h_rechitieta_thresh = ib.book1D("HcalRecHitIeta_thresh",
253  "Hcal RecHit ieta above energy and ET threshold",
254  83,-41.5,41.5);
255  h_rechitiphi_thresh = ib.book1D("HcalRecHitIphi_thresh",
256  "Hcal RecHit iphi above energy and ET threshold",
257  72,0.5,72.5);
258 
259  ib.setCurrentFolder(subdir_+"Distributions_PassedMinBias/sumplots");
260  SetupEtaPhiHists(ib,SumEnergyThreshByDepth,"Above Threshold RecHit Summed Energy","GeV");
261  SetupEtaPhiHists(ib,SumTimeThreshByDepth,"Above Threshold RecHit Summed Time","nS");
262  SetupEtaPhiHists(ib,SqrtSumEnergy2ThreshByDepth,"Above Threshold RecHit Sqrt Summed Energy2","GeV");
263 
264  ib.setCurrentFolder(subdir_+"Distributions_PassedMinBias/rechit_1D_plots");
265  h_HBThreshTime=ib.book1D("HB_time_thresh",
266  "HB RecHit Time Above Threshold",
268  h_HBThreshOccupancy=ib.book1D("HB_occupancy_thresh",
269  "HB RecHit Occupancy Above Threshold",260,-0.5,2599.5);
270  h_HEThreshTime=ib.book1D("HE_time_thresh",
271  "HE RecHit Time Above Threshold",
273  h_HEThreshOccupancy=ib.book1D("HE_occupancy_thresh",
274  "HE RecHit Occupancy Above Threshold",260,-0.5,2599.5);
275  h_HOThreshTime=ib.book1D("HO_time_thresh",
276  "HO RecHit Time Above Threshold",
278  h_HOThreshOccupancy=ib.book1D("HO_occupancy_thresh",
279  "HO RecHit Occupancy Above Threshold",217,-0.5,2169.5);
280  h_HFThreshTime=ib.book1D("HF_time_thresh",
281  "HF RecHit Time Above Threshold",
283  h_HFThreshOccupancy=ib.book1D("HF_occupancy_thresh",
284  "HF RecHit Occupancy Above Threshold",
285  173,-0.5,1729.5);
286 
287  // Histograms for events that did passed Hcal-specfied HLT triggers
288  ib.setCurrentFolder(subdir_+"Distributions_PassedHcalHLTriggers");
289 
290  h_LumiPlot_BX_HcalHLTEvents = ib.book1D("BX_HcalHLT_Events_TimeCut",
291  "BX # of HcalHLT events (HFM & HFP HT>1 & HFM-HFP time cut)",
292  3600,0,3600);
293  h_LumiPlot_BX_HcalHLTEvents_notimecut = ib.book1D("BX_HcalHLT_Events_notimecut",
294  "BX # of HcalHLT events (HFM,HFP HT>1, no time cut)",
295  3600,0,3600);
296  h_LumiPlot_LS_HcalHLTEvents=ib.book1D("HcalHLTEventsPerLS",
297  "Number of HcalHLT Events vs LS (HT cut and HFM-HFP time cut)",
298  NLumiBlocks_/10,0.5,NLumiBlocks_+0.5);
299  h_LumiPlot_LS_HcalHLTEvents_notimecut=ib.book1D("HcalHLTEventsPerLS_notimecut",
300  "Number of Events with HcalHLT vs LS (HFM,HFP HT>1,no time cut)",
301  NLumiBlocks_/10,0.5,NLumiBlocks_+0.5);
302 
303 
304  ib.setCurrentFolder(subdir_+"Distributions_PassedHcalHLTriggers/");
305  h_HF_HcalHLT_weightedtimedifference = ib.book1D("HF_HcalHLT_weightedtimeDifference",
306  "Energy-Weighted time difference between HF+ and HF- Hcal HLT",
307  251,-250.5,250.5);
308  h_HE_HcalHLT_weightedtimedifference = ib.book1D("HE_HcalHLT_weightedtimeDifference",
309  "Energy-Weighted time difference between HE+ and HE- Hcal HLT",
310  251,-250.5,250.5);
311  h_HF_HcalHLT_energydifference = ib.book1D("HF_HcalHLT_energyDifference",
312  "Sum(E_HFPlus - E_HFMinus)/Sum(E_HFPlus + E_HFMinus)",
313  200,-1,1);
314  h_HE_HcalHLT_energydifference = ib.book1D("HE_HcalHLT_energyDifference",
315  "Sum(E_HEPlus - E_HEMinus)/Sum(E_HEPlus + E_HEMinus)",
316  200,-1,1);
317 
318  // Do we want separate directories for Minbias, other flags at some point?
319  ib.setCurrentFolder(subdir_+"AnomalousCellFlags");// HB Flag Histograms
320 
321 
322  h_HFLongShort_vs_LS=ib.book1D("HFLongShort_vs_LS",
323  "HFLongShort Flags vs Lumi Section",
324  NLumiBlocks_/10,0.5,0.5+NLumiBlocks_);
325  h_HFDigiTime_vs_LS=ib.book1D("HFDigiTime_vs_LS",
326  "HFDigiTime Flags vs Lumi Section",
327  NLumiBlocks_/10,0.5,0.5+NLumiBlocks_);
328  h_HBHEHPDMult_vs_LS=ib.book1D("HBHEHPDMult_vs_LS",
329  "HBHEHPDMult Flags vs Lumi Section",
330  NLumiBlocks_/10,0.5,0.5+NLumiBlocks_);
331  h_HBHEPulseShape_vs_LS=ib.book1D("HBHEPulseShape_vs_LS",
332  "HBHEPulseShape Flags vs Lumi Section",
333  NLumiBlocks_/10,0.5,0.5+NLumiBlocks_);
334 
335  h_HF_FlagCorr=ib.book2D("HF_FlagCorrelation",
336  "HF LongShort vs. DigiTime flags; DigiTime; LongShort",
337  2,-0.5,1.5,2,-0.5,1.5);
338  h_HF_FlagCorr->setBinLabel(1,"OFF",1);
339  h_HF_FlagCorr->setBinLabel(2,"ON",1);
340  h_HF_FlagCorr->setBinLabel(1,"OFF",2);
341  h_HF_FlagCorr->setBinLabel(2,"ON",2);
342 
343  h_HBHE_FlagCorr=ib.book2D("HBHE_FlagCorrelation",
344  "HBHE HpdHitMultiplicity vs. PulseShape flags; PulseShape; HpdHitMultiplicity",
345  2,-0.5,1.5,2,-0.5,1.5);
346  h_HBHE_FlagCorr->setBinLabel(1,"OFF",1);
347  h_HBHE_FlagCorr->setBinLabel(2,"ON",1);
348  h_HBHE_FlagCorr->setBinLabel(1,"OFF",2);
349  h_HBHE_FlagCorr->setBinLabel(2,"ON",2);
350 
351  h_FlagMap_HPDMULT=ib.book2D("FlagMap_HPDMULT",
352  "RBX Map of HBHEHpdHitMultiplicity Flags;RBX;RM",
353  72,-0.5,71.5,4,0.5,4.5);
354  h_FlagMap_PULSESHAPE=ib.book2D("FlagMap_PULSESHAPE",
355  "RBX Map of HBHEPulseShape Flags;RBX;RM",
356  72,-0.5,71.5,4,0.5,4.5);
357  h_FlagMap_DIGITIME=ib.book2D("FlagMap_DIGITIME",
358  "RBX Map of HFDigiTime Flags;RBX;RM",
359  24,131.5,155.5,4,0.5,4.5);
360  h_FlagMap_LONGSHORT=ib.book2D("FlagMap_LONGSHORT",
361  "RBX Map of HFLongShort Flags;RBX;RM",
362  24,131.5,155.5,4,0.5,4.5);
363 
364  h_FlagMap_TIMEADD=ib.book2D("FlagMap_TIMEADD",
365  "RBX Map of Timing Added Flags;RBX;RM",
366  156,-0.5,155.5,4,0.5,4.5);
367  h_FlagMap_TIMESUBTRACT=ib.book2D("FlagMap_TIMESUBTRACT",
368  "RBX Map of Timing Subtracted Flags;RBX;RM",
369  156,-0.5,155.5,4,0.5,4.5);
370  h_FlagMap_TIMEERROR=ib.book2D("FlagMap_TIMEERROR",
371  "RBX Map of Timing Error Flags;RBX;RM",
372  156,-0.5,155.5,4,0.5,4.5);
373 
374  h_HBflagcounter=ib.book1D("HBflags","HB flags",32,-0.5,31.5);
381  // 2-bit timing counter
384  //3-bit timing shape cut
388 
389  // common flags
395 
396  // HE Flag Histograms
397  h_HEflagcounter=ib.book1D("HEflags","HE flags",32,-0.5,31.5);
404  // 2-bit timing counter
407  //3-bit timing shape cut
416 
417  // HO Flag Histograms
418  h_HOflagcounter=ib.book1D("HOflags","HO flags",32,-0.5,31.5);
424 
425  // HF Flag Histograms
426  h_HFflagcounter=ib.book1D("HFflags","HF flags",32,-0.5,31.5);
435 
436  h_HBflagcounter->getTH1F()->LabelsOption("v");
437  h_HEflagcounter->getTH1F()->LabelsOption("v");
438  h_HOflagcounter->getTH1F()->LabelsOption("v");
439  h_HFflagcounter->getTH1F()->LabelsOption("v");
440 
441 
442  // Diagnostic plots are currently filled for all rechits (no trigger/threshold requirement)
443  // hb
444  ib.setCurrentFolder(subdir_+"diagnostics/hb");
445 
446  h_HBTimeVsEnergy=ib.book2D("HBTimeVsEnergy","HB Time Vs Energy (All RecHits);Energy (GeV); time(nS)",100,0,500,40,-100,100);
447 
448  h_HBsizeVsLS=ib.bookProfile("HBRecHitsVsLB","HB RecHits vs Luminosity Block",
449  NLumiBlocks_,0.5,NLumiBlocks_+0.5,
450  100,0,10000);
451 
452  h_HBTime=ib.book1D("HB_time","HB RecHit Time",
454  h_HBOccupancy=ib.book1D("HB_occupancy",
455  "HB RecHit Occupancy",260,-0.5,2599.5);
456 
457  //he
458  ib.setCurrentFolder(subdir_+"diagnostics/he");
459 
460  h_HETimeVsEnergy=ib.book2D("HETimeVsEnergy","HE Time Vs Energy (All RecHits);Energy (GeV); time(nS)",100,0,500,40,-100,100);
461 
462  h_HEsizeVsLS=ib.bookProfile("HERecHitsVsLB","HE RecHits vs Luminosity Block",
463  NLumiBlocks_,0.5,NLumiBlocks_+0.5,
464  100,0,10000);
465 
466  h_HETime=ib.book1D("HE_time","HE RecHit Time",
468  h_HEOccupancy=ib.book1D("HE_occupancy","HE RecHit Occupancy",260,-0.5,2599.5);
469 
470  // ho
471  ib.setCurrentFolder(subdir_+"diagnostics/ho");
472 
473  h_HOTimeVsEnergy=ib.book2D("HOTimeVsEnergy","HO Time Vs Energy (All RecHits);Energy (GeV); time(nS)",100,0,500,40,-100,100);
474 
475  h_HOsizeVsLS=ib.bookProfile("HORecHitsVsLB","HO RecHits vs Luminosity Block",
476  NLumiBlocks_,0.5,NLumiBlocks_+0.5,
477  100,0,10000);
478  h_HOTime=ib.book1D("HO_time",
479  "HO RecHit Time",
481  h_HOOccupancy=ib.book1D("HO_occupancy",
482  "HO RecHit Occupancy",217,-0.5,2169.5);
483 
484  // hf
485  ib.setCurrentFolder(subdir_+"diagnostics/hf");
486 
487  h_HFTimeVsEnergy=ib.book2D("HFTimeVsEnergy","HF Time Vs Energy (All RecHits);Energy (GeV); time(nS)",100,0,500,40,-100,100);
488 
489  h_HFsizeVsLS=ib.bookProfile("HFRecHitsVsLB",
490  "HF RecHits vs Luminosity Block",
491  NLumiBlocks_,0.5,NLumiBlocks_+0.5,
492  100, 0,10000);
493  h_HFTime=ib.book1D("HF_time","HF RecHit Time",
495  h_HFOccupancy=ib.book1D("HF_occupancy","HF RecHit Occupancy",173,-0.5,1729.5);
496 
497  return;
498 } //void HcalRecHitMonitor::setup(...)
MonitorElement * h_rechitieta_100
MonitorElement * h_HOThreshTime
MonitorElement * h_HFP_weightedTime
MonitorElement * h_HFLongShort_vs_LS
MonitorElement * h_HFtimedifference
MonitorElement * h_LumiPlot_timeHT_HFP
MonitorElement * h_HBHE_FlagCorr
MonitorElement * h_HBsizeVsLS
MonitorElement * h_LumiPlot_MinTime_vs_MinHT
EtaPhiHists OccupancyThreshByDepth
MonitorElement * h_HF_HcalHLT_weightedtimedifference
MonitorElement * h_HBThreshTime
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * h_FlagMap_PULSESHAPE
MonitorElement * h_HBHEPulseShape_vs_LS
MonitorElement * h_HF_FlagCorr
MonitorElement * h_HOflagcounter
MonitorElement * h_rechitiphi_05
MonitorElement * h_rechitieta_10
MonitorElement * h_LumiPlot_timeHFPlus_vs_timeHFMinus
MonitorElement * h_HFThreshTime
MonitorElement * h_rechitieta_25
MonitorElement * h_rechitiphi_10
MonitorElement * h_HFTime
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * h_HFThreshOccupancy
MonitorElement * h_FlagMap_TIMEADD
MonitorElement * h_LumiPlot_LS_MinBiasEvents
MonitorElement * h_rechitieta
MonitorElement * h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
MonitorElement * h_HFflagcounter
MonitorElement * h_HFM_weightedTime
MonitorElement * h_HBTimeVsEnergy
MonitorElement * h_HEOccupancy
MonitorElement * h_LumiPlot_LS_allevents
MonitorElement * h_HEtimedifference
MonitorElement * h_HEM_weightedTime
MonitorElement * h_HE_HcalHLT_weightedtimedifference
MonitorElement * h_FlagMap_TIMEERROR
MonitorElement * h_HF_HcalHLT_energydifference
EtaPhiHists SumEnergyByDepth
MonitorElement * h_HOThreshOccupancy
MonitorElement * h_rechitiphi_100
void Fill(long long x)
MonitorElement * h_HETime
MonitorElement * h_rechitieta_thresh
EtaPhiHists OccupancyByDepth
MonitorElement * h_HOOccupancy
MonitorElement * h_HFenergydifference
MonitorElement * h_HEsizeVsLS
MonitorElement * h_LumiPlot_BX_MinBiasEvents_notimecut
void SetupEtaPhiHists(DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units)
EtaPhiHists SumTimeThreshByDepth
MonitorElement * h_HOsizeVsLS
MonitorElement * h_LumiPlot_BX_HcalHLTEvents_notimecut
EtaPhiHists SqrtSumEnergy2ThreshByDepth
EtaPhiHists SumTimeByDepth
MonitorElement * h_HETimeVsEnergy
MonitorElement * h_HEenergydifference
MonitorElement * h_HFTimeVsEnergy
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * h_LumiPlot_BX_HcalHLTEvents
MonitorElement * h_HBM_weightedTime
MonitorElement * h_HFsizeVsLS
EtaPhiHists SqrtSumEnergy2ByDepth
MonitorElement * h_HBOccupancy
MonitorElement * h_HFDigiTime_vs_LS
MonitorElement * h_HBHEHPDMult_vs_LS
MonitorElement * h_HOTime
MonitorElement * h_rechitiphi_25
MonitorElement * h_FlagMap_TIMESUBTRACT
MonitorElement * h_HEP_weightedTime
MonitorElement * h_FlagMap_LONGSHORT
MonitorElement * h_LumiPlot_BX_allevents
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * h_HBThreshOccupancy
TH1F * getTH1F(void) const
MonitorElement * h_HE_HcalHLT_energydifference
MonitorElement * h_rechitiphi
MonitorElement * h_LumiPlot_LS_MinBiasEvents_notimecut
MonitorElement * h_HFOccupancy
MonitorElement * h_rechitieta_05
#define RECHITMON_TIME_MIN
MonitorElement * h_HEflagcounter
MonitorElement * h_HBTime
MonitorElement * h_rechitiphi_thresh
MonitorElement * h_HBP_weightedTime
MonitorElement * h_LumiPlot_BX_MinBiasEvents
MonitorElement * h_FlagMap_HPDMULT
#define RECHITMON_TIME_MAX
MonitorElement * h_HOTimeVsEnergy
MonitorElement * h_HEThreshTime
tuple cout
Definition: gather_cfg.py:121
EtaPhiHists SumEnergyThreshByDepth
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:109
MonitorElement * h_HEThreshOccupancy
MonitorElement * h_LumiPlot_LS_HcalHLTEvents_notimecut
MonitorElement * h_LumiPlot_LS_HcalHLTEvents
virtual void setup(DQMStore::IBooker &)
MonitorElement * HFP_HFM_Energy
MonitorElement * h_FlagMap_DIGITIME
MonitorElement * h_LumiPlot_timeHT_HFM
MonitorElement * h_HBflagcounter
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
void HcalRecHitMonitor::zeroCounters ( void  )

Definition at line 1519 of file HcalRecHitMonitor.cc.

References energy2_, energy2_thresh_, energy_, energy_thresh_, HB_occupancy_, HB_occupancy_thresh_, HBflagcounter_, HBtime_, HBtime_thresh_, HE_occupancy_, HE_occupancy_thresh_, HEflagcounter_, HEtime_, HEtime_thresh_, HF_occupancy_, HF_occupancy_thresh_, HFenergyLong_, HFenergyLong_thresh_, HFenergyShort_, HFenergyShort_thresh_, HFflagcounter_, HFlong_occupancy_, HFlong_occupancy_thresh_, HFshort_occupancy_, HFshort_occupancy_thresh_, HFtime_, HFtime_thresh_, HFtimeLong_, HFtimeLong_thresh_, HFtimeShort_, HFtimeShort_thresh_, HO_occupancy_, HO_occupancy_thresh_, HOflagcounter_, HOtime_, HOtime_thresh_, i, j, roll_playback::k, occupancy_, occupancy_thresh_, RECHITMON_TIME_MAX, RECHITMON_TIME_MIN, time_, and time_thresh_.

Referenced by setup().

1520 {
1521  // Set all histogram counters back to zero
1522 
1523  for (int i=0;i<32;++i)
1524  {
1525  HBflagcounter_[i]=0;
1526  HEflagcounter_[i]=0;
1527  HOflagcounter_[i]=0;
1528  HFflagcounter_[i]=0;
1529 
1530  }
1531  // TH2F counters
1532  for (int i=0;i<85;++i)
1533  {
1534  for (int j=0;j<72;++j)
1535  {
1536  for (int k=0;k<4;++k)
1537  {
1538  occupancy_[i][j][k]=0;
1539  occupancy_thresh_[i][j][k]=0;
1540  energy_[i][j][k]=0;
1541  energy2_[i][j][k]=0;
1542  energy_thresh_[i][j][k]=0;
1543  energy2_thresh_[i][j][k]=0;
1544  time_[i][j][k]=0;
1545  time_thresh_[i][j][k]=0;
1546  }
1547  } // for (int j=0;j<PHIBINS;++j)
1548  } // for (int i=0;i<87;++i)
1549 
1550  // TH1F counters
1551 
1552  for (int i=0;i<200;++i)
1553  {
1554  HFenergyLong_[i]=0;
1556  HFenergyShort_[i]=0;
1558  }
1559 
1560  // time
1561  for (int i=0;i<(RECHITMON_TIME_MAX-RECHITMON_TIME_MIN);++i)
1562  {
1563  HBtime_[i]=0;
1564  HBtime_thresh_[i]=0;
1565  HEtime_[i]=0;
1566  HEtime_thresh_[i]=0;
1567  HOtime_[i]=0;
1568  HOtime_thresh_[i]=0;
1569  HFtime_[i]=0;
1570  HFtime_thresh_[i]=0;
1571  HFtimeLong_[i]=0;
1572  HFtimeLong_thresh_[i]=0;
1573  HFtimeShort_[i]=0;
1575  }
1576 
1577  // occupancy
1578  for (int i=0;i<865;++i)
1579  {
1580  if (i<260)
1581  {
1582  HB_occupancy_[i]=0;
1583  HE_occupancy_[i]=0;
1586  }
1587  if (i<218)
1588  {
1589  HO_occupancy_[i]=0;
1591  }
1592  if (i<174)
1593  {
1594  HF_occupancy_[i]=0;
1596  }
1597 
1598  HFlong_occupancy_[i] =0;
1599  HFshort_occupancy_[i]=0;
1602  } // for (int i=0;i<865;++i)
1603 
1604  return;
1605 } //void HcalRecHitMonitor::zeroCounters(void)
double HFenergyShort_[200]
double time_[85][72][4]
double HB_occupancy_[260]
int i
Definition: DBlmapReader.cc:9
double HFshort_occupancy_[865]
double HFtime_thresh_[250--250]
double HOtime_thresh_[250--250]
double HBtime_thresh_[250--250]
double HF_occupancy_thresh_[174]
double HFenergyLong_[200]
double HFshort_occupancy_thresh_[865]
double HO_occupancy_thresh_[218]
double HBtime_[250--250]
double HEtime_thresh_[250--250]
double HF_occupancy_[174]
double HFtimeShort_thresh_[250--250]
double HFtimeLong_[250--250]
double HE_occupancy_thresh_[260]
unsigned int occupancy_[85][72][4]
double time_thresh_[85][72][4]
unsigned int occupancy_thresh_[85][72][4]
double HFtimeLong_thresh_[250--250]
int j
Definition: DBlmapReader.cc:9
double HFlong_occupancy_thresh_[865]
double energy2_[85][72][4]
double HFtime_[250--250]
double HFtimeShort_[250--250]
double energy2_thresh_[85][72][4]
double HOtime_[250--250]
double energy_thresh_[85][72][4]
double HEtime_[250--250]
#define RECHITMON_TIME_MIN
double HB_occupancy_thresh_[260]
#define RECHITMON_TIME_MAX
double HE_occupancy_[260]
double HFlong_occupancy_[865]
double HO_occupancy_[218]
double HFenergyShort_thresh_[200]
double HFenergyLong_thresh_[200]
double energy_[85][72][4]

Member Data Documentation

double HcalRecHitMonitor::energy2_[85][72][4]
private

Definition at line 76 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::energy2_thresh_[85][72][4]
private

Definition at line 78 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::energy_[85][72][4]
private

Definition at line 75 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::energy_thresh_[85][72][4]
private

Definition at line 77 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::energyThreshold_
private

Definition at line 50 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor().

double HcalRecHitMonitor::ETThreshold_
private

Definition at line 56 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor().

MonitorElement* HcalRecHitMonitor::h_FlagMap_DIGITIME
private

Definition at line 165 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_HPDMULT
private

Definition at line 163 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_LONGSHORT
private

Definition at line 166 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_PULSESHAPE
private

Definition at line 164 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_TIMEADD
private

Definition at line 167 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_TIMEERROR
private

Definition at line 169 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_FlagMap_TIMESUBTRACT
private

Definition at line 168 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBflagcounter
private

Definition at line 158 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBHE_FlagCorr
private

Definition at line 177 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBHEHPDMult_vs_LS
private

Definition at line 173 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBHEPulseShape_vs_LS
private

Definition at line 174 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBM_weightedTime
private

Definition at line 218 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBOccupancy
private

Definition at line 140 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBP_weightedTime
private

Definition at line 217 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBsizeVsLS
private

Definition at line 133 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBThreshOccupancy
private

Definition at line 141 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBThreshTime
private

Definition at line 139 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBTime
private

Definition at line 138 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HBTimeVsEnergy
private

Definition at line 220 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HE_HcalHLT_energydifference
private

Definition at line 189 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HE_HcalHLT_weightedtimedifference
private

Definition at line 188 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEenergydifference
private

Definition at line 184 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEflagcounter
private

Definition at line 159 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEM_weightedTime
private

Definition at line 216 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEOccupancy
private

Definition at line 145 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEP_weightedTime
private

Definition at line 215 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEsizeVsLS
private

Definition at line 134 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEThreshOccupancy
private

Definition at line 146 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEThreshTime
private

Definition at line 144 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HETime
private

Definition at line 143 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HEtimedifference
private

Definition at line 183 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HETimeVsEnergy
private

Definition at line 221 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HF_FlagCorr
private

Definition at line 176 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HF_HcalHLT_energydifference
private

Definition at line 187 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HF_HcalHLT_weightedtimedifference
private

Definition at line 186 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFDigiTime_vs_LS
private

Definition at line 172 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFenergydifference
private

Definition at line 182 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFflagcounter
private

Definition at line 161 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFLongShort_vs_LS
private

Definition at line 171 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFM_weightedTime
private

Definition at line 214 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFOccupancy
private

Definition at line 155 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFP_weightedTime
private

Definition at line 213 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFsizeVsLS
private

Definition at line 136 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFThreshOccupancy
private

Definition at line 156 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFThreshTime
private

Definition at line 154 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFTime
private

Definition at line 153 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFtimedifference
private

Definition at line 181 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HFTimeVsEnergy
private

Definition at line 223 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOflagcounter
private

Definition at line 160 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOOccupancy
private

Definition at line 150 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOsizeVsLS
private

Definition at line 135 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOThreshOccupancy
private

Definition at line 151 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOThreshTime
private

Definition at line 149 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOTime
private

Definition at line 148 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_HOTimeVsEnergy
private

Definition at line 222 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_BX_allevents
private

Definition at line 202 of file HcalRecHitMonitor.h.

Referenced by analyze(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_BX_HcalHLTEvents
private

Definition at line 205 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_BX_HcalHLTEvents_notimecut
private

Definition at line 206 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_BX_MinBiasEvents
private

Definition at line 203 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_BX_MinBiasEvents_notimecut
private

Definition at line 204 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_LS_allevents
private

Definition at line 191 of file HcalRecHitMonitor.h.

Referenced by analyze(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_LS_HcalHLTEvents
private

Definition at line 194 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_LS_HcalHLTEvents_notimecut
private

Definition at line 195 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_LS_MinBiasEvents
private

Definition at line 192 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_LS_MinBiasEvents_notimecut
private

Definition at line 193 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_MinTime_vs_MinHT
private

Definition at line 208 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
private

Definition at line 200 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_SumHT_HFPlus_vs_HFMinus
private

Definition at line 197 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_timeHFPlus_vs_timeHFMinus
private

Definition at line 198 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_timeHT_HFM
private

Definition at line 209 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_LumiPlot_timeHT_HFP
private

Definition at line 210 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta
private

Definition at line 118 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta_05
private

Definition at line 121 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta_10
private

Definition at line 122 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta_100
private

Definition at line 124 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta_25
private

Definition at line 123 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitieta_thresh
private

Definition at line 130 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi
private

Definition at line 119 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi_05
private

Definition at line 125 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi_10
private

Definition at line 126 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi_100
private

Definition at line 128 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi_25
private

Definition at line 127 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_rechitiphi_thresh
private

Definition at line 131 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), reset(), and setup().

MonitorElement* HcalRecHitMonitor::h_TriggeredEvents
private

Definition at line 212 of file HcalRecHitMonitor.h.

Referenced by processEvent(), reset(), and setup().

double HcalRecHitMonitor::HB_occupancy_[260]
private

Definition at line 84 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HB_occupancy_thresh_[260]
private

Definition at line 85 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HBenergyThreshold_
private

Definition at line 51 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

double HcalRecHitMonitor::HBETThreshold_
private

Definition at line 57 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

int HcalRecHitMonitor::HBflagcounter_[32]
private

Definition at line 112 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

edm::InputTag HcalRecHitMonitor::hbheRechitLabel_
private

Definition at line 229 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

bool HcalRecHitMonitor::HBpresent_
private

Definition at line 226 of file HcalRecHitMonitor.h.

double HcalRecHitMonitor::HBtime_[250--250]
private

Definition at line 82 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HBtime_thresh_[250--250]
private

Definition at line 83 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

std::vector<std::string> HcalRecHitMonitor::HcalHLTBits_
private

Definition at line 238 of file HcalRecHitMonitor.h.

Referenced by bookHistograms(), HcalRecHitMonitor(), and processEvent().

double HcalRecHitMonitor::HE_occupancy_[260]
private

Definition at line 88 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HE_occupancy_thresh_[260]
private

Definition at line 89 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HEenergyThreshold_
private

Definition at line 52 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

double HcalRecHitMonitor::HEETThreshold_
private

Definition at line 58 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

int HcalRecHitMonitor::HEflagcounter_[32]
private

Definition at line 111 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

bool HcalRecHitMonitor::HEpresent_
private

Definition at line 226 of file HcalRecHitMonitor.h.

double HcalRecHitMonitor::HEtime_[250--250]
private

Definition at line 86 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HEtime_thresh_[250--250]
private

Definition at line 87 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HF_occupancy_[174]
private

Definition at line 104 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HF_occupancy_thresh_[174]
private

Definition at line 105 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HFenergyLong_[200]
private

Definition at line 96 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFenergyLong_thresh_[200]
private

Definition at line 97 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFenergyShort_[200]
private

Definition at line 100 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFenergyShort_thresh_[200]
private

Definition at line 101 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFenergyThreshold_
private

Definition at line 54 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

double HcalRecHitMonitor::HFETThreshold_
private

Definition at line 60 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

int HcalRecHitMonitor::HFflagcounter_[32]
private

Definition at line 114 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HFlong_occupancy_[865]
private

Definition at line 106 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFlong_occupancy_thresh_[865]
private

Definition at line 107 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

MonitorElement* HcalRecHitMonitor::HFP_HFM_Energy
private

Definition at line 224 of file HcalRecHitMonitor.h.

Referenced by processEvent_rechit(), reset(), and setup().

bool HcalRecHitMonitor::HFpresent_
private

Definition at line 226 of file HcalRecHitMonitor.h.

edm::InputTag HcalRecHitMonitor::hfRechitLabel_
private

Definition at line 229 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

double HcalRecHitMonitor::HFshort_occupancy_[865]
private

Definition at line 108 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFshort_occupancy_thresh_[865]
private

Definition at line 109 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFtime_[250--250]
private

Definition at line 94 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HFtime_thresh_[250--250]
private

Definition at line 95 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HFtimeLong_[250--250]
private

Definition at line 98 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFtimeLong_thresh_[250--250]
private

Definition at line 99 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFtimeShort_[250--250]
private

Definition at line 102 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

double HcalRecHitMonitor::HFtimeShort_thresh_[250--250]
private

Definition at line 103 of file HcalRecHitMonitor.h.

Referenced by zeroCounters().

edm::InputTag HcalRecHitMonitor::hltresultsLabel_
private

Definition at line 231 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), and processEvent().

double HcalRecHitMonitor::HO_occupancy_[218]
private

Definition at line 92 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HO_occupancy_thresh_[218]
private

Definition at line 93 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HOenergyThreshold_
private

Definition at line 53 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

double HcalRecHitMonitor::HOETThreshold_
private

Definition at line 59 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

int HcalRecHitMonitor::HOflagcounter_[32]
private

Definition at line 113 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

bool HcalRecHitMonitor::HOpresent_
private

Definition at line 226 of file HcalRecHitMonitor.h.

edm::InputTag HcalRecHitMonitor::hoRechitLabel_
private

Definition at line 229 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

double HcalRecHitMonitor::HOtime_[250--250]
private

Definition at line 90 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::HOtime_thresh_[250--250]
private

Definition at line 91 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

edm::InputTag HcalRecHitMonitor::l1gtLabel_
private

Definition at line 230 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor().

std::vector<std::string> HcalRecHitMonitor::MinBiasHLTBits_
private

Definition at line 239 of file HcalRecHitMonitor.h.

Referenced by bookHistograms(), HcalRecHitMonitor(), and processEvent().

unsigned int HcalRecHitMonitor::occupancy_[85][72][4]
private

Definition at line 73 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

unsigned int HcalRecHitMonitor::occupancy_thresh_[85][72][4]
private

Definition at line 74 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

EtaPhiHists HcalRecHitMonitor::OccupancyByDepth
private

Definition at line 63 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and setup().

EtaPhiHists HcalRecHitMonitor::OccupancyThreshByDepth
private

Definition at line 64 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and setup().

bool HcalRecHitMonitor::setupDone_
private

Definition at line 227 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), and setup().

EtaPhiHists HcalRecHitMonitor::SqrtSumEnergy2ByDepth
private

Definition at line 67 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and setup().

EtaPhiHists HcalRecHitMonitor::SqrtSumEnergy2ThreshByDepth
private

Definition at line 69 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), and setup().

EtaPhiHists HcalRecHitMonitor::SumEnergyByDepth
private

Definition at line 66 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and setup().

EtaPhiHists HcalRecHitMonitor::SumEnergyThreshByDepth
private

Definition at line 68 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), and setup().

EtaPhiHists HcalRecHitMonitor::SumTimeByDepth
private

Definition at line 70 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and setup().

EtaPhiHists HcalRecHitMonitor::SumTimeThreshByDepth
private

Definition at line 71 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), and setup().

double HcalRecHitMonitor::time_[85][72][4]
private

Definition at line 79 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::time_thresh_[85][72][4]
private

Definition at line 80 of file HcalRecHitMonitor.h.

Referenced by fill_Nevents(), processEvent_rechit(), and zeroCounters().

double HcalRecHitMonitor::timediffThresh_
private

Definition at line 179 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), processEvent_rechit(), and setup().

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

Definition at line 233 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

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

Definition at line 235 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

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

Definition at line 234 of file HcalRecHitMonitor.h.

Referenced by analyze(), and HcalRecHitMonitor().

edm::EDGetTokenT<edm::TriggerResults> HcalRecHitMonitor::tok_trigger_
private

Definition at line 236 of file HcalRecHitMonitor.h.

Referenced by HcalRecHitMonitor(), and processEvent().