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
HcalTimingMonitorModule Class Reference

#include <DQM/HcalMonitorModule/src/HcalTimingMonitorModule.cc>

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

Public Member Functions

virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
 HcalTimingMonitorModule (const edm::ParameterSet &)
 
void initialize (DQMStore::IBooker &)
 
 ~HcalTimingMonitorModule ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
double get_ped_hbhe (int eta, int phi, int depth, int cup)
 
double get_ped_hf (int eta, int phi, int depth, int cup)
 
double get_ped_ho (int eta, int phi, int depth, int cup)
 
double GetTime (double *data, int n)
 
bool isSignal (double *data, int n)
 
void set_hbhe (int eta, int phi, int depth, int cap, float val)
 
void set_hf (int eta, int phi, int depth, int cap, float val)
 
void set_ho (int eta, int phi, int depth, int cap, float val)
 

Private Attributes

bool CosmicsCorr_
 
int counterEvt_
 
MonitorElementCSCcand
 
bool Debug_
 
MonitorElementDTcand
 
int GCTTriggerBit1_
 
int GCTTriggerBit2_
 
int GCTTriggerBit3_
 
int GCTTriggerBit4_
 
int GCTTriggerBit5_
 
MonitorElementHBEnergy
 
double HBHE [100][73][5][4]
 
MonitorElementHBShapeDT
 
MonitorElementHBShapeGCT
 
MonitorElementHBShapeRPC
 
MonitorElementHBTimeDT
 
MonitorElementHBTimeGCT
 
MonitorElementHBTimeRPC
 
MonitorElementHEEnergy
 
MonitorElementHEShapeCSCm
 
MonitorElementHEShapeCSCp
 
MonitorElementHETimeCSCm
 
MonitorElementHETimeCSCp
 
double HF [100][73][5][4]
 
MonitorElementHFEnergy
 
MonitorElementHFShapeCSCm
 
MonitorElementHFShapeCSCp
 
MonitorElementHFTimeCSCm
 
MonitorElementHFTimeCSCp
 
double HO [100][73][5][4]
 
MonitorElementHOEnergy
 
MonitorElementHOShapeDT
 
MonitorElementHOShapeGCT
 
MonitorElementHOShapeRPC
 
MonitorElementHOTimeDT
 
MonitorElementHOTimeGCT
 
MonitorElementHOTimeRPC
 
std::string monitorName_
 
double nHBHE [100][73][5][4]
 
double nHF [100][73][5][4]
 
double nHO [100][73][5][4]
 
MonitorElementOR
 
edm::ParameterSet parameters_
 
int prescaleEvt_
 
int prescaleLS_
 
MonitorElementRPCbcand
 
MonitorElementRPCfcand
 
int run_number
 
std::string subsystemname_
 
edm::EDGetTokenT
< L1GlobalTriggerReadoutRecord
tok_gtro_
 
edm::EDGetTokenT
< HBHEDigiCollection
tok_hbhe_
 
edm::EDGetTokenT
< HFDigiCollection
tok_hf_
 
edm::EDGetTokenT
< HODigiCollection
tok_ho_
 
edm::EDGetTokenT
< L1MuGMTReadoutCollection
tok_L1mu_
 
int TrigCSC
 
int TrigDT
 
int TrigGCT
 
int TrigRPC
 

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
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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 edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 75 of file HcalTimingMonitorModule.cc.

Constructor & Destructor Documentation

HcalTimingMonitorModule::HcalTimingMonitorModule ( const edm::ParameterSet iConfig)
explicit

Definition at line 205 of file HcalTimingMonitorModule.cc.

References CosmicsCorr_, counterEvt_, Debug_, GCTTriggerBit1_, GCTTriggerBit2_, GCTTriggerBit3_, GCTTriggerBit4_, GCTTriggerBit5_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, monitorName_, parameters_, prescaleEvt_, prescaleLS_, run_number, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, tok_gtro_, tok_hbhe_, tok_hf_, tok_ho_, tok_L1mu_, TrigCSC, TrigDT, TrigGCT, and TrigRPC.

205  {
206 
207  tok_hbhe_ = consumes<HBHEDigiCollection>(iConfig.getParameter<edm::InputTag>("hbheDigiCollectionTag"));
208  tok_ho_ = consumes<HODigiCollection>(iConfig.getParameter<edm::InputTag>("hoDigiCollectionTag"));
209  tok_hf_ = consumes<HFDigiCollection>(iConfig.getParameter<edm::InputTag>("hfDigiCollectionTag"));
210 
211  parameters_ = iConfig;
212  // Base folder for the contents of this job
213  subsystemname_ = parameters_.getUntrackedParameter<std::string>("subSystemFolder", "HcalTiming") ;
214 
215  monitorName_ = parameters_.getUntrackedParameter<std::string>("monitorName","HcalTiming");
217  counterEvt_=0;
218 
219  run_number=0;
221  std::string sLabel = iConfig.getUntrackedParameter<std::string>("L1ADataLabel" , "l1GtUnpack");
222 
223  tok_gtro_ = consumes<L1GlobalTriggerReadoutRecord>(edm::InputTag(sLabel));
224  tok_L1mu_ = consumes<L1MuGMTReadoutCollection>(edm::InputTag(sLabel));
225 
226  prescaleLS_ = parameters_.getUntrackedParameter<int>("prescaleLS", 1);
227  prescaleEvt_ = parameters_.getUntrackedParameter<int>("prescaleEvt", 1);
228  GCTTriggerBit1_= parameters_.getUntrackedParameter<int>("GCTTriggerBit1", -1);
229  GCTTriggerBit2_= parameters_.getUntrackedParameter<int>("GCTTriggerBit2", -1);
230  GCTTriggerBit3_= parameters_.getUntrackedParameter<int>("GCTTriggerBit3", -1);
231  GCTTriggerBit4_= parameters_.getUntrackedParameter<int>("GCTTriggerBit4", -1);
232  GCTTriggerBit5_= parameters_.getUntrackedParameter<int>("GCTTriggerBit5", -1);
233  CosmicsCorr_ = parameters_.getUntrackedParameter<bool>("CosmicsCorr", true);
234  Debug_ = parameters_.getUntrackedParameter<bool>("Debug", true);
235 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< HODigiCollection > tok_ho_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_gtro_
edm::EDGetTokenT< L1MuGMTReadoutCollection > tok_L1mu_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
HcalTimingMonitorModule::~HcalTimingMonitorModule ( )

Definition at line 237 of file HcalTimingMonitorModule.cc.

237 {}

Member Function Documentation

void HcalTimingMonitorModule::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 307 of file HcalTimingMonitorModule.cc.

References adc2fC, CosmicsCorr_, counterEvt_, CSCcand, AlCaHLTBitMon_QueryRunRegistry::data, Debug_, HLT_FULL_cff::depth, DTcand, relval_parameters_module::energy, eta, MonitorElement::Fill(), HcalObjRepresent::Fill(), GCTTriggerBit1_, GCTTriggerBit2_, GCTTriggerBit3_, GCTTriggerBit4_, GCTTriggerBit5_, get_ped_hbhe(), get_ped_hf(), get_ped_ho(), edm::Event::getByToken(), L1MuGMTReadoutCollection::getRecords(), GetTime(), HBEnergy, HBShapeDT, HBShapeGCT, HBShapeRPC, HBTimeDT, HBTimeGCT, HBTimeRPC, HcalBarrel, HcalEndcap, HEEnergy, HEShapeCSCm, HEShapeCSCp, HETimeCSCm, HETimeCSCp, HFEnergy, HFShapeCSCm, HFShapeCSCp, HFTimeCSCm, HFTimeCSCp, HOEnergy, HOShapeDT, HOShapeGCT, HOShapeRPC, HOTimeDT, HOTimeGCT, HOTimeRPC, i, edm::EventBase::id(), isSignal(), edm::HandleBase::isValid(), MAXCSC, MAXDTBX, MAXRPC, N, OR, phi, prescaleEvt_, edm::Handle< T >::product(), RPCbcand, RPCfcand, edm::EventID::run(), run_number, set_hbhe(), set_hf(), set_ho(), funct::sin(), tok_gtro_, tok_hbhe_, tok_hf_, tok_ho_, tok_L1mu_, TRIG_CSC, TRIG_DT, TRIG_GCT, TRIG_RPC, TrigCSC, TrigDT, TrigGCT, and TrigRPC.

307  {
308 int HBcnt=0,HEcnt=0,HOcnt=0,HFcnt=0,eta,phi,depth,nTS;
309 int TRIGGER=0;
310  counterEvt_++;
311  if (prescaleEvt_<1) return;
312  if (counterEvt_%prescaleEvt_!=0) return;
313 
314  run_number=iEvent.id().run();
315  // Check GCT trigger bits
317 
318  if (!iEvent.getByToken( tok_gtro_, gtRecord))
319  return;
320  const TechnicalTriggerWord tWord = gtRecord->technicalTriggerWord();
321  const DecisionWord dWord = gtRecord->decisionWord();
322  //bool HFselfTrigger = tWord.at(9);
323  //bool HOselfTrigger = tWord.at(11);
324  bool GCTTrigger1 = dWord.at(GCTTriggerBit1_);
325  bool GCTTrigger2 = dWord.at(GCTTriggerBit2_);
326  bool GCTTrigger3 = dWord.at(GCTTriggerBit3_);
327  bool GCTTrigger4 = dWord.at(GCTTriggerBit4_);
328  bool GCTTrigger5 = dWord.at(GCTTriggerBit5_);
329  if(GCTTrigger1 || GCTTrigger2 || GCTTrigger3 || GCTTrigger4 || GCTTrigger5){ TrigGCT++; TRIGGER=+TRIG_GCT; }
330 
333  // define trigger trigger source (example from GMT group)
335  if (!iEvent.getByToken(tok_L1mu_,gmtrc_handle)) return;
336  L1MuGMTReadoutCollection const* gmtrc = gmtrc_handle.product();
337 
338  int idt =0;
339  int icsc =0;
340  int irpcb =0;
341  int irpcf =0;
342  int ndt[5] = {0,0,0,0,0};
343  int ncsc[5] = {0,0,0,0,0};
344  int nrpcb[5] = {0,0,0,0,0};
345  int nrpcf[5] = {0,0,0,0,0};
346  int N;
347 
348  std::vector<L1MuGMTReadoutRecord> gmt_records = gmtrc->getRecords();
349  std::vector<L1MuGMTReadoutRecord>::const_iterator igmtrr;
350  N=0;
351  for(igmtrr=gmt_records.begin(); igmtrr!=gmt_records.end(); igmtrr++) {
352  std::vector<L1MuRegionalCand>::const_iterator iter1;
353  std::vector<L1MuRegionalCand> rmc;
354  // DTBX Trigger
355  rmc = igmtrr->getDTBXCands();
356  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
357  if ( idt < MAXDTBX && !(*iter1).empty() ) {
358  idt++;
359  if(N<5) ndt[N]++;
360 
361  }
362  }
363  // CSC Trigger
364  rmc = igmtrr->getCSCCands();
365  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
366  if ( icsc < MAXCSC && !(*iter1).empty() ) {
367  icsc++;
368  if(N<5) ncsc[N]++;
369  }
370  }
371  // RPCb Trigger
372  rmc = igmtrr->getBrlRPCCands();
373  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
374  if ( irpcb < MAXRPC && !(*iter1).empty() ) {
375  irpcb++;
376  if(N<5) nrpcb[N]++;
377 
378  }
379  }
380  // RPCfwd Trigger
381  rmc = igmtrr->getFwdRPCCands();
382  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
383  if ( irpcf < MAXRPC && !(*iter1).empty() ) {
384  irpcf++;
385  if(N<5) nrpcf[N]++;
386 
387  }
388  }
389 
390  N++;
391  }
392  if(ndt[0]) DTcand->Fill(0);
393  if(ndt[1]) DTcand->Fill(1);
394  if(ndt[2]) DTcand->Fill(2);
395  if(ndt[3]) DTcand->Fill(3);
396  if(ndt[4]) DTcand->Fill(4);
397  if(ncsc[0]) CSCcand->Fill(0);
398  if(ncsc[1]) CSCcand->Fill(1);
399  if(ncsc[2]) CSCcand->Fill(2);
400  if(ncsc[3]) CSCcand->Fill(3);
401  if(ncsc[4]) CSCcand->Fill(4);
402  if(nrpcb[0]) RPCbcand->Fill(0);
403  if(nrpcb[1]) RPCbcand->Fill(1);
404  if(nrpcb[2]) RPCbcand->Fill(2);
405  if(nrpcb[3]) RPCbcand->Fill(3);
406  if(nrpcb[4]) RPCbcand->Fill(4);
407  if(nrpcf[0]) RPCfcand->Fill(0);
408  if(nrpcf[1]) RPCfcand->Fill(1);
409  if(nrpcf[2]) RPCfcand->Fill(2);
410  if(nrpcf[3]) RPCfcand->Fill(3);
411  if(nrpcf[4]) RPCfcand->Fill(4);
412  if(ndt[0]||nrpcb[0]||nrpcf[0]||ncsc[0]) OR->Fill(0);
413  if(ndt[1]||nrpcb[1]||nrpcf[1]||ncsc[1]) OR->Fill(1);
414  if(ndt[2]||nrpcb[2]||nrpcf[2]||ncsc[2]) OR->Fill(2);
415  if(ndt[3]||nrpcb[3]||nrpcf[3]||ncsc[3]) OR->Fill(3);
416  if(ndt[4]||nrpcb[4]||nrpcf[4]||ncsc[4]) OR->Fill(4);
417 
418  if(ncsc[1]>0 ) { TrigCSC++; TRIGGER=+TRIG_CSC; }
419  if(ndt[1]>0 ) { TrigDT++; TRIGGER=+TRIG_DT; }
420  if(nrpcb[1]>0) { TrigRPC++; TRIGGER=+TRIG_RPC; }
421 
424  if(counterEvt_<100){
426  iEvent.getByToken(tok_hbhe_, hbhe);
427  if (hbhe.isValid())
428  {
429  for(HBHEDigiCollection::const_iterator digi=hbhe->begin();digi!=hbhe->end();digi++){
430  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
431  if(digi->id().subdet()==HcalBarrel) HBcnt++;
432  if(digi->id().subdet()==HcalEndcap) HEcnt++;
433  for(int i=0;i<nTS;i++)
434  if(digi->sample(i).adc()<20) set_hbhe(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
435  }
436  }
438  iEvent.getByToken(tok_ho_, ho);
439  if (ho.isValid())
440  {
441  for(HODigiCollection::const_iterator digi=ho->begin();digi!=ho->end();digi++){
442  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
443  HOcnt++;
444  for(int i=0;i<nTS;i++)
445  if(digi->sample(i).adc()<20) set_ho(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
446  }
447  } // if
448 
450  iEvent.getByToken(tok_hf_, hf);
451  if (hf.isValid())
452  {
453  for(HFDigiCollection::const_iterator digi=hf->begin();digi!=hf->end();digi++){
454  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
455  HFcnt++;
456  for(int i=0;i<nTS;i++)
457  if(digi->sample(i).adc()<20) set_hf(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
458  }
459  }
460  } // if (counterEvt<100)
461  else{
463  double data[10];
464 
466  iEvent.getByToken(tok_hbhe_, hbhe);
467  if (hbhe.isValid())
468  {
469  for(HBHEDigiCollection::const_iterator digi=hbhe->begin();digi!=hbhe->end();digi++){
470  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
471  if(nTS>10) nTS=10;
472  if(digi->id().subdet()==HcalBarrel) HBcnt++;
473  if(digi->id().subdet()==HcalEndcap) HEcnt++;
474  double energy=0;
475  for(int i=0;i<nTS;i++){
476  data[i]=adc2fC[digi->sample(i).adc()]-get_ped_hbhe(eta,phi,depth,digi->sample(i).capid());
477  energy+=data[i];
478  }
479  if(digi->id().subdet()==HcalBarrel) HBEnergy->Fill(energy);
480  if(digi->id().subdet()==HcalEndcap) HEEnergy->Fill(energy);
481  if(!isSignal(data,nTS)) continue;
482  for(int i=0;i<nTS;i++){
483  if(data[i]>-1.0){
484  if(digi->id().subdet()==HcalBarrel && (TRIGGER|TRIG_DT)==TRIG_DT) HBShapeDT->Fill(i,data[i]);
485  if(digi->id().subdet()==HcalBarrel && (TRIGGER|TRIG_RPC)==TRIG_RPC) HBShapeRPC->Fill(i,data[i]);
486  if(digi->id().subdet()==HcalBarrel && (TRIGGER|TRIG_GCT)==TRIG_GCT) HBShapeGCT->Fill(i,data[i]);
487  if(digi->id().subdet()==HcalEndcap && (TRIGGER|TRIG_CSC)==TRIG_CSC && eta>0) HEShapeCSCp->Fill(i,data[i]);
488  if(digi->id().subdet()==HcalEndcap && (TRIGGER|TRIG_CSC)==TRIG_CSC && eta<0) HEShapeCSCm->Fill(i,data[i]);
489  }
490  }
491  double Time=GetTime(data,nTS);
492  if(digi->id().subdet()==HcalBarrel){
493  if(CosmicsCorr_) Time+=(7.5*sin((phi*5.0)/180.0*3.14159))/25.0;
494  if((TRIGGER&TRIG_DT)==TRIG_DT) HBTimeDT ->Fill(GetTime(data,nTS));
495  if((TRIGGER&TRIG_RPC)==TRIG_RPC) HBTimeRPC->Fill(GetTime(data,nTS));
496  if((TRIGGER&TRIG_GCT)==TRIG_GCT) HBTimeGCT->Fill(GetTime(data,nTS));
497  }else{
498  if(CosmicsCorr_) Time+=(3.5*sin((phi*5.0)/180.0*3.14159))/25.0;
499  if(digi->id().subdet()==HcalEndcap && (TRIGGER&TRIG_CSC)==TRIG_CSC && eta>0) HETimeCSCp->Fill(Time);
500  if(digi->id().subdet()==HcalEndcap && (TRIGGER&TRIG_CSC)==TRIG_CSC && eta<0) HETimeCSCm->Fill(Time);
501  }
502  }
503  } // if (...)
504 
506  iEvent.getByToken(tok_ho_, ho);
507  if (ho.isValid())
508  {
509  for(HODigiCollection::const_iterator digi=ho->begin();digi!=ho->end();digi++){
510  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
511  if(nTS>10) nTS=10;
512  HOcnt++;
513  double energy=0;
514  for(int i=0;i<nTS;i++){
515  data[i]=adc2fC[digi->sample(i).adc()]-get_ped_ho(eta,phi,depth,digi->sample(i).capid());
516  energy+=data[i];
517  }
518  HOEnergy->Fill(energy);
519  if(!isSignal(data,nTS)) continue;
520  for(int i=0;i<nTS;i++){
521  if(data[i]>-1.0){
522  if((TRIGGER&TRIG_DT)==TRIG_DT) HOShapeDT->Fill(i,data[i]);
523  if((TRIGGER&TRIG_RPC)==TRIG_RPC) HOShapeRPC->Fill(i,data[i]);
524  if((TRIGGER&TRIG_GCT)==TRIG_GCT) HOShapeGCT->Fill(i,data[i]);
525  }
526  }
527  double Time=GetTime(data,nTS);
528  if(CosmicsCorr_) Time+=(12.0*sin((phi*5.0)/180.0*3.14159))/25.0;
529  if((TRIGGER&TRIG_DT)==TRIG_DT) HOTimeDT->Fill(Time);
530  if((TRIGGER&TRIG_RPC)==TRIG_RPC) HOTimeRPC->Fill(Time);
531  if((TRIGGER&TRIG_GCT)==TRIG_GCT) HOTimeGCT->Fill(Time);
532  }
533  }// if (ho)
534 
536  iEvent.getByToken(tok_hf_, hf);
537  if (hf.isValid())
538  {
539  for(HFDigiCollection::const_iterator digi=hf->begin();digi!=hf->end();digi++){
540  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
541  if(nTS>10) nTS=10;
542  HFcnt++;
543  double energy=0;
544  for(int i=0;i<nTS;i++){
545  data[i]=adc2fC[digi->sample(i).adc()]-get_ped_hf(eta,phi,depth,digi->sample(i).capid());
546  energy+=data[i];
547  }
548  HFEnergy->Fill(energy);
549  if(energy<15.0) continue;
550  for(int i=0;i<nTS;i++){
551  if(data[i]>-1.0){
552  if((TRIGGER&TRIG_CSC)==TRIG_CSC && eta>0) HFShapeCSCp->Fill(i,data[i]);
553  if((TRIGGER&TRIG_CSC)==TRIG_CSC && eta<0) HFShapeCSCm->Fill(i,data[i]);
554  }
555  }
556  if((TRIGGER&TRIG_CSC)==TRIG_CSC && eta>0) HFTimeCSCp->Fill(GetTime(data,nTS));
557  if((TRIGGER&TRIG_CSC)==TRIG_CSC && eta<0) HFTimeCSCm->Fill(GetTime(data,nTS));
558  }
559  } // if (hf)
562  }
563  if(Debug_) if((counterEvt_%100)==0) printf("Run: %i,Events processed: %i (HB: %i towers,HE: %i towers,HO: %i towers,HF: %i towers)"
564  " CSC: %i DT: %i RPC: %i GCT: %i\n",
565  run_number,counterEvt_,HBcnt,HEcnt,HOcnt,HFcnt,TrigCSC,TrigDT,TrigRPC,TrigGCT);
568 }
RunNumber_t run() const
Definition: EventID.h:39
int i
Definition: DBlmapReader.cc:9
static const int MAXCSC
static const int TRIG_RPC
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
edm::EDGetTokenT< HODigiCollection > tok_ho_
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
double GetTime(double *data, int n)
double get_ped_ho(int eta, int phi, int depth, int cup)
std::vector< HBHEDataFrame >::const_iterator const_iterator
static const int TRIG_GCT
static const int MAXRPC
void set_hf(int eta, int phi, int depth, int cap, float val)
static const float adc2fC[128]
bool isSignal(double *data, int n)
void Fill(long long x)
static const int TRIG_CSC
static const int MAXDTBX
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< bool > DecisionWord
typedefs
edm::EDGetTokenT< HFDigiCollection > tok_hf_
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
bool isValid() const
Definition: HandleBase.h:75
double get_ped_hbhe(int eta, int phi, int depth, int cup)
void set_hbhe(int eta, int phi, int depth, int cap, float val)
#define N
Definition: blowfish.cc:9
void set_ho(int eta, int phi, int depth, int cap, float val)
T const * product() const
Definition: Handle.h:81
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_gtro_
edm::EventID id() const
Definition: EventBase.h:59
edm::EDGetTokenT< L1MuGMTReadoutCollection > tok_L1mu_
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
static const int TRIG_DT
double get_ped_hf(int eta, int phi, int depth, int cup)
void HcalTimingMonitorModule::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  es 
)
virtual

Implements DQMEDAnalyzer.

Definition at line 239 of file HcalTimingMonitorModule.cc.

References DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), MonitorElement::Fill(), MonitorElement::getTH2F(), initialize(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemname_.

239  {
240 
241  std::string str;
242 
243  // some currently dummy things for compartability with GUI
244  ib.setCurrentFolder(subsystemname_+"/EventInfo/");
245  str="reportSummary";
246  ib.bookFloat(str)->Fill(1); // Unknown status by default
247  str="reportSummaryMap";
248  MonitorElement* me=ib.book2D(str,str,5,0,5,1,0,1); // Unknown status by default
249  TH2F* myhist=me->getTH2F();
250  myhist->GetXaxis()->SetBinLabel(1,"HB");
251  myhist->GetXaxis()->SetBinLabel(2,"HE");
252  myhist->GetXaxis()->SetBinLabel(3,"HO");
253  myhist->GetXaxis()->SetBinLabel(4,"HF");
254  myhist->GetYaxis()->SetBinLabel(1,"Status");
255  // Unknown status by default
256  myhist->SetBinContent(1,1,-1);
257  myhist->SetBinContent(2,1,-1);
258  myhist->SetBinContent(3,1,-1);
259  myhist->SetBinContent(4,1,-1);
260  // Add ZDC at some point
261  myhist->GetXaxis()->SetBinLabel(5,"ZDC");
262  myhist->SetBinContent(5,1,-1); // no ZDC info known
263  myhist->SetOption("textcolz");
264 
265  initialize(ib);
266 }
void Fill(long long x)
void initialize(DQMStore::IBooker &)
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:109
TH2F * getTH2F(void) const
double HcalTimingMonitorModule::get_ped_hbhe ( int  eta,
int  phi,
int  depth,
int  cup 
)
inlineprivate

Definition at line 123 of file HcalTimingMonitorModule.cc.

References HLT_FULL_cff::depth, HBHE, nHBHE, and phi.

Referenced by analyze().

123  {
124  if(nHBHE[eta+50][phi][depth][cup]<10) return 2.5;
125  if(nHBHE[eta+50][phi][depth][cup]!=0){
126  double ped=HBHE[eta+50][phi][depth][cup]/nHBHE[eta+50][phi][depth][cup];
127  if(ped>1.5 && ped<4.5) return ped;
128  }
129  return 99999;
130  }
double HcalTimingMonitorModule::get_ped_hf ( int  eta,
int  phi,
int  depth,
int  cup 
)
inlineprivate

Definition at line 139 of file HcalTimingMonitorModule.cc.

References HLT_FULL_cff::depth, HF, nHF, and phi.

Referenced by analyze().

139  {
140  if(nHF[eta+50][phi][depth][cup]<10) return 2.5;
141  if(nHF[eta+50][phi][depth][cup]!=0){
142  double ped=HF[eta+50][phi][depth][cup]/nHF[eta+50][phi][depth][cup];
143  if(ped>1.5 && ped<4.5) return ped;
144  }
145  return 99999;
146  }
double HcalTimingMonitorModule::get_ped_ho ( int  eta,
int  phi,
int  depth,
int  cup 
)
inlineprivate

Definition at line 131 of file HcalTimingMonitorModule.cc.

References HLT_FULL_cff::depth, HO, nHO, and phi.

Referenced by analyze().

131  {
132  if(nHO[eta+50][phi][depth][cup]<10) return 2.5;
133  if(nHO[eta+50][phi][depth][cup]!=0){
134  double ped=HO[eta+50][phi][depth][cup]/nHO[eta+50][phi][depth][cup];
135  if(ped>1.5 && ped<4.5) return ped;
136  }
137  return 99999;
138  }
double HcalTimingMonitorModule::GetTime ( double *  data,
int  n 
)
inlineprivate

Definition at line 87 of file HcalTimingMonitorModule.cc.

References j, and gen::n.

Referenced by analyze().

87  {
88  int MaxI=-100; double Time=0,SumT=0,MaxT=-10;
89  for(int j=0;j<n;++j) if(MaxT<data[j]){ MaxT=data[j]; MaxI=j; }
90  if (MaxI>=0)
91  {
92  Time=MaxI*data[MaxI];
93  SumT=data[MaxI];
94  if(MaxI>0){ Time+=(MaxI-1)*data[MaxI-1]; SumT+=data[MaxI-1]; }
95  if(MaxI<(n-1)){ Time+=(MaxI+1)*data[MaxI+1]; SumT+=data[MaxI+1]; }
96  Time=Time/SumT;
97  }
98  return Time;
99  }
int j
Definition: DBlmapReader.cc:9
void HcalTimingMonitorModule::initialize ( DQMStore::IBooker ib)

Definition at line 268 of file HcalTimingMonitorModule.cc.

References DQMStore::IBooker::book1D(), CSCcand, DTcand, HBEnergy, HBShapeDT, HBShapeGCT, HBShapeRPC, HBTimeDT, HBTimeGCT, HBTimeRPC, HEEnergy, HEShapeCSCm, HEShapeCSCp, HETimeCSCm, HETimeCSCp, HFEnergy, HFShapeCSCm, HFShapeCSCp, HFTimeCSCm, HFTimeCSCp, HOEnergy, HOShapeDT, HOShapeGCT, HOShapeRPC, HOTimeDT, HOTimeGCT, HOTimeRPC, monitorName_, OR, RPCbcand, RPCfcand, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by bookHistograms().

268  {
269  std::string str;
270  ib.setCurrentFolder(monitorName_+"DebugPlots");
271  str="L1MuGMTReadoutRecord_getDTBXCands"; DTcand =ib.book1D(str,str,5,-0.5,4.5);
272  str="L1MuGMTReadoutRecord_getBrlRPCCands"; RPCbcand=ib.book1D(str,str,5,-0.5,4.5);
273  str="L1MuGMTReadoutRecord_getFwdRPCCands"; RPCfcand=ib.book1D(str,str,5,-0.5,4.5);
274  str="L1MuGMTReadoutRecord_getCSCCands"; CSCcand =ib.book1D(str,str,5,-0.5,4.5);
275  str="DT_OR_RPCb_OR_RPCf_OR_CSC"; OR =ib.book1D(str,str,5,-0.5,4.5);
276 
277  str="HB Tower Energy (LinADC-PED)"; HBEnergy=ib.book1D(str,str,1000,-10,90);
278  str="HE Tower Energy (LinADC-PED)"; HEEnergy=ib.book1D(str,str,1000,-10,90);
279  str="HO Tower Energy (LinADC-PED)"; HOEnergy=ib.book1D(str,str,1000,-10,90);
280  str="HF Tower Energy (LinADC-PED)"; HFEnergy=ib.book1D(str,str,1000,-10,90);
281 
282  ib.setCurrentFolder(monitorName_+"ShapePlots");
283  str="HB Shape (DT Trigger)"; HBShapeDT =ib.book1D(str,str,10,-0.5,9.5);
284  str="HB Shape (RPC Trigger)"; HBShapeRPC =ib.book1D(str,str,10,-0.5,9.5);
285  str="HB Shape (GCT Trigger)"; HBShapeGCT =ib.book1D(str,str,10,-0.5,9.5);
286  str="HO Shape (DT Trigger)"; HOShapeDT =ib.book1D(str,str,10,-0.5,9.5);
287  str="HO Shape (RPC Trigger)"; HOShapeRPC =ib.book1D(str,str,10,-0.5,9.5);
288  str="HO Shape (GCT Trigger)"; HOShapeGCT =ib.book1D(str,str,10,-0.5,9.5);
289  str="HE+ Shape (CSC Trigger)"; HEShapeCSCp=ib.book1D(str,str,10,-0.5,9.5);
290  str="HE- Shape (CSC Trigger)"; HEShapeCSCm=ib.book1D(str,str,10,-0.5,9.5);
291  str="HF+ Shape (CSC Trigger)"; HFShapeCSCp=ib.book1D(str,str,10,-0.5,9.5);
292  str="HF- Shape (CSC Trigger)"; HFShapeCSCm=ib.book1D(str,str,10,-0.5,9.5);
293 
294  ib.setCurrentFolder(monitorName_+"TimingPlots");
295  str="HB Timing (DT Trigger)"; HBTimeDT =ib.book1D(str,str,100,0,10);
296  str="HB Timing (RPC Trigger)"; HBTimeRPC =ib.book1D(str,str,100,0,10);
297  str="HB Timing (GCT Trigger)"; HBTimeGCT =ib.book1D(str,str,100,0,10);
298  str="HO Timing (DT Trigger)"; HOTimeDT =ib.book1D(str,str,100,0,10);
299  str="HO Timing (RPC Trigger)"; HOTimeRPC =ib.book1D(str,str,100,0,10);
300  str="HO Timing (GCT Trigger)"; HOTimeGCT =ib.book1D(str,str,100,0,10);
301  str="HE+ Timing (CSC Trigger)"; HETimeCSCp =ib.book1D(str,str,100,0,10);
302  str="HE- Timing (CSC Trigger)"; HETimeCSCm =ib.book1D(str,str,100,0,10);
303  str="HF+ Timing (CSC Trigger)"; HFTimeCSCp =ib.book1D(str,str,100,0,10);
304  str="HF- Timing (CSC Trigger)"; HFTimeCSCm =ib.book1D(str,str,100,0,10);
305 }
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
bool HcalTimingMonitorModule::isSignal ( double *  data,
int  n 
)
inlineprivate

Definition at line 100 of file HcalTimingMonitorModule.cc.

References i, and bookConverter::max.

Referenced by analyze().

100  {
101  int Imax=-1; double max=-100;
102  for(int i=0;i<n;i++) if(data[i]>max){max=data[i]; Imax=i;}
103  if(Imax==0 && Imax==(n-1)) return false;
104  float sum=data[Imax-1]+data[Imax+1];
105  if(data[Imax]>5.5 && sum>(data[Imax]*0.20)) return true;
106  return false;
107  }
int i
Definition: DBlmapReader.cc:9
void HcalTimingMonitorModule::set_hbhe ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inlineprivate

Definition at line 111 of file HcalTimingMonitorModule.cc.

References cap, HLT_FULL_cff::depth, HBHE, nHBHE, and phi.

Referenced by analyze().

111  {
112  HBHE[eta+50][phi][depth][cap]+=val;
113  nHBHE[eta+50][phi][depth][cap]+=1.0;
114  }
static const double cap
Definition: HcalTimeSlew.cc:7
void HcalTimingMonitorModule::set_hf ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inlineprivate

Definition at line 119 of file HcalTimingMonitorModule.cc.

References cap, HLT_FULL_cff::depth, HF, nHF, and phi.

Referenced by analyze().

119  {
120  HF[eta+50][phi][depth][cap]+=val;
121  nHF[eta+50][phi][depth][cap]+=1.0;
122  }
static const double cap
Definition: HcalTimeSlew.cc:7
void HcalTimingMonitorModule::set_ho ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inlineprivate

Definition at line 115 of file HcalTimingMonitorModule.cc.

References cap, HLT_FULL_cff::depth, HO, nHO, and phi.

Referenced by analyze().

115  {
116  HO[eta+50][phi][depth][cap]+=val;
117  nHO[eta+50][phi][depth][cap]+=1.0;
118  }
static const double cap
Definition: HcalTimeSlew.cc:7

Member Data Documentation

bool HcalTimingMonitorModule::CosmicsCorr_
private

Definition at line 169 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::counterEvt_
private

Definition at line 155 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

MonitorElement * HcalTimingMonitorModule::CSCcand
private

Definition at line 173 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

bool HcalTimingMonitorModule::Debug_
private

Definition at line 170 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

MonitorElement* HcalTimingMonitorModule::DTcand
private

Definition at line 173 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

int HcalTimingMonitorModule::GCTTriggerBit1_
private

Definition at line 164 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::GCTTriggerBit2_
private

Definition at line 165 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::GCTTriggerBit3_
private

Definition at line 166 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::GCTTriggerBit4_
private

Definition at line 167 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::GCTTriggerBit5_
private

Definition at line 168 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

MonitorElement* HcalTimingMonitorModule::HBEnergy
private

Definition at line 172 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

double HcalTimingMonitorModule::HBHE[100][73][5][4]
private

Definition at line 147 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_hbhe(), and set_hbhe().

MonitorElement* HcalTimingMonitorModule::HBShapeDT
private

Definition at line 175 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HBShapeGCT
private

Definition at line 177 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HBShapeRPC
private

Definition at line 176 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HBTimeDT
private

Definition at line 186 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HBTimeGCT
private

Definition at line 188 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HBTimeRPC
private

Definition at line 187 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement * HcalTimingMonitorModule::HEEnergy
private

Definition at line 172 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HEShapeCSCm
private

Definition at line 182 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HEShapeCSCp
private

Definition at line 181 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HETimeCSCm
private

Definition at line 193 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HETimeCSCp
private

Definition at line 192 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

double HcalTimingMonitorModule::HF[100][73][5][4]
private

Definition at line 151 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_hf(), and set_hf().

MonitorElement * HcalTimingMonitorModule::HFEnergy
private

Definition at line 172 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HFShapeCSCm
private

Definition at line 184 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HFShapeCSCp
private

Definition at line 183 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HFTimeCSCm
private

Definition at line 195 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HFTimeCSCp
private

Definition at line 194 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

double HcalTimingMonitorModule::HO[100][73][5][4]
private

Definition at line 149 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_ho(), and set_ho().

MonitorElement * HcalTimingMonitorModule::HOEnergy
private

Definition at line 172 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOShapeDT
private

Definition at line 178 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOShapeGCT
private

Definition at line 180 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOShapeRPC
private

Definition at line 179 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOTimeDT
private

Definition at line 189 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOTimeGCT
private

Definition at line 191 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement* HcalTimingMonitorModule::HOTimeRPC
private

Definition at line 190 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

std::string HcalTimingMonitorModule::monitorName_
private

Definition at line 161 of file HcalTimingMonitorModule.cc.

Referenced by HcalTimingMonitorModule(), and initialize().

double HcalTimingMonitorModule::nHBHE[100][73][5][4]
private

Definition at line 148 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_hbhe(), and set_hbhe().

double HcalTimingMonitorModule::nHF[100][73][5][4]
private

Definition at line 152 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_hf(), and set_hf().

double HcalTimingMonitorModule::nHO[100][73][5][4]
private

Definition at line 150 of file HcalTimingMonitorModule.cc.

Referenced by get_ped_ho(), and set_ho().

MonitorElement * HcalTimingMonitorModule::OR
private

Definition at line 173 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

edm::ParameterSet HcalTimingMonitorModule::parameters_
private
int HcalTimingMonitorModule::prescaleEvt_
private

Definition at line 163 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::prescaleLS_
private

Definition at line 163 of file HcalTimingMonitorModule.cc.

Referenced by HcalTimingMonitorModule().

MonitorElement * HcalTimingMonitorModule::RPCbcand
private

Definition at line 173 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

MonitorElement * HcalTimingMonitorModule::RPCfcand
private

Definition at line 173 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and initialize().

int HcalTimingMonitorModule::run_number
private

Definition at line 156 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

std::string HcalTimingMonitorModule::subsystemname_
private

Definition at line 162 of file HcalTimingMonitorModule.cc.

Referenced by bookHistograms(), and HcalTimingMonitorModule().

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> HcalTimingMonitorModule::tok_gtro_
private

Definition at line 197 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

edm::EDGetTokenT<HBHEDigiCollection> HcalTimingMonitorModule::tok_hbhe_
private

Definition at line 200 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

edm::EDGetTokenT<HFDigiCollection> HcalTimingMonitorModule::tok_hf_
private

Definition at line 202 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

edm::EDGetTokenT<HODigiCollection> HcalTimingMonitorModule::tok_ho_
private

Definition at line 201 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

edm::EDGetTokenT<L1MuGMTReadoutCollection> HcalTimingMonitorModule::tok_L1mu_
private

Definition at line 198 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::TrigCSC
private

Definition at line 158 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::TrigDT
private

Definition at line 158 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::TrigGCT
private

Definition at line 158 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().

int HcalTimingMonitorModule::TrigRPC
private

Definition at line 158 of file HcalTimingMonitorModule.cc.

Referenced by analyze(), and HcalTimingMonitorModule().