CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions
ErrorCheckerBase Class Referenceabstract

#include <ErrorCheckerBase.h>

Inheritance diagram for ErrorCheckerBase:
ErrorChecker ErrorCheckerPhase0

Public Types

typedef std::vector< SiPixelRawDataErrorDetErrors
 
typedef std::map< cms_uint32_t, DetErrorsErrors
 
typedef cms_uint32_t Word32
 
typedef cms_uint64_t Word64
 

Public Member Functions

virtual bool checkCRC (bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors)=0
 
virtual bool checkHeader (bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors)=0
 
virtual bool checkROC (bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, Errors &errors)=0
 
virtual bool checkTrailer (bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors)=0
 
virtual void conversionError (int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors)=0
 
virtual void setErrorStatus (bool ErrorStatus)=0
 
virtual ~ErrorCheckerBase ()
 

Private Member Functions

virtual cms_uint32_t errorDetId (const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const =0
 

Detailed Description

Definition at line 16 of file ErrorCheckerBase.h.

Member Typedef Documentation

◆ DetErrors

Definition at line 21 of file ErrorCheckerBase.h.

◆ Errors

Definition at line 22 of file ErrorCheckerBase.h.

◆ Word32

Definition at line 18 of file ErrorCheckerBase.h.

◆ Word64

Definition at line 19 of file ErrorCheckerBase.h.

Constructor & Destructor Documentation

◆ ~ErrorCheckerBase()

virtual ErrorCheckerBase::~ErrorCheckerBase ( )
inlinevirtual

Definition at line 24 of file ErrorCheckerBase.h.

24 {};

Member Function Documentation

◆ checkCRC()

virtual bool ErrorCheckerBase::checkCRC ( bool &  errorsInEvent,
int  fedId,
const Word64 trailer,
Errors errors 
)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ checkHeader()

virtual bool ErrorCheckerBase::checkHeader ( bool &  errorsInEvent,
int  fedId,
const Word64 header,
Errors errors 
)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ checkROC()

virtual bool ErrorCheckerBase::checkROC ( bool &  errorsInEvent,
int  fedId,
const SiPixelFrameConverter converter,
const SiPixelFedCabling theCablingTree,
Word32 errorWord,
Errors errors 
)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ checkTrailer()

virtual bool ErrorCheckerBase::checkTrailer ( bool &  errorsInEvent,
int  fedId,
unsigned int  nWords,
const Word64 trailer,
Errors errors 
)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ conversionError()

virtual void ErrorCheckerBase::conversionError ( int  fedId,
const SiPixelFrameConverter converter,
int  status,
Word32 errorWord,
Errors errors 
)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ errorDetId()

virtual cms_uint32_t ErrorCheckerBase::errorDetId ( const SiPixelFrameConverter converter,
int  errorType,
const Word32 word 
) const
privatepure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.

◆ setErrorStatus()

virtual void ErrorCheckerBase::setErrorStatus ( bool  ErrorStatus)
pure virtual

Implemented in ErrorChecker, and ErrorCheckerPhase0.