CMS 3D CMS Logo

HcalDigiMonitor.cc File Reference

#include "DQM/HcalMonitorTasks/interface/HcalDigiMonitor.h"
#include <cmath>

Go to the source code of this file.

Functions

static bool bitUpset (int last, int now)


Function Documentation

static bool bitUpset ( int  last,
int  now 
) [static]

Definition at line 20 of file HcalDigiMonitor.cc.

References v.

Referenced by HcalDigiMonitor::processEvent().

00020                                        {
00021   if(last ==-1) return false;
00022   int v = last+1; 
00023   if(v==4) v=0;
00024   if(v==now) return false;
00025   return true;
00026 } // static bool bitUpset(...)


Generated on Tue Jun 9 17:52:38 2009 for CMSSW by  doxygen 1.5.4