CMS 3D CMS Logo

Classes | Namespaces | Macros | Typedefs | Enumerations
CSCDQM_Summary.h File Reference
#include <TH2.h>
#include <cmath>
#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

◆ HWSTATUSANY

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

◆ HWSTATUSANYERROR

#define HWSTATUSANYERROR (   s)    (HWSTATUSANY(s, HWSTATUSERRORBITS))

◆ HWSTATUSBITSETSIZE

#define HWSTATUSBITSETSIZE   14

Definition at line 32 of file CSCDQM_Summary.h.

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

◆ HWSTATUSEQUALS

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

Definition at line 34 of file CSCDQM_Summary.h.

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

◆ HWSTATUSERRORBITS

#define HWSTATUSERRORBITS   0xffc

Definition at line 33 of file CSCDQM_Summary.h.

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

◆ NTICS

#define NTICS   100

Definition at line 38 of file CSCDQM_Summary.h.

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