CMS 3D CMS Logo

sistrip::FEDFEHeader Class Reference

#include <EventFilter/SiStripRawToDigi/interface/SiStripFEDBufferComponents.h>

Inheritance diagram for sistrip::FEDFEHeader:

sistrip::FEDAPVErrorHeader sistrip::FEDFullDebugHeader

List of all members.

Public Member Functions

virtual bool checkChannelStatusBits (uint8_t internalFEDChannelNum) const =0
bool checkChannelStatusBits (uint8_t internalFEUnitNum, uint8_t internalChannelNum) const
virtual bool checkStatusBits (uint8_t internalFEDChannelNum, uint8_t apvNum) const =0
bool checkStatusBits (uint8_t internalFEUnitNum, uint8_t internalChannelNum, uint8_t apvNum) const
virtual size_t lengthInBytes () const =0
virtual void print (std::ostream &os) const =0
virtual ~FEDFEHeader ()

Static Public Member Functions

static std::auto_ptr< FEDFEHeadernewFEHeader (FEDHeaderType headerType, const uint8_t *headerBuffer)


Detailed Description

Definition at line 237 of file SiStripFEDBufferComponents.h.


Constructor & Destructor Documentation

sistrip::FEDFEHeader::~FEDFEHeader (  )  [virtual]

Definition at line 432 of file SiStripFEDBufferComponents.cc.

00433   {
00434   }


Member Function Documentation

virtual bool sistrip::FEDFEHeader::checkChannelStatusBits ( uint8_t  internalFEDChannelNum  )  const [pure virtual]

Implemented in sistrip::FEDAPVErrorHeader, and sistrip::FEDFullDebugHeader.

bool sistrip::FEDFEHeader::checkChannelStatusBits ( uint8_t  internalFEUnitNum,
uint8_t  internalChannelNum 
) const [inline]

Definition at line 247 of file SiStripFEDBufferComponents.h.

References sistrip::internalFEDChannelNum().

00248         { return checkChannelStatusBits(internalFEDChannelNum(internalFEUnitNum,internalChannelNum)); }

virtual bool sistrip::FEDFEHeader::checkStatusBits ( uint8_t  internalFEDChannelNum,
uint8_t  apvNum 
) const [pure virtual]

Implemented in sistrip::FEDAPVErrorHeader, and sistrip::FEDFullDebugHeader.

bool sistrip::FEDFEHeader::checkStatusBits ( uint8_t  internalFEUnitNum,
uint8_t  internalChannelNum,
uint8_t  apvNum 
) const [inline]

Definition at line 251 of file SiStripFEDBufferComponents.h.

References sistrip::internalFEDChannelNum().

Referenced by SiStripFEDMonitorPlugin::analyzeChannels().

00252         { return checkStatusBits(internalFEDChannelNum(internalFEUnitNum,internalChannelNum),apvNum); }

virtual size_t sistrip::FEDFEHeader::lengthInBytes (  )  const [pure virtual]

Implemented in sistrip::FEDAPVErrorHeader, and sistrip::FEDFullDebugHeader.

std::auto_ptr< FEDFEHeader > sistrip::FEDFEHeader::newFEHeader ( FEDHeaderType  headerType,
const uint8_t *  headerBuffer 
) [inline, static]

Definition at line 389 of file SiStripFEDBufferComponents.h.

References sistrip::HEADER_TYPE_APV_ERROR, and sistrip::HEADER_TYPE_FULL_DEBUG.

Referenced by sistrip::FEDBuffer::FEDBuffer().

00390     {
00391       switch (headerType) {
00392       case HEADER_TYPE_FULL_DEBUG:
00393         return std::auto_ptr<FEDFEHeader>(new FEDFullDebugHeader(headerBuffer));
00394       case HEADER_TYPE_APV_ERROR:
00395         return std::auto_ptr<FEDFEHeader>(new FEDAPVErrorHeader(headerBuffer));
00396       default:
00397         return std::auto_ptr<FEDFEHeader>();
00398       }
00399     }

virtual void sistrip::FEDFEHeader::print ( std::ostream &  os  )  const [pure virtual]

Implemented in sistrip::FEDAPVErrorHeader, and sistrip::FEDFullDebugHeader.

Referenced by sistrip::operator<<().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:52:35 2009 for CMSSW by  doxygen 1.5.4