CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

CSCTMBHeader2007 Struct Reference

#include <CSCTMBHeader2007.h>

Inheritance diagram for CSCTMBHeader2007:
CSCVTMBHeaderFormat

List of all members.

Public Types

enum  { NWORDS = 43 }

Public Member Functions

virtual void addALCT0 (const CSCALCTDigi &digi)
virtual void addALCT1 (const CSCALCTDigi &digi)
virtual void addCLCT0 (const CSCCLCTDigi &digi)
 Needed before data packing.
virtual void addCLCT1 (const CSCCLCTDigi &digi)
virtual void addCorrelatedLCT0 (const CSCCorrelatedLCTDigi &digi)
virtual void addCorrelatedLCT1 (const CSCCorrelatedLCTDigi &digi)
virtual uint16_t ALCTMatchTime () const
virtual uint16_t ALCTOnly () const
virtual uint16_t Bxn0Diff () const
virtual uint16_t Bxn1Diff () const
virtual uint16_t BXNCount () const
virtual bool check () const
virtual std::vector< CSCCLCTDigiCLCTDigis (uint32_t idlayer)
 returns CLCT digis
virtual uint16_t CLCTOnly () const
virtual std::vector
< CSCCorrelatedLCTDigi
CorrelatedLCTDigis (uint32_t idlayer) const
 returns CorrelatedLCT digis
 CSCTMBHeader2007 (const unsigned short *buf)
 CSCTMBHeader2007 ()
virtual unsigned short * data ()
 returns the first data word
virtual uint16_t firmwareRevision () const
virtual uint16_t L1ANumber () const
virtual uint16_t NCFEBs () const
virtual unsigned short int NHeaderFrames () const
virtual uint16_t NTBins () const
virtual void print (std::ostream &os) const
virtual void setEventInformation (const CSCDMBHeader &dmbHeader)
unsigned short int sizeInWords () const
void swapCLCTs (CSCCLCTDigi &digi1, CSCCLCTDigi &digi2)
virtual uint16_t TMBMatch () const

Public Attributes

struct {
   unsigned   activeCFEBs:5
   unsigned   addrL1a:12
   unsigned   addrPretrig:12
   unsigned   alct0Amu:1
   unsigned   alct0Key:7
   unsigned   alct0Quality:2
   unsigned   alct0Valid:1
   unsigned   alct1Amu:1
   unsigned   alct1Key:7
   unsigned   alct1Quality:2
   unsigned   alct1Valid:1
   unsigned   alct_delay:4
   unsigned   alctBXN:5
   unsigned   alctCfg:1
   unsigned   alctCounterHigh:15
   unsigned   alctCounterLow:15
   unsigned   alctOnly:1
   unsigned   alctReserved:4
   unsigned   alctSeqStatus:2
   unsigned   alctSEUStatus:2
   unsigned   b0cline:16
   unsigned   bd_status:15
   unsigned   boardID:5
   unsigned   bufFull:1
   unsigned   bufReady:1
   unsigned   bxnCount:12
   unsigned   bxnPreTrigger:12
   unsigned   CFEBsEnabled:5
   unsigned   clct0_bend:1
   unsigned   clct0_bx0_local:1
   unsigned   clct0_bxn:2
   unsigned   clct0_cfeb_high:2
   unsigned   clct0_cfeb_low:1
   unsigned   clct0_key:5
   unsigned   clct0_quality:3
   unsigned   clct0_shape:4
   unsigned   clct0_sync_err:1
   unsigned   clct0_valid:1
   unsigned   clct0Invalid:1
   unsigned   clct1_bend:1
   unsigned   clct1_bx0_local:1
   unsigned   clct1_bxn:2
   unsigned   clct1_cfeb_high:2
   unsigned   clct1_cfeb_low:1
   unsigned   clct1_key:5
   unsigned   clct1_quality:3
   unsigned   clct1_shape:4
   unsigned   clct1_sync_err:1
   unsigned   clct1_valid:1
   unsigned   clct1Busy:1
   unsigned   clct1Invalid:1
   unsigned   clct_width:4
   unsigned   clctCounterHigh:15
   unsigned   clctCounterLow:15
   unsigned   clctOnly:1
   unsigned   cscID:4
   unsigned   dduCode1:3
   unsigned   dduCode2:3
   unsigned   dduCode3:3
   unsigned   dmbThresh:3
   unsigned   e0bline:16
   unsigned   fifoMode:3
   unsigned   fifoPretrig:5
   unsigned   firmRevCode:15
   unsigned   flag1:1
   unsigned   flag10:1
   unsigned   flag11:1
   unsigned   flag12:1
   unsigned   flag13:1
   unsigned   flag14:1
   unsigned   flag15:1
   unsigned   flag16:1
   unsigned   flag17:1
   unsigned   flag18:1
   unsigned   flag19:1
   unsigned   flag2:1
   unsigned   flag20:1
   unsigned   flag21:1
   unsigned   flag22:1
   unsigned   flag23:1
   unsigned   flag24:1
   unsigned   flag25:1
   unsigned   flag26:1
   unsigned   flag27:1
   unsigned   flag28:1
   unsigned   flag29:1
   unsigned   flag3:1
   unsigned   flag30:1
   unsigned   flag31:1
   unsigned   flag32:1
   unsigned   flag33:1
   unsigned   flag34:1
   unsigned   flag35:1
   unsigned   flag36:1
   unsigned   flag37:1
   unsigned   flag38:1
   unsigned   flag39:1
   unsigned   flag4:1
   unsigned   flag40:1
   unsigned   flag41:1
   unsigned   flag5:1
   unsigned   flag6:1
   unsigned   flag7:1
   unsigned   flag8:1
   unsigned   flag9:1
   unsigned   hasBuf:1
   unsigned   hitThresh:3
   unsigned   l1aNumber:12
   unsigned   l1atype:2
   unsigned   layerTrigEnabled:1
   unsigned   layerTriggered:1
   unsigned   lyrThresh:3
   unsigned   matchWin:4
   unsigned   MPC_Muon0_bc0_:1
   unsigned   MPC_Muon0_bend_:1
   unsigned   MPC_Muon0_bx_:1
   unsigned   MPC_Muon0_clct_pattern_:4
   unsigned   MPC_Muon0_cscid_bit4:1
   unsigned   MPC_Muon0_cscid_low:3
   unsigned   MPC_Muon0_halfstrip_clct_pattern:8
   unsigned   MPC_Muon0_quality_:4
   unsigned   MPC_Muon0_SyncErr_:1
   unsigned   MPC_Muon0_vpf_:1
   unsigned   MPC_Muon0_wire_:7
   unsigned   MPC_Muon1_bc0_:1
   unsigned   MPC_Muon1_bend_:1
   unsigned   MPC_Muon1_bx_:1
   unsigned   MPC_Muon1_clct_pattern_:4
   unsigned   MPC_Muon1_cscid_bit4:1
   unsigned   MPC_Muon1_cscid_low:3
   unsigned   MPC_Muon1_halfstrip_clct_pattern:8
   unsigned   MPC_Muon1_quality_:4
   unsigned   MPC_Muon1_SyncErr_:1
   unsigned   MPC_Muon1_vpf_:1
   unsigned   MPC_Muon1_wire_: 7
   unsigned   MPCAccept:2
   unsigned   MPCDelay:4
   unsigned   nCFEBs:3
   unsigned   nHeaderFrames:6
   unsigned   noMPCFrame:1
   unsigned   noMPCResponse:1
   unsigned   noTMBTrig:1
   unsigned   nphThresh:3
   unsigned   NRPCs:2
   unsigned   nTBins:5
   unsigned   pidThresh:4
   unsigned   pop_l1a_match_win:4
   unsigned   preTrigCounterHigh:15
   unsigned   preTrigCounterLow:15
   unsigned   r_nlayers_hit_vec:6
   unsigned   r_type:2
   unsigned   readCFEBs:5
   unsigned   readoutCounter:12
   unsigned   reserved:3
   unsigned   reserved1:5
   unsigned   reserved2:4
   unsigned   reserved3:4
   unsigned   reserved4:1
   unsigned   reserved5:2
   unsigned   reserved6:3
   unsigned   reserved7:15
   unsigned   reserved8:15
   unsigned   reserved9:15
   unsigned   RPCEnable:1
   unsigned   RPCExists:2
   unsigned   RPCList:2
   unsigned   RPCMatch:8
   unsigned   runID:4
   unsigned   scopeExists:1
   unsigned   stackOvf:1
   unsigned   staggerCSC:1
   unsigned   syncError:1
   unsigned   tmbMatch:1
   unsigned   triadPersist:4
   unsigned   trigCounterHigh:15
   unsigned   trigCounterLow:15
   unsigned   trigSourceVect:9
   unsigned   uptimeCounterHigh:15
   unsigned   uptimeCounterLow:15
   unsigned   vmeExists:1
bits

Detailed Description

Definition at line 7 of file CSCTMBHeader2007.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
NWORDS 

Definition at line 8 of file CSCTMBHeader2007.h.

{NWORDS = 43};

Constructor & Destructor Documentation

CSCTMBHeader2007::CSCTMBHeader2007 ( )

Definition at line 5 of file CSCTMBHeader2007.cc.

References bits, data(), and sizeInWords().

{
    bzero(data(), sizeInWords()*2);
    bits.nHeaderFrames = 42;
    bits.e0bline = 0x6E0B;
    bits.b0cline = 0xDB0C;
    bits.nTBins = 7;
    bits.nCFEBs = 5;
}
CSCTMBHeader2007::CSCTMBHeader2007 ( const unsigned short *  buf)

Definition at line 16 of file CSCTMBHeader2007.cc.

References data(), and sizeInWords().

{
  memcpy(data(), buf, sizeInWords()*2);
}

Member Function Documentation

void CSCTMBHeader2007::addALCT0 ( const CSCALCTDigi digi) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 87 of file CSCTMBHeader2007.cc.

References Exception.

{
  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
}
void CSCTMBHeader2007::addALCT1 ( const CSCALCTDigi digi) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 94 of file CSCTMBHeader2007.cc.

References Exception.

{
  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
}
void CSCTMBHeader2007::addCLCT0 ( const CSCCLCTDigi digi) [virtual]

Needed before data packing.

for data packing

Implements CSCVTMBHeaderFormat.

Definition at line 100 of file CSCTMBHeader2007.cc.

References bits, CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCFEB(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getStrip(), CSCCLCTDigi::isValid(), listBenchmarks::pattern, and strip().

{
  int strip = digi.getStrip();
  int cfeb = digi.getCFEB();
  int bend = digi.getBend();
  int pattern = digi.getPattern();
  //hardwareStripNumbering(strip, cfeb, pattern, bend);
  bits.clct0_valid = digi.isValid();
  bits.clct0_quality = digi.getQuality();
  bits.clct0_shape = pattern;
  bits.clct0_bend = bend;
  bits.clct0_key = strip;
  bits.clct0_cfeb_low = (cfeb & 0x1);
  bits.clct0_cfeb_high = (cfeb>>1);
  bits.clct0_bxn = digi.getBX();
  bits.bxnPreTrigger = digi.getFullBX();
}
void CSCTMBHeader2007::addCLCT1 ( const CSCCLCTDigi digi) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 119 of file CSCTMBHeader2007.cc.

References bits, CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCFEB(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getStrip(), CSCCLCTDigi::isValid(), listBenchmarks::pattern, and strip().

{
  int strip = digi.getStrip();
  int cfeb = digi.getCFEB();
  int bend = digi.getBend();
  int pattern = digi.getPattern();
  //hardwareStripNumbering(strip, cfeb, pattern, bend);
  bits.clct1_valid = digi.isValid();
  bits.clct1_quality = digi.getQuality();
  bits.clct1_shape = pattern;
  bits.clct1_bend = bend;
  bits.clct1_key = strip;
  bits.clct1_cfeb_low = (cfeb & 0x1);
  bits.clct1_cfeb_high = (cfeb>>1);
  bits.clct1_bxn = digi.getBX();
  bits.bxnPreTrigger = digi.getFullBX();
}
void CSCTMBHeader2007::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 138 of file CSCTMBHeader2007.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getCSCID(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::getSyncErr(), and CSCCorrelatedLCTDigi::isValid().

{
  int halfStrip = digi.getStrip();
  //hardwareHalfStripNumbering(halfStrip);

  bits.MPC_Muon0_vpf_ = digi.isValid();
  bits.MPC_Muon0_wire_ = digi.getKeyWG();
  bits.MPC_Muon0_clct_pattern_ = digi.getPattern();
  bits.MPC_Muon0_quality_ = digi.getQuality();
  bits.MPC_Muon0_halfstrip_clct_pattern = halfStrip;
  bits.MPC_Muon0_bend_ = digi.getBend();
  bits.MPC_Muon0_SyncErr_ = digi.getSyncErr();
  bits.MPC_Muon0_bx_ = digi.getBX();
  bits.MPC_Muon0_bc0_ = digi.getBX0();
  bits.MPC_Muon0_cscid_low = digi.getCSCID() & 0x7;
  bits.MPC_Muon0_cscid_bit4 = (digi.getCSCID()>>3) & 0x1;
}
void CSCTMBHeader2007::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 157 of file CSCTMBHeader2007.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getCSCID(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::getSyncErr(), and CSCCorrelatedLCTDigi::isValid().

{
  int halfStrip = digi.getStrip();
  //hardwareHalfStripNumbering(halfStrip);

  bits.MPC_Muon1_vpf_ = digi.isValid();
  bits.MPC_Muon1_wire_ = digi.getKeyWG();
  bits.MPC_Muon1_clct_pattern_ = digi.getPattern();
  bits.MPC_Muon1_quality_ = digi.getQuality();
  bits.MPC_Muon1_halfstrip_clct_pattern = halfStrip;
  bits.MPC_Muon1_bend_ = digi.getBend();
  bits.MPC_Muon1_SyncErr_ = digi.getSyncErr();
  bits.MPC_Muon1_bx_ = digi.getBX();
  bits.MPC_Muon1_bc0_ = digi.getBX0();
  bits.MPC_Muon1_cscid_low = digi.getCSCID() & 0x7;
  bits.MPC_Muon1_cscid_bit4 = (digi.getCSCID()>>3) & 0x1;
}
virtual uint16_t CSCTMBHeader2007::ALCTMatchTime ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 14 of file CSCTMBHeader2007.h.

References bits.

{return bits.matchWin;}
virtual uint16_t CSCTMBHeader2007::ALCTOnly ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 16 of file CSCTMBHeader2007.h.

References bits.

{return bits.alctOnly;}
virtual uint16_t CSCTMBHeader2007::Bxn0Diff ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 18 of file CSCTMBHeader2007.h.

{return 0;}
virtual uint16_t CSCTMBHeader2007::Bxn1Diff ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 19 of file CSCTMBHeader2007.h.

{return 0;}
virtual uint16_t CSCTMBHeader2007::BXNCount ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 13 of file CSCTMBHeader2007.h.

References bits.

{return bits.bxnCount;}
virtual bool CSCTMBHeader2007::check ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 38 of file CSCTMBHeader2007.h.

References bits.

{return bits.e0bline==0x6e0b;}
std::vector< CSCCLCTDigi > CSCTMBHeader2007::CLCTDigis ( uint32_t  idlayer) [virtual]

returns CLCT digis

Implements CSCVTMBHeaderFormat.

Definition at line 30 of file CSCTMBHeader2007.cc.

References bits, listBenchmarks::pattern, query::result, and strip().

{
    std::vector<CSCCLCTDigi> result;
    int strip   = bits.clct0_key;
    int cfeb    = (bits.clct0_cfeb_low)|(bits.clct0_cfeb_high<<1);
    int pattern = bits.clct0_shape;
    int bend    = bits.clct0_bend;
    //offlineStripNumbering(strip, cfeb, pattern, bend);
    CSCCLCTDigi digi0(bits.clct0_valid, bits.clct0_quality,
                      pattern, 1, bend, strip, cfeb, bits.clct0_bxn, 1, bits.bxnPreTrigger);
    //digi0.setFullBX(bits.bxnPreTrigger);

    strip = bits.clct1_key;
    cfeb = (bits.clct1_cfeb_low)|(bits.clct1_cfeb_high<<1);
    pattern = bits.clct1_shape;
    bend    = bits.clct1_bend;
    //offlineStripNumbering(strip, cfeb, pattern, bend);
    CSCCLCTDigi digi1(bits.clct1_valid, bits.clct1_quality,
                      pattern, 1, bend, strip, cfeb, bits.clct1_bxn, 2, bits.bxnPreTrigger);
    //digi1.setFullBX(bits.bxnPreTrigger);

    //if (digi0.isValid() && digi1.isValid()) swapCLCTs(digi0, digi1);

    result.push_back(digi0);
    result.push_back(digi1);


    return result;
}
virtual uint16_t CSCTMBHeader2007::CLCTOnly ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 15 of file CSCTMBHeader2007.h.

References bits.

{return bits.clctOnly;}
std::vector< CSCCorrelatedLCTDigi > CSCTMBHeader2007::CorrelatedLCTDigis ( uint32_t  idlayer) const [virtual]

returns CorrelatedLCT digis

for the zeroth MPC word:

for the first MPC word:

Implements CSCVTMBHeaderFormat.

Definition at line 62 of file CSCTMBHeader2007.cc.

References bits, query::result, and strip().

{
    std::vector<CSCCorrelatedLCTDigi> result;
    int strip = bits.MPC_Muon0_halfstrip_clct_pattern;//this goes from 0-159
    //offlineHalfStripNumbering(strip);
    CSCCorrelatedLCTDigi digi(1, bits.MPC_Muon0_vpf_, bits.MPC_Muon0_quality_,
                              bits.MPC_Muon0_wire_, strip, bits.MPC_Muon0_clct_pattern_,
                              bits.MPC_Muon0_bend_, bits.MPC_Muon0_bx_, 0,
                              bits.MPC_Muon0_bc0_, bits.MPC_Muon0_SyncErr_,
                              bits.MPC_Muon0_cscid_low | (bits.MPC_Muon0_cscid_bit4<<3));
    result.push_back(digi);
    strip = bits.MPC_Muon1_halfstrip_clct_pattern;//this goes from 0-159
    //offlineHalfStripNumbering(strip);
    digi = CSCCorrelatedLCTDigi(2, bits.MPC_Muon1_vpf_, bits.MPC_Muon1_quality_,
                                bits.MPC_Muon1_wire_, strip, bits.MPC_Muon1_clct_pattern_,
                                bits.MPC_Muon1_bend_, bits.MPC_Muon1_bx_, 0,
                                bits.MPC_Muon1_bc0_, bits.MPC_Muon1_SyncErr_,
                                bits.MPC_Muon1_cscid_low | (bits.MPC_Muon1_cscid_bit4<<3));
    result.push_back(digi);
    return result;
}
virtual unsigned short* CSCTMBHeader2007::data ( ) [inline, virtual]

returns the first data word

Implements CSCVTMBHeaderFormat.

Definition at line 37 of file CSCTMBHeader2007.h.

References bits.

Referenced by CSCTMBHeader2007().

{return (unsigned short *)(&bits);}
virtual uint16_t CSCTMBHeader2007::firmwareRevision ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 23 of file CSCTMBHeader2007.h.

References bits.

{return bits.firmRevCode;}
virtual uint16_t CSCTMBHeader2007::L1ANumber ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 20 of file CSCTMBHeader2007.h.

References bits.

{return bits.l1aNumber;}
virtual uint16_t CSCTMBHeader2007::NCFEBs ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 22 of file CSCTMBHeader2007.h.

References bits.

{return bits.nCFEBs;}
virtual unsigned short int CSCTMBHeader2007::NHeaderFrames ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 35 of file CSCTMBHeader2007.h.

References bits.

{return bits.nHeaderFrames;}
virtual uint16_t CSCTMBHeader2007::NTBins ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 21 of file CSCTMBHeader2007.h.

References bits.

{return bits.nTBins;}
void CSCTMBHeader2007::print ( std::ostream &  os) const [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 176 of file CSCTMBHeader2007.cc.

References bits.

{
  os << "...............TMB Header.................." << "\n";
  os << std::hex << "BOC LINE " << bits.b0cline << " EOB " << bits.e0bline << "\n";
  os << std::dec << "fifoMode = " << bits.fifoMode
     << ", nTBins = " << bits.nTBins << "\n";
//  os << "dumpCFEBs = " << dumpCFEBs << ", nHeaderFrames = "
//     << nHeaderFrames << "\n";
  os << "boardID = " << bits.boardID << ", cscID = " << bits.cscID << "\n";
  os << "l1aNumber = " << bits.l1aNumber << ", bxnCount = " << bits.bxnCount << "\n";
//  os << "preTrigTBins = " << preTrigTBins << ", nCFEBs = "<< nCFEBs<< " ";
  os << "trigSourceVect = " << bits.trigSourceVect
     << ", activeCFEBs = " << bits.activeCFEBs <<"\n";
  os << "bxnPreTrigger = " << bits.bxnPreTrigger << "\n";
  os << "tmbMatch = " << bits.tmbMatch << " alctOnly = " << bits.alctOnly
     << " clctOnly = " << bits.clctOnly << "\n";
//     << " alctMatchTime = " << alctMatchTime << " ";
//  os << "hs_thresh = " << hs_thresh << ", ds_thresh = " << ds_thresh
//     << " ";
  os << "clct0_key = " << bits.clct0_key << " bits.clct0_shape = " << bits.clct0_shape
     << " clct0_quality = " << bits.clct0_quality << "\n";
//  os << "r_buf_nbusy = " << r_buf_nbusy << " ";

  os << "..................CLCT....................." << "\n";

}
void CSCTMBHeader2007::setEventInformation ( const CSCDMBHeader dmbHeader) [virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 22 of file CSCTMBHeader2007.cc.

References bits, CSCDMBHeader::bxn(), CSCDMBHeader::dmbID(), and CSCDMBHeader::l1a().

{
    bits.cscID = dmbHeader.dmbID();
    bits.l1aNumber = dmbHeader.l1a();
    bits.bxnCount = dmbHeader.bxn();
}
unsigned short int CSCTMBHeader2007::sizeInWords ( ) const [inline, virtual]

in 16-bit words. Add olne because we include beginning(b0c) and end (e0c) flags

Implements CSCVTMBHeaderFormat.

Definition at line 33 of file CSCTMBHeader2007.h.

References NWORDS.

Referenced by CSCTMBHeader2007().

{return NWORDS;}
void CSCTMBHeader2007::swapCLCTs ( CSCCLCTDigi digi1,
CSCCLCTDigi digi2 
)

Reimplemented from CSCVTMBHeaderFormat.

virtual uint16_t CSCTMBHeader2007::TMBMatch ( ) const [inline, virtual]

Implements CSCVTMBHeaderFormat.

Definition at line 17 of file CSCTMBHeader2007.h.

References bits.

{return bits.tmbMatch;}

Member Data Documentation

Definition at line 79 of file CSCTMBHeader2007.h.

Definition at line 94 of file CSCTMBHeader2007.h.

Definition at line 93 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 77 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 72 of file CSCTMBHeader2007.h.

Definition at line 71 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 56 of file CSCTMBHeader2007.h.

Definition at line 62 of file CSCTMBHeader2007.h.

struct { ... } CSCTMBHeader2007::bits

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 93 of file CSCTMBHeader2007.h.

Definition at line 57 of file CSCTMBHeader2007.h.

Definition at line 64 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 77 of file CSCTMBHeader2007.h.

Definition at line 68 of file CSCTMBHeader2007.h.

Definition at line 67 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 57 of file CSCTMBHeader2007.h.

Definition at line 58 of file CSCTMBHeader2007.h.

Definition at line 59 of file CSCTMBHeader2007.h.

Definition at line 77 of file CSCTMBHeader2007.h.

Definition at line 98 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.

Definition at line 63 of file CSCTMBHeader2007.h.

Definition at line 57 of file CSCTMBHeader2007.h.

Definition at line 66 of file CSCTMBHeader2007.h.

Definition at line 67 of file CSCTMBHeader2007.h.

Definition at line 68 of file CSCTMBHeader2007.h.

Definition at line 69 of file CSCTMBHeader2007.h.

Definition at line 70 of file CSCTMBHeader2007.h.

Definition at line 71 of file CSCTMBHeader2007.h.

Definition at line 72 of file CSCTMBHeader2007.h.

Definition at line 73 of file CSCTMBHeader2007.h.

Definition at line 74 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.

Definition at line 58 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 77 of file CSCTMBHeader2007.h.

Definition at line 78 of file CSCTMBHeader2007.h.

Definition at line 79 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 81 of file CSCTMBHeader2007.h.

Definition at line 82 of file CSCTMBHeader2007.h.

Definition at line 83 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 59 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 87 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 89 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 93 of file CSCTMBHeader2007.h.

Definition at line 94 of file CSCTMBHeader2007.h.

Definition at line 95 of file CSCTMBHeader2007.h.

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 96 of file CSCTMBHeader2007.h.

Definition at line 97 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 62 of file CSCTMBHeader2007.h.

Definition at line 63 of file CSCTMBHeader2007.h.

Definition at line 64 of file CSCTMBHeader2007.h.

Definition at line 65 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 58 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 79 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 87 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 87 of file CSCTMBHeader2007.h.

Definition at line 88 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 87 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 89 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 89 of file CSCTMBHeader2007.h.

Definition at line 90 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 89 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 91 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 79 of file CSCTMBHeader2007.h.

Definition at line 66 of file CSCTMBHeader2007.h.

Definition at line 65 of file CSCTMBHeader2007.h.

Definition at line 78 of file CSCTMBHeader2007.h.

Definition at line 61 of file CSCTMBHeader2007.h.

Definition at line 79 of file CSCTMBHeader2007.h.

Definition at line 59 of file CSCTMBHeader2007.h.

Definition at line 64 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 84 of file CSCTMBHeader2007.h.

Definition at line 85 of file CSCTMBHeader2007.h.

Definition at line 86 of file CSCTMBHeader2007.h.

Definition at line 93 of file CSCTMBHeader2007.h.

Definition at line 94 of file CSCTMBHeader2007.h.

Definition at line 95 of file CSCTMBHeader2007.h.

Definition at line 96 of file CSCTMBHeader2007.h.

Definition at line 97 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 92 of file CSCTMBHeader2007.h.

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 76 of file CSCTMBHeader2007.h.

Definition at line 60 of file CSCTMBHeader2007.h.

Definition at line 80 of file CSCTMBHeader2007.h.

Definition at line 77 of file CSCTMBHeader2007.h.

Definition at line 70 of file CSCTMBHeader2007.h.

Definition at line 69 of file CSCTMBHeader2007.h.

Definition at line 78 of file CSCTMBHeader2007.h.

Definition at line 74 of file CSCTMBHeader2007.h.

Definition at line 73 of file CSCTMBHeader2007.h.

Definition at line 75 of file CSCTMBHeader2007.h.