CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions
CSCVTMBHeaderFormat Class Referenceabstract

#include <CSCVTMBHeaderFormat.h>

Inheritance diagram for CSCVTMBHeaderFormat:
CSCTMBHeader2006 CSCTMBHeader2007 CSCTMBHeader2007_rev0x50c3 CSCTMBHeader2013 CSCTMBHeader2020_CCLUT CSCTMBHeader2020_GEM CSCTMBHeader2020_Run2 CSCTMBHeader2020_TMB

Public Member Functions

virtual void addALCT0 (const CSCALCTDigi &digi)=0
 
virtual void addALCT1 (const CSCALCTDigi &digi)=0
 
virtual void addAnodeShower (const CSCShowerDigi &digi)=0
 
virtual void addCathodeShower (const CSCShowerDigi &digi)=0
 
virtual void addCLCT0 (const CSCCLCTDigi &digi)=0
 for data packing More...
 
virtual void addCLCT1 (const CSCCLCTDigi &digi)=0
 
virtual void addCorrelatedLCT0 (const CSCCorrelatedLCTDigi &digi)=0
 
virtual void addCorrelatedLCT1 (const CSCCorrelatedLCTDigi &digi)=0
 
virtual void addShower (const CSCShowerDigi &digi)=0
 
virtual uint16_t alctHMT () const =0
 
virtual uint16_t ALCTMatchTime () const =0
 
virtual uint16_t ALCTOnly () const =0
 
virtual CSCShowerDigi anodeShowerDigi (uint32_t idlayer) const =0
 returns Run3 anode HMT Shower digi More...
 
virtual uint16_t Bxn0Diff () const =0
 
virtual uint16_t Bxn1Diff () const =0
 
virtual uint16_t BXNCount () const =0
 
virtual CSCShowerDigi cathodeShowerDigi (uint32_t idlayer) const =0
 returns Run3 cathode HMT Shower digi More...
 
virtual bool check () const =0
 
virtual uint16_t clct0_ComparatorCode () const =0
 == Run 3 CSC-GEM Trigger Format More...
 
virtual uint16_t clct0_xky () const =0
 
virtual uint16_t clct1_ComparatorCode () const =0
 
virtual uint16_t clct1_xky () const =0
 
virtual std::vector< CSCCLCTDigiCLCTDigis (uint32_t idlayer)=0
 returns CLCT digis More...
 
virtual uint16_t clctHMT () const =0
 
virtual uint16_t CLCTOnly () const =0
 
virtual std::vector< CSCCorrelatedLCTDigiCorrelatedLCTDigis (uint32_t idlayer) const =0
 returns CorrelatedLCT digis More...
 
virtual unsigned short * data ()=0
 
virtual uint16_t firmwareRevision () const =0
 
virtual uint16_t gem_enabled_fibers () const =0
 
virtual uint16_t gem_fifo_pretrig () const =0
 
virtual uint16_t gem_fifo_tbins () const =0
 
virtual uint16_t gem_sync_dataword () const =0
 
virtual uint16_t gem_timing_dataword () const =0
 
virtual uint16_t gem_zero_suppress () const =0
 
virtual uint16_t hmt_ALCTMatchTime () const =0
 
virtual uint16_t hmt_nhits () const =0
 
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 uint16_t run3_CLCT_patternID () const =0
 
virtual void setEventInformation (const CSCDMBHeader &)=0
 
virtual void setNCFEBs (uint16_t ncfebs)=0
 
virtual CSCShowerDigi showerDigi (uint32_t idlayer) const =0
 returns Run3 lct HMT Shower digi More...
 
uint16_t sizeInBytes () const
 
virtual unsigned short int sizeInWords () const =0
 
virtual uint16_t syncError () const =0
 
virtual uint16_t syncErrorCLCT () const =0
 
virtual uint16_t syncErrorMPC0 () const =0
 
virtual uint16_t syncErrorMPC1 () const =0
 
virtual uint16_t TMBMatch () const =0
 
virtual ~CSCVTMBHeaderFormat ()
 

Protected Member Functions

void swapCLCTs (CSCCLCTDigi &digi1, CSCCLCTDigi &digi2)
 

Detailed Description

Definition at line 15 of file CSCVTMBHeaderFormat.h.

Constructor & Destructor Documentation

◆ ~CSCVTMBHeaderFormat()

virtual CSCVTMBHeaderFormat::~CSCVTMBHeaderFormat ( )
inlinevirtual

Definition at line 17 of file CSCVTMBHeaderFormat.h.

17 {}

Member Function Documentation

◆ addALCT0()

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

◆ addALCT1()

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

◆ addAnodeShower()

virtual void CSCVTMBHeaderFormat::addAnodeShower ( const CSCShowerDigi digi)
pure virtual

◆ addCathodeShower()

virtual void CSCVTMBHeaderFormat::addCathodeShower ( const CSCShowerDigi digi)
pure virtual

◆ addCLCT0()

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

◆ addCLCT1()

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

◆ addCorrelatedLCT0()

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

◆ addCorrelatedLCT1()

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

◆ addShower()

virtual void CSCVTMBHeaderFormat::addShower ( const CSCShowerDigi digi)
pure virtual

◆ alctHMT()

virtual uint16_t CSCVTMBHeaderFormat::alctHMT ( ) const
pure virtual

◆ ALCTMatchTime()

virtual uint16_t CSCVTMBHeaderFormat::ALCTMatchTime ( ) const
pure virtual

◆ ALCTOnly()

virtual uint16_t CSCVTMBHeaderFormat::ALCTOnly ( ) const
pure virtual

◆ anodeShowerDigi()

virtual CSCShowerDigi CSCVTMBHeaderFormat::anodeShowerDigi ( uint32_t  idlayer) const
pure virtual

◆ Bxn0Diff()

virtual uint16_t CSCVTMBHeaderFormat::Bxn0Diff ( ) const
pure virtual

◆ Bxn1Diff()

virtual uint16_t CSCVTMBHeaderFormat::Bxn1Diff ( ) const
pure virtual

◆ BXNCount()

virtual uint16_t CSCVTMBHeaderFormat::BXNCount ( ) const
pure virtual

◆ cathodeShowerDigi()

virtual CSCShowerDigi CSCVTMBHeaderFormat::cathodeShowerDigi ( uint32_t  idlayer) const
pure virtual

◆ check()

virtual bool CSCVTMBHeaderFormat::check ( ) const
pure virtual

◆ clct0_ComparatorCode()

virtual uint16_t CSCVTMBHeaderFormat::clct0_ComparatorCode ( ) const
pure virtual

◆ clct0_xky()

virtual uint16_t CSCVTMBHeaderFormat::clct0_xky ( ) const
pure virtual

◆ clct1_ComparatorCode()

virtual uint16_t CSCVTMBHeaderFormat::clct1_ComparatorCode ( ) const
pure virtual

◆ clct1_xky()

virtual uint16_t CSCVTMBHeaderFormat::clct1_xky ( ) const
pure virtual

◆ CLCTDigis()

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

◆ clctHMT()

virtual uint16_t CSCVTMBHeaderFormat::clctHMT ( ) const
pure virtual

◆ CLCTOnly()

virtual uint16_t CSCVTMBHeaderFormat::CLCTOnly ( ) const
pure virtual

◆ CorrelatedLCTDigis()

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

◆ data()

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

◆ firmwareRevision()

virtual uint16_t CSCVTMBHeaderFormat::firmwareRevision ( ) const
pure virtual

◆ gem_enabled_fibers()

virtual uint16_t CSCVTMBHeaderFormat::gem_enabled_fibers ( ) const
pure virtual

◆ gem_fifo_pretrig()

virtual uint16_t CSCVTMBHeaderFormat::gem_fifo_pretrig ( ) const
pure virtual

◆ gem_fifo_tbins()

virtual uint16_t CSCVTMBHeaderFormat::gem_fifo_tbins ( ) const
pure virtual

◆ gem_sync_dataword()

virtual uint16_t CSCVTMBHeaderFormat::gem_sync_dataword ( ) const
pure virtual

◆ gem_timing_dataword()

virtual uint16_t CSCVTMBHeaderFormat::gem_timing_dataword ( ) const
pure virtual

◆ gem_zero_suppress()

virtual uint16_t CSCVTMBHeaderFormat::gem_zero_suppress ( ) const
pure virtual

◆ hmt_ALCTMatchTime()

virtual uint16_t CSCVTMBHeaderFormat::hmt_ALCTMatchTime ( ) const
pure virtual

◆ hmt_nhits()

virtual uint16_t CSCVTMBHeaderFormat::hmt_nhits ( ) const
pure virtual

◆ L1ANumber()

virtual uint16_t CSCVTMBHeaderFormat::L1ANumber ( ) const
pure virtual

◆ NCFEBs()

virtual uint16_t CSCVTMBHeaderFormat::NCFEBs ( ) const
pure virtual

◆ NHeaderFrames()

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

◆ NTBins()

virtual uint16_t CSCVTMBHeaderFormat::NTBins ( ) const
pure virtual

◆ print()

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

◆ run3_CLCT_patternID()

virtual uint16_t CSCVTMBHeaderFormat::run3_CLCT_patternID ( ) const
pure virtual

◆ setEventInformation()

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

◆ setNCFEBs()

virtual void CSCVTMBHeaderFormat::setNCFEBs ( uint16_t  ncfebs)
pure virtual

◆ showerDigi()

virtual CSCShowerDigi CSCVTMBHeaderFormat::showerDigi ( uint32_t  idlayer) const
pure virtual

◆ sizeInBytes()

uint16_t CSCVTMBHeaderFormat::sizeInBytes ( ) const
inline

Definition at line 50 of file CSCVTMBHeaderFormat.h.

References sizeInWords().

50 { return sizeInWords() * 2; }
virtual unsigned short int sizeInWords() const =0

◆ sizeInWords()

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 CSCTMBHeader2020_GEM, CSCTMBHeader2020_CCLUT, CSCTMBHeader2006, CSCTMBHeader2007, CSCTMBHeader2007_rev0x50c3, CSCTMBHeader2013, CSCTMBHeader2020_Run2, and CSCTMBHeader2020_TMB.

Referenced by sizeInBytes().

◆ swapCLCTs()

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

◆ syncError()

virtual uint16_t CSCVTMBHeaderFormat::syncError ( ) const
pure virtual

◆ syncErrorCLCT()

virtual uint16_t CSCVTMBHeaderFormat::syncErrorCLCT ( ) const
pure virtual

◆ syncErrorMPC0()

virtual uint16_t CSCVTMBHeaderFormat::syncErrorMPC0 ( ) const
pure virtual

◆ syncErrorMPC1()

virtual uint16_t CSCVTMBHeaderFormat::syncErrorMPC1 ( ) const
pure virtual

◆ TMBMatch()

virtual uint16_t CSCVTMBHeaderFormat::TMBMatch ( ) const
pure virtual