CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalDigiMonitor.cc File Reference
#include "DQM/HcalMonitorTasks/interface/HcalDigiMonitor.h"
#include "EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h"
#include <cmath>
#include "FWCore/Common/interface/TriggerNames.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
#include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
#include "Geometry/HcalTowerAlgo/src/HcalHardcodeGeometryData.h"
#include "CondFormats/HcalObjects/interface/HcalChannelQuality.h"

Go to the source code of this file.

Functions

static bool bitUpset (int last, int now)
 
 DEFINE_FWK_MODULE (HcalDigiMonitor)
 

Function Documentation

static bool bitUpset ( int  last,
int  now 
)
static

Definition at line 96 of file HcalDigiMonitor.cc.

References findQualityFiles::v.

Referenced by HcalDigiMonitor::process_Digi().

96  {
97  if(last ==-1) return false;
98  int v = last+1;
99  if(v==4) v=0;
100  if(v==now) return false;
101  return true;
102 } // static bool bitUpset(...)
DEFINE_FWK_MODULE ( HcalDigiMonitor  )