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 17 of file ErrorCheckerBase.h.

Member Typedef Documentation

Definition at line 23 of file ErrorCheckerBase.h.

Definition at line 24 of file ErrorCheckerBase.h.

Definition at line 20 of file ErrorCheckerBase.h.

Definition at line 21 of file ErrorCheckerBase.h.

Constructor & Destructor Documentation

virtual ErrorCheckerBase::~ErrorCheckerBase ( )
inlinevirtual

Member Function Documentation

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().

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.

Referenced by ~ErrorCheckerBase().

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().

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

Implemented in ErrorChecker, and ErrorCheckerPhase0.

Referenced by ~ErrorCheckerBase().