CMS 3D CMS Logo

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

#include <HcalDetDiagTimingMonitor.h>

Inheritance diagram for HcalDetDiagTimingMonitor:
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 &iEvent, const edm::EventSetup &iSetup)
 
void bookHistograms (DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
 
void done ()
 
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)
 
 HcalDetDiagTimingMonitor (const edm::ParameterSet &ps)
 
bool isSignal (double *data, int n)
 
void reset ()
 
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)
 
void setup (DQMStore::IBooker &)
 
 ~HcalDetDiagTimingMonitor ()
 
- 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
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 ()
 

Public Attributes

double HBHE [100][73][5][4]
 
double HF [100][73][5][4]
 
double HO [100][73][5][4]
 
double nHBHE [100][73][5][4]
 
double nHF [100][73][5][4]
 
double nHO [100][73][5][4]
 
double occHBHE [100][73][5]
 
double occHF [100][73][5]
 
double occHO [100][73][5]
 
double occSum
 

Private Member Functions

void CheckTiming ()
 

Private Attributes

bool CosmicsCorr_
 
int GCTTriggerBit1_
 
int GCTTriggerBit2_
 
int GCTTriggerBit3_
 
int GCTTriggerBit4_
 
int GCTTriggerBit5_
 
MonitorElementHBHEShape
 
MonitorElementHBTimeDT
 
MonitorElementHBTimeGCT
 
MonitorElementHBTimeHO
 
MonitorElementHBTimeRPC
 
MonitorElementHETimeCSCm
 
MonitorElementHETimeCSCp
 
MonitorElementHETimeRPCm
 
MonitorElementHETimeRPCp
 
MonitorElementHFTimeCSCm
 
MonitorElementHFTimeCSCp
 
MonitorElementHOShape
 
MonitorElementHOTimeDT
 
MonitorElementHOTimeGCT
 
MonitorElementHOTimeHO
 
MonitorElementHOTimeRPC
 
edm::InputTag inputLabelDigi_
 
edm::InputTag L1ADataLabel_
 
MonitorElementSummary
 
edm::EDGetTokenT
< HBHEDigiCollection
tok_hbhe_
 
edm::EDGetTokenT
< HFDigiCollection
tok_hf_
 
edm::EDGetTokenT
< HODigiCollection
tok_ho_
 
edm::EDGetTokenT
< L1GlobalTriggerReadoutRecord
tok_l1_
 
edm::EDGetTokenT
< L1MuGMTReadoutCollection
tok_l1mu_
 
edm::EDGetTokenT
< FEDRawDataCollection
tok_raw_
 

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 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)
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void endRun (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::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
D. Vishnevskiy

Definition at line 28 of file HcalDetDiagTimingMonitor.h.

Constructor & Destructor Documentation

HcalDetDiagTimingMonitor::HcalDetDiagTimingMonitor ( const edm::ParameterSet ps)

Definition at line 38 of file HcalDetDiagTimingMonitor.cc.

References HcalBaseDQMonitor::AllowedCalibTypes_, CosmicsCorr_, HcalBaseDQMonitor::debug_, HcalBaseDQMonitor::enableCleanup_, GCTTriggerBit1_, GCTTriggerBit2_, GCTTriggerBit3_, GCTTriggerBit4_, GCTTriggerBit5_, edm::ParameterSet::getUntrackedParameter(), inputLabelDigi_, HLT_FULL_cff::InputTag, L1ADataLabel_, HcalBaseDQMonitor::makeDiagnostics_, HcalBaseDQMonitor::mergeRuns_, HcalBaseDQMonitor::NLumiBlocks_, HcalBaseDQMonitor::Online_, HcalBaseDQMonitor::prefixME_, HcalBaseDQMonitor::skipOutOfOrderLS_, AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQMonitor::subdir_, tok_hbhe_, tok_hf_, tok_ho_, tok_l1_, tok_l1mu_, and tok_raw_.

39 {
40  Online_ = ps.getUntrackedParameter<bool>("online",false);
41  mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns",false);
42  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup",false);
43  debug_ = ps.getUntrackedParameter<int>("debug",0);
44  prefixME_ = ps.getUntrackedParameter<std::string>("subSystemFolder","Hcal/");
45  if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!="/")
46  prefixME_.append("/");
47  subdir_ = ps.getUntrackedParameter<std::string>("TaskFolder","DetDiagTimingMonitor_Hcal");
48  if (subdir_.size()>0 && subdir_.substr(subdir_.size()-1,subdir_.size())!="/")
49  subdir_.append("/");
50  subdir_=prefixME_+subdir_;
51  AllowedCalibTypes_ = ps.getUntrackedParameter<std::vector<int> > ("AllowedCalibTypes");
52  skipOutOfOrderLS_ = ps.getUntrackedParameter<bool>("skipOutOfOrderLS",false);
53  NLumiBlocks_ = ps.getUntrackedParameter<int>("NLumiBlocks",4000);
54  makeDiagnostics_ = ps.getUntrackedParameter<bool>("makeDiagnostics",false);
55 
56  GCTTriggerBit1_= ps.getUntrackedParameter<int>("GCTTriggerBit1", 15);
57  GCTTriggerBit2_= ps.getUntrackedParameter<int>("GCTTriggerBit2", 16);
58  GCTTriggerBit3_= ps.getUntrackedParameter<int>("GCTTriggerBit3", 17);
59  GCTTriggerBit4_= ps.getUntrackedParameter<int>("GCTTriggerBit4", 18);
60  GCTTriggerBit5_= ps.getUntrackedParameter<int>("GCTTriggerBit5", 16);
61  CosmicsCorr_ = ps.getUntrackedParameter<bool>("CosmicsCorr", true);
62 
65 
66  // register for data access
67  tok_raw_ = consumes<FEDRawDataCollection>(ps.getUntrackedParameter<edm::InputTag>("FEDRawDataCollection",edm::InputTag("source","")));
68  tok_l1_ = consumes<L1GlobalTriggerReadoutRecord>(L1ADataLabel_);
69  tok_l1mu_ = consumes<L1MuGMTReadoutCollection>(L1ADataLabel_);
70  tok_hbhe_ = consumes<HBHEDigiCollection>(inputLabelDigi_);
71  tok_ho_ = consumes<HODigiCollection>(inputLabelDigi_);
72  tok_hf_ = consumes<HFDigiCollection>(inputLabelDigi_);
73 }
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
std::vector< int > AllowedCalibTypes_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
edm::EDGetTokenT< L1MuGMTReadoutCollection > tok_l1mu_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_l1_
edm::EDGetTokenT< HODigiCollection > tok_ho_
HcalDetDiagTimingMonitor::~HcalDetDiagTimingMonitor ( )

Definition at line 75 of file HcalDetDiagTimingMonitor.cc.

75 {}

Member Function Documentation

void HcalDetDiagTimingMonitor::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 138 of file HcalDetDiagTimingMonitor.cc.

References adc2fC, HcalBaseDQMonitor::analyze(), CheckTiming(), CosmicsCorr_, FEDRawData::data(), data, HLT_FULL_cff::depth, relval_parameters_module::energy, eta, MonitorElement::Fill(), GCTTriggerBit1_, GCTTriggerBit2_, GCTTriggerBit3_, GCTTriggerBit4_, GCTTriggerBit5_, get_ped_hbhe(), get_ped_hf(), get_ped_ho(), edm::Event::getByToken(), L1MuGMTReadoutCollection::getRecords(), GetTime(), HBHEShape, HBTimeDT, HBTimeGCT, HBTimeHO, HBTimeRPC, hc_Null, HcalBarrel, HcalEndcap, HETimeCSCm, HETimeCSCp, HETimeRPCm, HETimeRPCp, HFTimeCSCm, HFTimeCSCp, HOShape, HOTimeDT, HOTimeGCT, HOTimeHO, HOTimeRPC, i, HcalBaseDQMonitor::ievt_, HcalBaseDQMonitor::IsAllowedCalibType(), isSignal(), edm::HandleBase::isValid(), HcalBaseDQMonitor::LumiInOrder(), edm::EventBase::luminosityBlock(), MAXCSC, MAXDTBX, FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXHCALuTCAFEDID, MAXRPC, FEDNumbering::MINHCALFEDID, FEDNumbering::MINHCALuTCAFEDID, N, occHBHE, occHF, occHO, occSum, phi, edm::Handle< T >::product(), lumiPlot::rawdata, set_hbhe(), set_hf(), set_ho(), funct::sin(), FEDRawData::size(), tok_hbhe_, tok_hf_, tok_ho_, tok_l1_, tok_l1mu_, tok_raw_, TRIG_CSC, TRIG_DT, TRIG_GCT, TRIG_RPC, and TRIG_RPCF.

139 {
140  HcalBaseDQMonitor::analyze(iEvent, iSetup);
141  if (!IsAllowedCalibType()) return;
142  if (LumiInOrder(iEvent.luminosityBlock())==false) return;
143 // HcalBaseDQMonitor::analyze(iEvent, iSetup);
144 
145  int eta,phi,depth,nTS,BXinEVENT=1,TRIGGER=0;
146 
147  // We do not want to look at Abort Gap events
149  iEvent.getByToken(tok_raw_,rawdata);
150  //checking FEDs for calibration information
151  if(!rawdata.isValid()) return;
154  {
156  continue;
157 
158  const FEDRawData& fedData = rawdata->FEDData(i) ;
159  if ( fedData.size() < 24 ) continue ;
160  if(((const HcalDCCHeader*)(fedData.data()))->getCalibType()!=hc_Null) return;
161  }
164  bool GCTTrigger1=false,GCTTrigger2=false,GCTTrigger3=false,GCTTrigger4=false,GCTTrigger5=false,HOselfTrigger=false;
165  // Check GCT trigger bits
167  iEvent.getByToken(tok_l1_, gtRecord);
168  if(gtRecord.isValid()){
169 
170  const TechnicalTriggerWord tWord = gtRecord->technicalTriggerWord();
171  const DecisionWord dWord = gtRecord->decisionWord();
172  //bool HFselfTrigger = tWord.at(9);
173  if (!tWord.empty()) HOselfTrigger = tWord.at(11);
174 
175  if (!dWord.empty())
176  {
177  GCTTrigger1 = dWord.at(GCTTriggerBit1_);
178  GCTTrigger2 = dWord.at(GCTTriggerBit2_);
179  GCTTrigger3 = dWord.at(GCTTriggerBit3_);
180  GCTTrigger4 = dWord.at(GCTTriggerBit4_);
181  GCTTrigger5 = dWord.at(GCTTriggerBit5_);
182  }
183 
184  // define trigger trigger source (example from GMT group)
186  iEvent.getByToken(tok_l1mu_,gmtrc_handle);
187  if(!gmtrc_handle.isValid()) return;
188  L1MuGMTReadoutCollection const* gmtrc = gmtrc_handle.product();
189 
190  int idt =0;
191  int icsc =0;
192  int irpcb =0;
193  int irpcf =0;
194  int ndt[5] = {0,0,0,0,0};
195  int ncsc[5] = {0,0,0,0,0};
196  int nrpcb[5] = {0,0,0,0,0};
197  int nrpcf[5] = {0,0,0,0,0};
198  int N;
199  std::vector<L1MuGMTReadoutRecord> gmt_records = gmtrc->getRecords();
200  std::vector<L1MuGMTReadoutRecord>::const_iterator igmtrr;
201  N=0;
202  int NN=0;
203  for(igmtrr=gmt_records.begin(); igmtrr!=gmt_records.end(); igmtrr++) {
204  if(igmtrr->getBxInEvent()==0) BXinEVENT=NN;
205  NN++;
206  std::vector<L1MuRegionalCand>::const_iterator iter1;
207  std::vector<L1MuRegionalCand> rmc;
208  // DTBX Trigger
209  rmc = igmtrr->getDTBXCands();
210  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
211  if ( idt < MAXDTBX && !(*iter1).empty() ) {
212  idt++;
213  if(N<5) ndt[N]++;
214 
215  }
216  }
217  // CSC Trigger
218  rmc = igmtrr->getCSCCands();
219  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
220  if ( icsc < MAXCSC && !(*iter1).empty() ) {
221  icsc++;
222  if(N<5) ncsc[N]++;
223  }
224  }
225  // RPCb Trigger
226  rmc = igmtrr->getBrlRPCCands();
227  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
228  if ( irpcb < MAXRPC && !(*iter1).empty() ) {
229  irpcb++;
230  if(N<5) nrpcb[N]++;
231 
232  }
233  }
234  // RPCfwd Trigger
235  rmc = igmtrr->getFwdRPCCands();
236  for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
237  if ( irpcf < MAXRPC && !(*iter1).empty() ) {
238  irpcf++;
239  if(N<5) nrpcf[N]++;
240 
241  }
242  }
243 
244  N++;
245  }
246  if(ncsc[BXinEVENT]>0 ) { TRIGGER=+TRIG_CSC; }
247  if(ndt[BXinEVENT]>0 ) { TRIGGER=+TRIG_DT; }
248  if(nrpcb[BXinEVENT]>0) { TRIGGER=+TRIG_RPC; }
249  if(nrpcf[BXinEVENT]>0) { TRIGGER=+TRIG_RPCF; }
250  if(GCTTrigger1 || GCTTrigger2 || GCTTrigger3 || GCTTrigger4 || GCTTrigger5) { TRIGGER=+TRIG_GCT; }
251  }
254  if(ievt_<100){
256  iEvent.getByToken(tok_hbhe_,hbhe);
257  if(hbhe.isValid()){
258  for(HBHEDigiCollection::const_iterator digi=hbhe->begin();digi!=hbhe->end();digi++){
259  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
260  for(int i=0;i<nTS;i++) if(digi->sample(i).adc()<20) set_hbhe(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
261  }
262  }
264  iEvent.getByToken(tok_ho_,ho);
265  if(ho.isValid()){
266  for(HODigiCollection::const_iterator digi=ho->begin();digi!=ho->end();digi++){
267  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
268  for(int i=0;i<nTS;i++) if(digi->sample(i).adc()<20) set_ho(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
269  }
270  }
272  iEvent.getByToken(tok_hf_,hf);
273  if(hf.isValid()){
274  for(HFDigiCollection::const_iterator digi=hf->begin();digi!=hf->end();digi++){
275  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
276  for(int i=0;i<nTS;i++) if(digi->sample(i).adc()<20) set_hf(eta,phi,depth,digi->sample(i).capid(),adc2fC[digi->sample(i).adc()]);
277  }
278  }
279  return;
280  }
283  double data[20];
285  iEvent.getByToken(tok_hbhe_,hbhe);
286  if(hbhe.isValid()){
287  for(HBHEDigiCollection::const_iterator digi=hbhe->begin();digi!=hbhe->end();digi++){
288  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
289  for(int i=0;i<nTS;i++) data[i]=adc2fC[digi->sample(i).adc()]-get_ped_hbhe(eta,phi,depth,digi->sample(i).capid());
290 
291  double energy=0;
292  for(int i=0;i<nTS;i++) energy+=data[i];
293  if(energy>20) for(int i=0;i<nTS;i++) HBHEShape->Fill(i,data[i]);
294 
295  if(!isSignal(data,nTS)) continue;
296 
297  occHBHE[eta+50][phi][depth]+=1.0; occSum+=1.0;
298  if((occHBHE[eta+50][phi][depth]/(double)(ievt_))>0.001) continue;
299 
300  double Time=GetTime(data,nTS);
301  if(digi->id().subdet()==HcalBarrel){
302  if(TRIGGER==TRIG_GCT) HBTimeGCT->Fill(Time);
303  if(CosmicsCorr_) Time+=(7.5*sin((phi*5.0)/180.0*3.14159))/25.0;
304  if(TRIGGER==TRIG_DT) HBTimeDT->Fill(Time);
305  if(HOselfTrigger) HBTimeHO->Fill(Time);
306  if(TRIGGER==TRIG_RPC) HBTimeRPC->Fill(Time);
307  }
308  if(digi->id().subdet()==HcalEndcap){
309  if(CosmicsCorr_) Time+=(3.5*sin((phi*5.0)/180.0*3.14159))/25.0;
310  if(TRIGGER==TRIG_CSC && eta>0) HETimeCSCp->Fill(Time);
311  if(TRIGGER==TRIG_CSC && eta<0) HETimeCSCm->Fill(Time);
312  if(TRIGGER==TRIG_RPCF && eta>0) HETimeRPCp->Fill(Time);
313  if(TRIGGER==TRIG_RPCF && eta<0) HETimeRPCm->Fill(Time);
314  }
315 
316  }
317  }
319  iEvent.getByToken(tok_ho_,ho);
320  if(ho.isValid()){
321  for(HODigiCollection::const_iterator digi=ho->begin();digi!=ho->end();digi++){
322  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
323  for(int i=0;i<nTS;i++) data[i]=adc2fC[digi->sample(i).adc()]-get_ped_ho(eta,phi,depth,digi->sample(i).capid());
324 
325  double energy=0;
326  for(int i=0;i<nTS;i++) energy+=data[i];
327  if(energy>100) for(int i=0;i<nTS;i++) HOShape->Fill(i,data[i]);
328  if(energy<100) continue;
329 
330  occHO[eta+50][phi][depth]+=1.0;
331  occSum+=1.0;
332  if((occHO[eta+50][phi][depth]/(double)(ievt_))>0.001) continue;
333 
334  double Time=GetTime(data,nTS);
335  if(CosmicsCorr_) Time+=(12.0*sin((phi*5.0)/180.0*3.14159))/25.0;
336  if(TRIGGER==TRIG_DT) HOTimeDT ->Fill(Time);
337  if(HOselfTrigger) HOTimeHO ->Fill(Time);
338  if(TRIGGER==TRIG_RPC) HOTimeRPC->Fill(Time);
339  if(TRIGGER==TRIG_GCT) HOTimeGCT->Fill(Time);
340  }
341  }
343  iEvent.getByToken(tok_hf_,hf);
344  if(hf.isValid()){
345  for(HFDigiCollection::const_iterator digi=hf->begin();digi!=hf->end();digi++){
346  eta=digi->id().ieta(); phi=digi->id().iphi(); depth=digi->id().depth(); nTS=digi->size();
347  double energy=0;
348  for(int i=0;i<nTS;i++){
349  data[i]=adc2fC[digi->sample(i).adc()]-get_ped_hf(eta,phi,depth,digi->sample(i).capid());
350  energy+=data[i];
351  }
352 
353  if(energy<25.0) continue;
354  occHF[eta+50][phi][depth]+=1.0;
355  occSum+=1.0;
356 
357  double Time=GetTime(data,nTS);
358  if((occHF[eta+50][phi][depth]/(double)(ievt_))>0.01) continue;
359 
360  if(TRIGGER==TRIG_CSC && eta>0) HFTimeCSCp->Fill(Time);
361  if(TRIGGER==TRIG_CSC && eta<0) HFTimeCSCm->Fill(Time);
362  }
363  }
364  if((ievt_%500)==0){
365  CheckTiming();
366  //printf("Run: %i, Evants processed: %i\n",iEvent.run(),ievt_);
367  }
368 }
int i
Definition: DBlmapReader.cc:9
bool LumiInOrder(int lumisec)
static const int MAXCSC
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
void set_hf(int eta, int phi, int depth, int cap, float val)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
static const int TRIG_CSC
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
std::vector< HBHEDataFrame >::const_iterator const_iterator
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:62
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
static const int MAXRPC
static const float adc2fC[128]
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
void Fill(long long x)
edm::EDGetTokenT< HFDigiCollection > tok_hf_
static const int TRIG_RPC
static const int MAXDTBX
bool isSignal(double *data, int n)
double get_ped_ho(int eta, int phi, int depth, int cup)
std::vector< bool > DecisionWord
typedefs
static const int TRIG_GCT
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
edm::EDGetTokenT< L1MuGMTReadoutCollection > tok_l1mu_
bool isValid() const
Definition: HandleBase.h:75
void set_ho(int eta, int phi, int depth, int cap, float val)
#define N
Definition: blowfish.cc:9
static const int TRIG_RPCF
T const * product() const
Definition: Handle.h:81
double get_ped_hbhe(int eta, int phi, int depth, int cup)
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_l1_
double get_ped_hf(int eta, int phi, int depth, int cup)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void set_hbhe(int eta, int phi, int depth, int cap, float val)
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
dictionary rawdata
Definition: lumiPlot.py:393
double GetTime(double *data, int n)
edm::EDGetTokenT< HODigiCollection > tok_ho_
static const int TRIG_DT
void HcalDetDiagTimingMonitor::bookHistograms ( DQMStore::IBooker ib,
const edm::Run run,
const edm::EventSetup c 
)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 79 of file HcalDetDiagTimingMonitor.cc.

References HcalBaseDQMonitor::bookHistograms(), gather_cfg::cout, HcalBaseDQMonitor::debug_, HcalBaseDQMonitor::mergeRuns_, reset(), setup(), and HcalBaseDQMonitor::tevt_.

80 {
81  if (debug_>1) std::cout <<"HcalDetDiagTimingMonitor::bookHistograms"<<std::endl;
83 
84  if (tevt_==0) this->setup(ib); // set up histograms if they have not been created before
85  if (mergeRuns_==false)
86  this->reset();
87 
88  return;
89 
90 } // void HcalNDetDiagTimingMonitor::bookHistograms(...)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
void setup(DQMStore::IBooker &)
tuple cout
Definition: gather_cfg.py:145
void HcalDetDiagTimingMonitor::CheckTiming ( )
private

Definition at line 370 of file HcalDetDiagTimingMonitor.cc.

References MonitorElement::getEntries(), HBTimeDT, HBTimeGCT, HBTimeHO, HBTimeRPC, HETimeCSCm, HETimeCSCp, HETimeRPCm, HETimeRPCp, HFTimeCSCm, HFTimeCSCp, HOTimeDT, HOTimeGCT, HOTimeHO, HOTimeRPC, MonitorElement::setBinContent(), and Summary.

Referenced by analyze().

370  {
371  if(HBTimeDT->getEntries()>10){
372  Summary->setBinContent(1,1,1);
373  }
374  if(HBTimeRPC->getEntries()>10){
375  Summary->setBinContent(2,1,1);
376  }
377  if(HBTimeGCT->getEntries()>10){
378  Summary->setBinContent(3,1,1);
379  }
380  if(HBTimeHO->getEntries()>10){
381  Summary->setBinContent(6,1,1);
382  }
383  if(HOTimeDT->getEntries()>10){
384  Summary->setBinContent(1,2,1);
385  }
386  if(HOTimeRPC->getEntries()>10){
387  Summary->setBinContent(2,2,1);
388  }
389  if(HOTimeGCT->getEntries()>10){
390  Summary->setBinContent(3,2,1);
391  }
392  if(HOTimeHO->getEntries()>10){
393  Summary->setBinContent(6,2,1);
394  }
395  if(HETimeCSCp->getEntries()>10){
396  Summary->setBinContent(4,4,1);
397  }
398  if(HETimeCSCm->getEntries()>10){
399  Summary->setBinContent(4,3,1);
400  }
401  if(HETimeRPCp->getEntries()>10){
402  Summary->setBinContent(5,4,1);
403  }
404  if(HETimeRPCm->getEntries()>10){
405  Summary->setBinContent(5,3,1);
406  }
407  if(HFTimeCSCp->getEntries()>10){
408  Summary->setBinContent(4,6,1);
409  }
410  if(HFTimeCSCm->getEntries()>10){
411  Summary->setBinContent(4,4,1);
412  }
413 }
void setBinContent(int binx, double content)
set content of bin (1-D)
double getEntries(void) const
get # of entries
void HcalDetDiagTimingMonitor::done ( )

Definition at line 415 of file HcalDetDiagTimingMonitor.cc.

415 { }
double HcalDetDiagTimingMonitor::get_ped_hbhe ( int  eta,
int  phi,
int  depth,
int  cup 
)
inline

Definition at line 67 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

67  {
68  if(nHBHE[eta+50][phi][depth][cup]<10) return 2.5;
69  if(nHBHE[eta+50][phi][depth][cup]!=0){
70  double ped=HBHE[eta+50][phi][depth][cup]/nHBHE[eta+50][phi][depth][cup];
71  if(ped>1.5 && ped<4.5) return ped;
72  }
73  return 9999;
74  }
double HcalDetDiagTimingMonitor::get_ped_hf ( int  eta,
int  phi,
int  depth,
int  cup 
)
inline

Definition at line 83 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

83  {
84  if(nHF[eta+50][phi][depth][cup]<10) return 2.5;
85  if(nHF[eta+50][phi][depth][cup]!=0){
86  double ped=HF[eta+50][phi][depth][cup]/nHF[eta+50][phi][depth][cup];
87  if(ped>1.5 && ped<4.5) return ped;
88  }
89  return 9999;
90  }
double HcalDetDiagTimingMonitor::get_ped_ho ( int  eta,
int  phi,
int  depth,
int  cup 
)
inline

Definition at line 75 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

75  {
76  if(nHO[eta+50][phi][depth][cup]<10) return 8.5;
77  if(nHO[eta+50][phi][depth][cup]!=0){
78  double ped=HO[eta+50][phi][depth][cup]/nHO[eta+50][phi][depth][cup];
79  if(ped>5 && ped<15) return ped;
80  }
81  return 9999;
82  }
double HcalDetDiagTimingMonitor::GetTime ( double *  data,
int  n 
)
inline

Definition at line 33 of file HcalDetDiagTimingMonitor.h.

References j, and gen::n.

Referenced by analyze().

33  {
34  int MaxI=-100; double Time=0,SumT=0,MaxT=-10;
35  for(int j=0;j<n;++j) if(MaxT<data[j]){ MaxT=data[j]; MaxI=j; }
36  if(MaxI>=0){
37  Time=MaxI*data[MaxI];
38  SumT=data[MaxI];
39  if(MaxI>0){ Time+=(MaxI-1)*data[MaxI-1]; SumT+=data[MaxI-1]; }
40  if(MaxI<(n-1)){ Time+=(MaxI+1)*data[MaxI+1]; SumT+=data[MaxI+1]; }
41  Time=Time/SumT;
42  }
43  return Time;
44  }
int j
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
bool HcalDetDiagTimingMonitor::isSignal ( double *  data,
int  n 
)
inline

Definition at line 45 of file HcalDetDiagTimingMonitor.h.

References i, and bookConverter::max.

Referenced by analyze().

45  {
46  int Imax=-1; double max=-100;
47  for(int i=0;i<n;i++) if(data[i]>max){max=data[i]; Imax=i;}
48  if(Imax==0 && Imax==(n-1)) return false;
49  float sum=data[Imax-1]+data[Imax+1];
50  if(data[Imax]>5.5 && sum>(data[Imax]*0.25)) return true;
51  return false;
52  }
int i
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void HcalDetDiagTimingMonitor::reset ( void  )
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 77 of file HcalDetDiagTimingMonitor.cc.

Referenced by bookHistograms().

77 {}
void HcalDetDiagTimingMonitor::set_hbhe ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inline

Definition at line 55 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

55  {
56  HBHE[eta+50][phi][depth][cap]+=val;
57  nHBHE[eta+50][phi][depth][cap]+=1.0;
58  }
static const double cap
Definition: HcalTimeSlew.cc:7
void HcalDetDiagTimingMonitor::set_hf ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inline

Definition at line 63 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

63  {
64  HF[eta+50][phi][depth][cap]+=val;
65  nHF[eta+50][phi][depth][cap]+=1.0;
66  }
static const double cap
Definition: HcalTimeSlew.cc:7
void HcalDetDiagTimingMonitor::set_ho ( int  eta,
int  phi,
int  depth,
int  cap,
float  val 
)
inline

Definition at line 59 of file HcalDetDiagTimingMonitor.h.

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

Referenced by analyze().

59  {
60  HO[eta+50][phi][depth][cap]+=val;
61  nHO[eta+50][phi][depth][cap]+=1.0;
62  }
static const double cap
Definition: HcalTimeSlew.cc:7
void HcalDetDiagTimingMonitor::setup ( DQMStore::IBooker ib)
virtual

Reimplemented from HcalBaseDQMonitor.

Definition at line 94 of file HcalDetDiagTimingMonitor.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), HBHEShape, HBTimeDT, HBTimeGCT, HBTimeHO, HBTimeRPC, HETimeCSCm, HETimeCSCp, HETimeRPCm, HETimeRPCp, HFTimeCSCm, HFTimeCSCp, HOShape, HOTimeDT, HOTimeGCT, HOTimeHO, HOTimeRPC, i, j, MonitorElement::setBinContent(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), HcalBaseDQMonitor::setup(), AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQMonitor::subdir_, and Summary.

Referenced by bookHistograms().

95 {
96 
98 
99  std::string str;
101  str="Hcal Timing summary"; Summary = ib.book2D(str,str,6,0,6,6,0,6);
102  Summary->setBinLabel(1,"DT",1);
103  Summary->setBinLabel(2,"RPC",1);
104  Summary->setBinLabel(3,"GCT",1);
105  Summary->setBinLabel(4,"CSC",1);
106  Summary->setBinLabel(5,"RPCf",1);
107  Summary->setBinLabel(6,"bit11",1);
108  Summary->setBinLabel(1,"HB",2);
109  Summary->setBinLabel(2,"HO",2);
110  Summary->setBinLabel(3,"HEM",2);
111  Summary->setBinLabel(4,"HEP",2);
112  Summary->setBinLabel(5,"HFM",2);
113  Summary->setBinLabel(6,"HFP",2);
114  for(int i=1;i<=6;i++) for(int j=1;j<=6;j++) Summary->setBinContent(i,j,-1);
115 
116  ib.setCurrentFolder(subdir_+"Timing Plots");
117  str="HB Timing (DT Trigger)"; HBTimeDT = ib.book1D(str,str,100,0,10);
118  str="HO Timing (DT Trigger)"; HOTimeDT = ib.book1D(str,str,100,0,10);
119  str="HB Timing (RPC Trigger)"; HBTimeRPC = ib.book1D(str,str,100,0,10);
120  str="HO Timing (RPC Trigger)"; HOTimeRPC = ib.book1D(str,str,100,0,10);
121  str="HB Timing (HO SelfTrigger tech bit 11)"; HBTimeHO = ib.book1D(str,str,100,0,10);
122  str="HO Timing (HO SelfTrigger tech bit 11)"; HOTimeHO = ib.book1D(str,str,100,0,10);
123 
124  str="HB Timing (GCT Trigger alg bit 15 16 17 18)"; HBTimeGCT =ib.book1D(str,str,100,0,10);
125  str="HO Timing (GCT Trigger alg bit 15 16 17 18)"; HOTimeGCT =ib.book1D(str,str,100,0,10);
126 
127  str="HEP Timing (CSC Trigger)"; HETimeCSCp =ib.book1D(str,str,100,0,10);
128  str="HEM Timing (CSC Trigger)"; HETimeCSCm =ib.book1D(str,str,100,0,10);
129  str="HEP Timing (RPCf Trigger)"; HETimeRPCp =ib.book1D(str,str,100,0,10);
130  str="HEM Timing (RPCf Trigger)"; HETimeRPCm =ib.book1D(str,str,100,0,10);
131  str="HFP Timing (CSC Trigger)"; HFTimeCSCp =ib.book1D(str,str,100,0,10);
132  str="HFM Timing (CSC Trigger)"; HFTimeCSCm =ib.book1D(str,str,100,0,10);
133  str="HBHE Shape"; HBHEShape =ib.book1D(str,str,10,-0.5,9.5);
134  str="HO Shape"; HOShape =ib.book1D(str,str,10,-0.5,9.5);
135 
136 }
int i
Definition: DBlmapReader.cc:9
void setBinContent(int binx, double content)
set content of bin (1-D)
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 * book1D(Args &&...args)
Definition: DQMStore.h:115
int j
Definition: DBlmapReader.cc:9
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
virtual void setup(DQMStore::IBooker &)

Member Data Documentation

bool HcalDetDiagTimingMonitor::CosmicsCorr_
private

Definition at line 128 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

int HcalDetDiagTimingMonitor::GCTTriggerBit1_
private

Definition at line 123 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

int HcalDetDiagTimingMonitor::GCTTriggerBit2_
private

Definition at line 124 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

int HcalDetDiagTimingMonitor::GCTTriggerBit3_
private

Definition at line 125 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

int HcalDetDiagTimingMonitor::GCTTriggerBit4_
private

Definition at line 126 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

int HcalDetDiagTimingMonitor::GCTTriggerBit5_
private

Definition at line 127 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

double HcalDetDiagTimingMonitor::HBHE[100][73][5][4]

Definition at line 91 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_hbhe(), and set_hbhe().

MonitorElement* HcalDetDiagTimingMonitor::HBHEShape
private

Definition at line 130 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and setup().

MonitorElement* HcalDetDiagTimingMonitor::HBTimeDT
private

Definition at line 132 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HBTimeGCT
private

Definition at line 134 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HBTimeHO
private

Definition at line 135 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HBTimeRPC
private

Definition at line 133 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HETimeCSCm
private

Definition at line 141 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HETimeCSCp
private

Definition at line 140 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HETimeRPCm
private

Definition at line 143 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HETimeRPCp
private

Definition at line 142 of file HcalDetDiagTimingMonitor.h.

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

double HcalDetDiagTimingMonitor::HF[100][73][5][4]

Definition at line 95 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_hf(), and set_hf().

MonitorElement* HcalDetDiagTimingMonitor::HFTimeCSCm
private

Definition at line 145 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HFTimeCSCp
private

Definition at line 144 of file HcalDetDiagTimingMonitor.h.

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

double HcalDetDiagTimingMonitor::HO[100][73][5][4]

Definition at line 93 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_ho(), and set_ho().

MonitorElement* HcalDetDiagTimingMonitor::HOShape
private

Definition at line 131 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and setup().

MonitorElement* HcalDetDiagTimingMonitor::HOTimeDT
private

Definition at line 136 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HOTimeGCT
private

Definition at line 138 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HOTimeHO
private

Definition at line 139 of file HcalDetDiagTimingMonitor.h.

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

MonitorElement* HcalDetDiagTimingMonitor::HOTimeRPC
private

Definition at line 137 of file HcalDetDiagTimingMonitor.h.

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

edm::InputTag HcalDetDiagTimingMonitor::inputLabelDigi_
private

Definition at line 113 of file HcalDetDiagTimingMonitor.h.

Referenced by HcalDetDiagTimingMonitor().

edm::InputTag HcalDetDiagTimingMonitor::L1ADataLabel_
private

Definition at line 114 of file HcalDetDiagTimingMonitor.h.

Referenced by HcalDetDiagTimingMonitor().

double HcalDetDiagTimingMonitor::nHBHE[100][73][5][4]

Definition at line 92 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_hbhe(), and set_hbhe().

double HcalDetDiagTimingMonitor::nHF[100][73][5][4]

Definition at line 96 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_hf(), and set_hf().

double HcalDetDiagTimingMonitor::nHO[100][73][5][4]

Definition at line 94 of file HcalDetDiagTimingMonitor.h.

Referenced by get_ped_ho(), and set_ho().

double HcalDetDiagTimingMonitor::occHBHE[100][73][5]

Definition at line 100 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze().

double HcalDetDiagTimingMonitor::occHF[100][73][5]

Definition at line 102 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze().

double HcalDetDiagTimingMonitor::occHO[100][73][5]

Definition at line 101 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze().

double HcalDetDiagTimingMonitor::occSum

Definition at line 103 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze().

MonitorElement* HcalDetDiagTimingMonitor::Summary
private

Definition at line 146 of file HcalDetDiagTimingMonitor.h.

Referenced by CheckTiming(), and setup().

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

Definition at line 119 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

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

Definition at line 121 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

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

Definition at line 120 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> HcalDetDiagTimingMonitor::tok_l1_
private

Definition at line 117 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

edm::EDGetTokenT<L1MuGMTReadoutCollection> HcalDetDiagTimingMonitor::tok_l1mu_
private

Definition at line 118 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().

edm::EDGetTokenT<FEDRawDataCollection> HcalDetDiagTimingMonitor::tok_raw_
private

Definition at line 116 of file HcalDetDiagTimingMonitor.h.

Referenced by analyze(), and HcalDetDiagTimingMonitor().