CMS 3D CMS Logo

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

#include <SiPixelRocStatus.h>

Public Member Functions

unsigned int digiOccROC ()
 
void fillDIGI ()
 
void fillFEDerror25 ()
 
bool isFEDerror25 ()
 
 SiPixelRocStatus ()
 
void updateDIGI (unsigned int hits)
 
void updateFEDerror25 (bool fedError25)
 
 ~SiPixelRocStatus ()
 

Private Attributes

unsigned int fDC_
 
bool isFEDerror25_
 

Detailed Description

Definition at line 5 of file SiPixelRocStatus.h.

Constructor & Destructor Documentation

SiPixelRocStatus::SiPixelRocStatus ( )

Definition at line 11 of file SiPixelRocStatus.cc.

11  {
12  fDC_ = 0;
13  isFEDerror25_ = false;
14 }
unsigned int fDC_
SiPixelRocStatus::~SiPixelRocStatus ( )

Definition at line 17 of file SiPixelRocStatus.cc.

17 {}

Member Function Documentation

unsigned int SiPixelRocStatus::digiOccROC ( )

Definition at line 31 of file SiPixelRocStatus.cc.

31 { return fDC_; }
unsigned int fDC_
void SiPixelRocStatus::fillDIGI ( )

Definition at line 20 of file SiPixelRocStatus.cc.

20 { fDC_++; }
unsigned int fDC_
void SiPixelRocStatus::fillFEDerror25 ( )

Definition at line 22 of file SiPixelRocStatus.cc.

22 { isFEDerror25_ = true; }
bool SiPixelRocStatus::isFEDerror25 ( )

Definition at line 33 of file SiPixelRocStatus.cc.

Referenced by SiPixelDetectorStatus::getFEDerror25Rocs().

33 { return isFEDerror25_; }
void SiPixelRocStatus::updateDIGI ( unsigned int  hits)

Definition at line 25 of file SiPixelRocStatus.cc.

25 { fDC_ += hits; }
unsigned int fDC_
void SiPixelRocStatus::updateFEDerror25 ( bool  fedError25)

Definition at line 28 of file SiPixelRocStatus.cc.

28 { isFEDerror25_ = isFEDerror25_ && fedError25; }

Member Data Documentation

unsigned int SiPixelRocStatus::fDC_
private

Definition at line 22 of file SiPixelRocStatus.h.

bool SiPixelRocStatus::isFEDerror25_
private

Definition at line 23 of file SiPixelRocStatus.h.