CMS 3D CMS Logo

CSCVTMBHeaderFormat Class Reference

#include <EventFilter/CSCRawToDigi/interface/CSCVTMBHeaderFormat.h>

Inheritance diagram for CSCVTMBHeaderFormat:

CSCTMBHeader2006 CSCTMBHeader2007 CSCTMBHeader2007_rev0x50c3

List of all members.

Public Member Functions

virtual void addALCT0 (const CSCALCTDigi &digi)=0
virtual void addALCT1 (const CSCALCTDigi &digi)=0
virtual void addCLCT0 (const CSCCLCTDigi &digi)=0
 Needed before data packing.
virtual void addCLCT1 (const CSCCLCTDigi &digi)=0
virtual void addCorrelatedLCT0 (const CSCCorrelatedLCTDigi &digi)=0
virtual void addCorrelatedLCT1 (const CSCCorrelatedLCTDigi &digi)=0
virtual uint16_t ALCTMatchTime () const =0
virtual uint16_t ALCTOnly () const =0
virtual uint16_t Bxn0Diff () const =0
virtual uint16_t Bxn1Diff () const =0
virtual uint16_t BXNCount () const =0
virtual bool check () const =0
virtual std::vector< CSCCLCTDigiCLCTDigis (uint32_t idlayer)=0
 returns CLCT digis
virtual uint16_t CLCTOnly () const =0
virtual std::vector
< CSCCorrelatedLCTDigi
CorrelatedLCTDigis (uint32_t idlayer) const =0
 returns CorrelatedLCT digis
virtual unsigned short * data ()=0
virtual uint16_t firmwareRevision () const =0
void init ()
virtual uint16_t L1ANumber () const =0
virtual uint16_t NCFEBs () const =0
virtual unsigned short int NHeaderFrames () const =0
virtual uint16_t NTBins () const =0
virtual void print (std::ostream &os) const =0
virtual void setEventInformation (const CSCDMBHeader &)=0
uint16_t sizeInBytes () const
virtual unsigned short int sizeInWords () const =0
 in 16-bit words.
virtual uint16_t TMBMatch () const =0
virtual ~CSCVTMBHeaderFormat ()

Protected Member Functions

void swapCLCTs (CSCCLCTDigi &digi1, CSCCLCTDigi &digi2)


Detailed Description

Definition at line 13 of file CSCVTMBHeaderFormat.h.


Constructor & Destructor Documentation

virtual CSCVTMBHeaderFormat::~CSCVTMBHeaderFormat (  )  [inline, virtual]

Definition at line 15 of file CSCVTMBHeaderFormat.h.

00015 {}


Member Function Documentation

virtual void CSCVTMBHeaderFormat::addALCT0 ( const CSCALCTDigi digi  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::addALCT1 ( const CSCALCTDigi digi  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::addCLCT0 ( const CSCCLCTDigi digi  )  [pure virtual]

Needed before data packing.

for data packing

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::addCLCT1 ( const CSCCLCTDigi digi  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::ALCTMatchTime (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::ALCTOnly (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::Bxn0Diff (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::Bxn1Diff (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::BXNCount (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual bool CSCVTMBHeaderFormat::check (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual std::vector<CSCCLCTDigi> CSCVTMBHeaderFormat::CLCTDigis ( uint32_t  idlayer  )  [pure virtual]

returns CLCT digis

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::CLCTOnly (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual std::vector<CSCCorrelatedLCTDigi> CSCVTMBHeaderFormat::CorrelatedLCTDigis ( uint32_t  idlayer  )  const [pure virtual]

returns CorrelatedLCT digis

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual unsigned short* CSCVTMBHeaderFormat::data (  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::firmwareRevision (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

void CSCVTMBHeaderFormat::init ( void   )  [inline]

Definition at line 16 of file CSCVTMBHeaderFormat.h.

References sizeInWords().

00016               {
00017     bzero(this, sizeInWords()*2);
00018   }

virtual uint16_t CSCVTMBHeaderFormat::L1ANumber (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::NCFEBs (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual unsigned short int CSCVTMBHeaderFormat::NHeaderFrames (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::NTBins (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

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

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual void CSCVTMBHeaderFormat::setEventInformation ( const CSCDMBHeader  )  [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

uint16_t CSCVTMBHeaderFormat::sizeInBytes (  )  const [inline]

Definition at line 29 of file CSCVTMBHeaderFormat.h.

References sizeInWords().

00029                                {
00030     return sizeInWords()*2;
00031   }

virtual unsigned short int CSCVTMBHeaderFormat::sizeInWords (  )  const [pure virtual]

in 16-bit words.

Add olne because we include beginning(b0c) and end (e0c) flags

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

Referenced by init(), and sizeInBytes().

void CSCVTMBHeaderFormat::swapCLCTs ( CSCCLCTDigi digi1,
CSCCLCTDigi digi2 
) [protected]

Reimplemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.

virtual uint16_t CSCVTMBHeaderFormat::TMBMatch (  )  const [pure virtual]

Implemented in CSCTMBHeader2006, CSCTMBHeader2007, and CSCTMBHeader2007_rev0x50c3.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:17:32 2009 for CMSSW by  doxygen 1.5.4