CMS 3D CMS Logo

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::SiPixelRocStatus ( )

Definition at line 11 of file SiPixelRocStatus.cc.

11  {
12  fDC_ = 0;
13  isFEDerror25_ = false;
14 }
unsigned int fDC_

◆ ~SiPixelRocStatus()

SiPixelRocStatus::~SiPixelRocStatus ( )

Definition at line 17 of file SiPixelRocStatus.cc.

17 {}

Member Function Documentation

◆ digiOccROC()

unsigned int SiPixelRocStatus::digiOccROC ( )

Definition at line 31 of file SiPixelRocStatus.cc.

31 { return fDC_; }
unsigned int fDC_

◆ fillDIGI()

void SiPixelRocStatus::fillDIGI ( )

Definition at line 20 of file SiPixelRocStatus.cc.

20 { fDC_++; }
unsigned int fDC_

◆ fillFEDerror25()

void SiPixelRocStatus::fillFEDerror25 ( )

Definition at line 22 of file SiPixelRocStatus.cc.

22 { isFEDerror25_ = true; }

◆ isFEDerror25()

bool SiPixelRocStatus::isFEDerror25 ( )

Definition at line 33 of file SiPixelRocStatus.cc.

33 { return isFEDerror25_; }

◆ updateDIGI()

void SiPixelRocStatus::updateDIGI ( unsigned int  hits)

Definition at line 25 of file SiPixelRocStatus.cc.

References hfClusterShapes_cfi::hits.

◆ updateFEDerror25()

void SiPixelRocStatus::updateFEDerror25 ( bool  fedError25)

Definition at line 28 of file SiPixelRocStatus.cc.

28 { isFEDerror25_ = isFEDerror25_ && fedError25; }

Member Data Documentation

◆ fDC_

unsigned int SiPixelRocStatus::fDC_
private

Definition at line 22 of file SiPixelRocStatus.h.

◆ isFEDerror25_

bool SiPixelRocStatus::isFEDerror25_
private

Definition at line 23 of file SiPixelRocStatus.h.