CMS 3D CMS Logo

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

#include <DCCFEBlock.h>

Inheritance diagram for DCCFEBlock:
DCCDataBlockPrototype DCCSCBlock DCCTowerBlock

Public Member Functions

 DCCFEBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack, bool forceToKeepFRdata)
 
void display (std::ostream &o)
 
void enableFeIdChecks ()
 
unsigned int getLength ()
 
int unpack (const uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID)
 
virtual void updateCollectors ()
 
void zsFlag (bool zs)
 
virtual ~DCCFEBlock ()
 
- Public Member Functions inherited from DCCDataBlockPrototype
 DCCDataBlockPrototype (DCCDataUnpacker *unpacker, EcalElectronicsMapper *mapper, DCCEventBlock *event, bool unpack=true)
 
void enableSyncChecks ()
 
virtual int unpack (const uint64_t **data, unsigned int *dwToEnd)
 
virtual void updateEventPointers ()
 
virtual ~DCCDataBlockPrototype ()
 

Protected Member Functions

virtual void fillEcalElectronicsError (std::auto_ptr< EcalElectronicsIdCollection > *)
 
virtual int unpackXtalData (unsigned int stripID, unsigned int xtalID)
 

Protected Attributes

unsigned int blockSize_
 
unsigned int bx_
 
bool checkFeId_
 
unsigned int expTowerID_
 
unsigned int expXtalTSamples_
 
bool forceToKeepFRdata_
 
std::auto_ptr
< EcalElectronicsIdCollection > * 
invalidBlockLengths_
 
std::auto_ptr
< EcalElectronicsIdCollection > * 
invalidTTIds_
 
std::auto_ptr
< EcalElectronicsIdCollection > * 
invalidZSXtalIds_
 
unsigned int l1_
 
unsigned int lastStripId_
 
unsigned int lastXtalId_
 
unsigned int nTSamples_
 
unsigned int numbDWInXtalBlock_
 
unsigned int towerId_
 
unsigned int unfilteredDataBlockLength_
 
unsigned int xtalBlockSize_
 
short * xtalGains_
 
bool zs_
 
- Protected Attributes inherited from DCCDataBlockPrototype
unsigned int blockLength_
 
const uint64_t * data_
 
const uint64_t ** datap_
 
unsigned int * dwToEnd_
 
bool error_
 
DCCEventBlockevent_
 
EcalElectronicsMappermapper_
 
bool sync_
 
DCCDataUnpackerunpacker_
 
bool unpackInternalData_
 

Detailed Description

Definition at line 22 of file DCCFEBlock.h.

Constructor & Destructor Documentation

DCCFEBlock::DCCFEBlock ( DCCDataUnpacker u,
EcalElectronicsMapper m,
DCCEventBlock e,
bool  unpack,
bool  forceToKeepFRdata 
)

Definition at line 9 of file DCCFEBlock.cc.

virtual DCCFEBlock::~DCCFEBlock ( )
inlinevirtual

Definition at line 28 of file DCCFEBlock.h.

References xtalGains_.

28 { delete [] xtalGains_;}
short * xtalGains_
Definition: DCCFEBlock.h:66

Member Function Documentation

void DCCFEBlock::display ( std::ostream &  o)
virtual

Reimplemented from DCCDataBlockPrototype.

Definition at line 254 of file DCCFEBlock.cc.

void DCCFEBlock::enableFeIdChecks ( )
inline

Definition at line 32 of file DCCFEBlock.h.

References checkFeId_.

32 {checkFeId_= true;}
bool checkFeId_
Definition: DCCFEBlock.h:49
virtual void DCCFEBlock::fillEcalElectronicsError ( std::auto_ptr< EcalElectronicsIdCollection > *  )
inlineprotectedvirtual

Reimplemented in DCCSCBlock, and DCCTowerBlock.

Definition at line 45 of file DCCFEBlock.h.

45 {};
unsigned int DCCFEBlock::getLength ( )
inlinevirtual

Reimplemented from DCCDataBlockPrototype.

Definition at line 40 of file DCCFEBlock.h.

References DCCDataBlockPrototype::blockLength_.

40 {return blockLength_; }
int DCCFEBlock::unpack ( const uint64_t **  data,
unsigned int *  dwToEnd,
bool  zs,
unsigned int  expectedTowerID 
)

Definition at line 29 of file DCCFEBlock.cc.

virtual int DCCFEBlock::unpackXtalData ( unsigned int  stripID,
unsigned int  xtalID 
)
inlineprotectedvirtual

Reimplemented in DCCSCBlock, and DCCTowerBlock.

Definition at line 44 of file DCCFEBlock.h.

References BLOCK_UNPACKED.

void DCCFEBlock::updateCollectors ( )
virtual

Reimplemented from DCCDataBlockPrototype.

Reimplemented in DCCSCBlock, and DCCTowerBlock.

Definition at line 20 of file DCCFEBlock.cc.

void DCCFEBlock::zsFlag ( bool  zs)
inline

Definition at line 30 of file DCCFEBlock.h.

References zs_.

30 { zs_ = zs;}
bool zs_
Definition: DCCFEBlock.h:45

Member Data Documentation

unsigned int DCCFEBlock::blockSize_
protected

Definition at line 62 of file DCCFEBlock.h.

unsigned int DCCFEBlock::bx_
protected

Definition at line 63 of file DCCFEBlock.h.

bool DCCFEBlock::checkFeId_
protected

Definition at line 49 of file DCCFEBlock.h.

Referenced by enableFeIdChecks().

unsigned int DCCFEBlock::expTowerID_
protected

Definition at line 50 of file DCCFEBlock.h.

unsigned int DCCFEBlock::expXtalTSamples_
protected

Definition at line 52 of file DCCFEBlock.h.

bool DCCFEBlock::forceToKeepFRdata_
protected

Definition at line 51 of file DCCFEBlock.h.

std::auto_ptr<EcalElectronicsIdCollection>* DCCFEBlock::invalidBlockLengths_
protected

Definition at line 69 of file DCCFEBlock.h.

std::auto_ptr<EcalElectronicsIdCollection>* DCCFEBlock::invalidTTIds_
protected

Definition at line 67 of file DCCFEBlock.h.

std::auto_ptr<EcalElectronicsIdCollection>* DCCFEBlock::invalidZSXtalIds_
protected

Definition at line 68 of file DCCFEBlock.h.

unsigned int DCCFEBlock::l1_
protected

Definition at line 64 of file DCCFEBlock.h.

unsigned int DCCFEBlock::lastStripId_
protected

Definition at line 54 of file DCCFEBlock.h.

unsigned int DCCFEBlock::lastXtalId_
protected

Definition at line 55 of file DCCFEBlock.h.

unsigned int DCCFEBlock::nTSamples_
protected

Definition at line 60 of file DCCFEBlock.h.

unsigned int DCCFEBlock::numbDWInXtalBlock_
protected

Definition at line 58 of file DCCFEBlock.h.

unsigned int DCCFEBlock::towerId_
protected

Definition at line 57 of file DCCFEBlock.h.

unsigned int DCCFEBlock::unfilteredDataBlockLength_
protected

Definition at line 53 of file DCCFEBlock.h.

unsigned int DCCFEBlock::xtalBlockSize_
protected

Definition at line 59 of file DCCFEBlock.h.

short* DCCFEBlock::xtalGains_
protected

Definition at line 66 of file DCCFEBlock.h.

Referenced by ~DCCFEBlock().

bool DCCFEBlock::zs_
protected

Definition at line 45 of file DCCFEBlock.h.

Referenced by zsFlag().