CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalRawDataClient Class Reference

#include <HcalRawDataClient.h>

Inheritance diagram for HcalRawDataClient:
HcalBaseDQClient

Public Member Functions

void analyze (DQMStore::IBooker &, DQMStore::IGetter &)
 
void beginRun (void)
 
void calculateProblems (DQMStore::IBooker &, DQMStore::IGetter &)
 
void cleanup (void)
 
void endJob (void)
 
bool hasErrors_Temp (void)
 
bool hasOther_Temp (void)
 
bool hasWarnings_Temp (void)
 
 HcalRawDataClient ()
 Constructors. More...
 
 HcalRawDataClient (std::string myname)
 
 HcalRawDataClient (std::string myname, const edm::ParameterSet &ps)
 
void setup (void)
 
bool test_enabled (void)
 
void updateChannelStatus (std::map< HcalDetId, unsigned int > &myqual)
 
 ~HcalRawDataClient ()
 Destructor. More...
 
- Public Member Functions inherited from HcalBaseDQClient
virtual void calculateProblems (void)
 
void getLogicalMap (const edm::EventSetup &es)
 
 HcalBaseDQClient ()
 
 HcalBaseDQClient (std::string s, const edm::ParameterSet &ps)
 
virtual void htmlOutput (DQMStore::IBooker &, DQMStore::IGetter &, std::string htmlDir)
 
std::string name ()
 
void setEventSetup (const edm::EventSetup &es)
 
virtual void setStatusMap (std::map< HcalDetId, unsigned int > &map)
 
void setTopo (const HcalTopology *topo)
 
virtual bool validHtmlOutput (DQMStore::IBooker &, DQMStore::IGetter &)
 
virtual ~HcalBaseDQClient (void)
 

Private Member Functions

void fillProblemCountArray (DQMStore::IBooker &, DQMStore::IGetter &)
 
void getHardwareSpaceHistos (DQMStore::IBooker &, DQMStore::IGetter &)
 
HcalDetId HashToHDI (int thehash)
 
int hashup (uint32_t d=0, uint32_t s=0, uint32_t c=1)
 
void mapChannproblem (int dcc, int spigot, int htrchan, float n)
 
void mapDCCproblem (int dcc, float n)
 
void mapHTRproblem (int dcc, int spigot, float n)
 
void normalizeHardwareSpaceHistos (void)
 
void setupProblemCells (DQMStore::IBooker &, DQMStore::IGetter &)
 
void stashHDI (int thehash, HcalDetId thehcaldetid)
 

Private Attributes

TH2F * Chann_DataIntegrityCheck_ [32]
 
TH2F * ChannSumm_DataIntegrityCheck_
 
TH2F * DataFlowInd_
 
bool doProblemCellSetup_
 
bool excludeHORing2_
 
TH2F * HalfHTRDataCorruptionIndicators_
 
HcalDetId hashedHcalDetId_ [32 *15 *24]
 
TH2F * LRBDataCorruptionIndicators_
 
TH2F * meBCNSynch_
 
TH2F * meCDFErrorFound_
 
TH2F * meDCCEventFormatError_
 
TH2F * meEvtNumberSynch_
 
TH2F * meOrNSynch_
 
int nevts_
 
float numTS_ [32 *15]
 
uint64_t problemcount [85][72][4]
 
const HcalElectronicsMapreadoutMap_
 

Additional Inherited Members

- Public Attributes inherited from HcalBaseDQClient
int badChannelStatusMask_
 
std::map< HcalDetId, unsigned int > badstatusmap
 
const edm::EventSetupc
 
bool cloneME_
 
int debug_
 
bool enableCleanup_
 
bool enoughevents_
 
HcalLogicalMaplogicalMap_
 
double minerrorrate_
 
int minevents_
 
std::string name_
 
bool needLogicalMap_
 
bool Online_
 
std::string prefixME_
 
MonitorElementProblemCells
 
EtaPhiHistsProblemCellsByDepth
 
std::vector< std::string > problemnames_
 
std::string subdir_
 
bool testenabled_
 
const HcalTopologytopo_
 
bool validHtmlOutput_
 

Detailed Description

Definition at line 12 of file HcalRawDataClient.h.

Constructor & Destructor Documentation

HcalRawDataClient::HcalRawDataClient ( )
inline

Constructors.

Definition at line 17 of file HcalRawDataClient.h.

References HcalBaseDQClient::name_.

17 {name_="";};
HcalRawDataClient::HcalRawDataClient ( std::string  myname)

Definition at line 23 of file HcalRawDataClient.cc.

HcalRawDataClient::HcalRawDataClient ( std::string  myname,
const edm::ParameterSet ps 
)

Definition at line 28 of file HcalRawDataClient.cc.

HcalRawDataClient::~HcalRawDataClient ( )

Destructor.

Definition at line 706 of file HcalRawDataClient.cc.

Member Function Documentation

void HcalRawDataClient::analyze ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 61 of file HcalRawDataClient.cc.

void HcalRawDataClient::beginRun ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 209 of file HcalRawDataClient.cc.

void HcalRawDataClient::calculateProblems ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)

Definition at line 68 of file HcalRawDataClient.cc.

void HcalRawDataClient::cleanup ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 288 of file HcalRawDataClient.cc.

void HcalRawDataClient::endJob ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 199 of file HcalRawDataClient.cc.

void HcalRawDataClient::fillProblemCountArray ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
private

Definition at line 392 of file HcalRawDataClient.cc.

void HcalRawDataClient::getHardwareSpaceHistos ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
private

Definition at line 335 of file HcalRawDataClient.cc.

bool HcalRawDataClient::hasErrors_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 290 of file HcalRawDataClient.cc.

HcalDetId HcalRawDataClient::HashToHDI ( int  thehash)
inlineprivate

Definition at line 46 of file HcalRawDataClient.h.

References hashedHcalDetId_, HTRCHANMAX, NUMDCCS, NUMSPGS, and HcalDetId::Undefined.

46  {
47  return ( ( (thehash<0) || (thehash>(NUMDCCS*NUMSPGS*HTRCHANMAX)) )
49  :(hashedHcalDetId_[thehash]));
50  };
static const HcalDetId Undefined
Definition: HcalDetId.h:80
#define HTRCHANMAX
#define NUMDCCS
HcalDetId hashedHcalDetId_[32 *15 *24]
#define NUMSPGS
int HcalRawDataClient::hashup ( uint32_t  d = 0,
uint32_t  s = 0,
uint32_t  c = 1 
)
inlineprivate

Definition at line 42 of file HcalRawDataClient.h.

References HcalBaseDQClient::c, ztail::d, HTRCHANMAX, NUMSPGS, and alignCSCRings::s.

42  {
43  return (int) ( (d*NUMSPGS*HTRCHANMAX)+(s*HTRCHANMAX)+(c)); }
#define HTRCHANMAX
const edm::EventSetup * c
tuple d
Definition: ztail.py:151
#define NUMSPGS
bool HcalRawDataClient::hasOther_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 323 of file HcalRawDataClient.cc.

bool HcalRawDataClient::hasWarnings_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 322 of file HcalRawDataClient.cc.

void HcalRawDataClient::mapChannproblem ( int  dcc,
int  spigot,
int  htrchan,
float  n 
)
private

Definition at line 595 of file HcalRawDataClient.cc.

void HcalRawDataClient::mapDCCproblem ( int  dcc,
float  n 
)
private

Definition at line 527 of file HcalRawDataClient.cc.

void HcalRawDataClient::mapHTRproblem ( int  dcc,
int  spigot,
float  n 
)
private

Definition at line 560 of file HcalRawDataClient.cc.

void HcalRawDataClient::normalizeHardwareSpaceHistos ( void  )
private

Definition at line 630 of file HcalRawDataClient.cc.

void HcalRawDataClient::setup ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 287 of file HcalRawDataClient.cc.

void HcalRawDataClient::setupProblemCells ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
private

Definition at line 257 of file HcalRawDataClient.cc.

void HcalRawDataClient::stashHDI ( int  thehash,
HcalDetId  thehcaldetid 
)
private

Definition at line 201 of file HcalRawDataClient.cc.

bool HcalRawDataClient::test_enabled ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 324 of file HcalRawDataClient.cc.

void HcalRawDataClient::updateChannelStatus ( std::map< HcalDetId, unsigned int > &  myqual)
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 327 of file HcalRawDataClient.cc.

Member Data Documentation

TH2F* HcalRawDataClient::Chann_DataIntegrityCheck_[32]
private

Definition at line 65 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::ChannSumm_DataIntegrityCheck_
private

Definition at line 63 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::DataFlowInd_
private

Definition at line 62 of file HcalRawDataClient.h.

bool HcalRawDataClient::doProblemCellSetup_
private

Definition at line 80 of file HcalRawDataClient.h.

bool HcalRawDataClient::excludeHORing2_
private

Definition at line 77 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::HalfHTRDataCorruptionIndicators_
private

Definition at line 61 of file HcalRawDataClient.h.

HcalDetId HcalRawDataClient::hashedHcalDetId_[32 *15 *24]
private

Definition at line 50 of file HcalRawDataClient.h.

Referenced by HashToHDI().

TH2F* HcalRawDataClient::LRBDataCorruptionIndicators_
private

Definition at line 60 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::meBCNSynch_
private

Definition at line 58 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::meCDFErrorFound_
private

Definition at line 55 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::meDCCEventFormatError_
private

Definition at line 56 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::meEvtNumberSynch_
private

Definition at line 59 of file HcalRawDataClient.h.

TH2F* HcalRawDataClient::meOrNSynch_
private

Definition at line 57 of file HcalRawDataClient.h.

int HcalRawDataClient::nevts_
private

Definition at line 38 of file HcalRawDataClient.h.

float HcalRawDataClient::numTS_[32 *15]
private

Definition at line 53 of file HcalRawDataClient.h.

uint64_t HcalRawDataClient::problemcount[85][72][4]
private

Definition at line 70 of file HcalRawDataClient.h.

const HcalElectronicsMap* HcalRawDataClient::readoutMap_
private

Definition at line 40 of file HcalRawDataClient.h.