CMS 3D CMS Logo

Classes | Namespaces | Defines | Typedefs | Enumerations

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DQM/CSCMonitorModule/plugins/CSCDQM_Summary.h File Reference

#include <TH2.h>
#include <math.h>
#include <vector>
#include <bitset>
#include <iostream>
#include "CSCDQM_Detector.h"
#include "CSCDQM_Logger.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"

Go to the source code of this file.

Classes

class  cscdqm::Summary
 Hardware and Physics Efficiency data structures and routines. More...

Namespaces

namespace  cscdqm

Defines

#define HWSTATUSANY(s, m)   (((std::bitset<HWSTATUSBITSETSIZE>) m & s).any())
#define HWSTATUSANYERROR(s)   (HWSTATUSANY(s, HWSTATUSERRORBITS))
#define HWSTATUSBITSETSIZE   14
#define HWSTATUSEQUALS(s, m)   (((std::bitset<HWSTATUSBITSETSIZE>) m & s) == m)
#define HWSTATUSERRORBITS   0xffc
#define NTICS   100

Typedefs

typedef std::bitset
< HWSTATUSBITSETSIZE > 
cscdqm::HWStatusBitSet
 Hardware Status Bits structure used in Summary efficiency calculation and storage.

Enumerations

enum  cscdqm::HWStatusBit {
  cscdqm::DATA, cscdqm::MASKED, cscdqm::HOT, cscdqm::COLD,
  cscdqm::FORMAT_ERR, cscdqm::L1SYNC_ERR, cscdqm::FIFOFULL_ERR, cscdqm::INPUTTO_ERR,
  cscdqm::NODATA_ALCT, cscdqm::NODATA_CLCT, cscdqm::NODATA_CFEB, cscdqm::CFEB_BWORDS,
  cscdqm::STANDBY, cscdqm::WAS_ON
}
 

Hardware Status Bit values used in Summary efficiency calculation.

More...

Define Documentation

#define HWSTATUSANY (   s,
  m 
)    (((std::bitset<HWSTATUSBITSETSIZE>) m & s).any())
#define HWSTATUSANYERROR (   s)    (HWSTATUSANY(s, HWSTATUSERRORBITS))
#define HWSTATUSBITSETSIZE   14

Definition at line 32 of file CSCDQM_Summary.h.

Referenced by cscdqm::Summary::Reset().

#define HWSTATUSEQUALS (   s,
  m 
)    (((std::bitset<HWSTATUSBITSETSIZE>) m & s) == m)

Definition at line 34 of file CSCDQM_Summary.h.

Referenced by cscdqm::Summary::WriteChamberState().

#define HWSTATUSERRORBITS   0xffc

Definition at line 33 of file CSCDQM_Summary.h.

Referenced by cscdqm::EventProcessor::writeShifterHistograms().

#define NTICS   100

Definition at line 38 of file CSCDQM_Summary.h.

Referenced by cscdqm::Summary::WriteMap().