test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Enumerations
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

 cscdqm
 

Macros

#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< 14 > cscdqm::HWStatusBitSet
 Hardware Status Bits structure used in Summary efficiency calculation and storage. More...
 

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...
 

Macro Definition Documentation

#define HWSTATUSANY (   s,
 
)    (((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,
 
)    (((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().