#include <CSCTMBHeader2007_rev0x50c3.h>
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< CSCCLCTDigi > | CLCTDigis (uint32_t idlayer) |
returns CLCT digis | |
virtual uint16_t | CLCTOnly () const |
virtual std::vector < CSCCorrelatedLCTDigi > | CorrelatedLCTDigis (uint32_t idlayer) const |
returns CorrelatedLCT digis | |
CSCTMBHeader2007_rev0x50c3 (const unsigned short *buf) | |
CSCTMBHeader2007_rev0x50c3 () | |
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 aff_source:1 | |
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 alct_pretrig_win: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 buf_fence_cnt:12 | |
unsigned buf_fence_cnt_peak:12 | |
unsigned buf_q_adr_err:1 | |
unsigned buf_q_empty:1 | |
unsigned buf_q_full:1 | |
unsigned buf_q_ovf_err:1 | |
unsigned buf_q_udf_err:1 | |
unsigned buf_stalled:1 | |
unsigned bufFull:1 | |
unsigned bxnCount:12 | |
unsigned bxnPreTrigger:12 | |
unsigned CFEBsEnabled:5 | |
unsigned clct0_key_high:1 | |
unsigned clct0_key_low:7 | |
unsigned clct0_quality:3 | |
unsigned clct0_shape:4 | |
unsigned clct0_valid:1 | |
unsigned clct0Invalid:1 | |
unsigned clct1_key_high:1 | |
unsigned clct1_key_low:7 | |
unsigned clct1_quality:3 | |
unsigned clct1_shape:4 | |
unsigned clct1_valid:1 | |
unsigned clct1Busy:1 | |
unsigned clct1Invalid:1 | |
unsigned clct_bxn:2 | |
unsigned clct_sync_err: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 drift_delay:2 | |
unsigned dupeALCT:1 | |
unsigned dupeCLCT:1 | |
unsigned e0bline:16 | |
unsigned fifo_pretrig_rpc:5 | |
unsigned fifo_tbins_rpc:5 | |
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 lctRankErr:1 | |
unsigned lock_lost: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 noALCT:1 | |
unsigned nphThresh:3 | |
unsigned NRPCs:2 | |
unsigned nTBins:5 | |
unsigned oneALCT:1 | |
unsigned oneCLCT:1 | |
unsigned parity_err_cfeb_ram:5 | |
unsigned parity_err_rpc:1 | |
unsigned parity_err_summary:1 | |
unsigned pidThresh:4 | |
unsigned pop_l1a_match_win:4 | |
unsigned preTrigCounterHigh:15 | |
unsigned preTrigCounterLow:15 | |
unsigned r_buf_fence_dist:11 | |
unsigned r_nlayers_hit_vec:6 | |
unsigned r_type:2 | |
unsigned r_wr_buf_adr:11 | |
unsigned r_wr_buf_ready:1 | |
unsigned readCFEBs:5 | |
unsigned readoutCounter:12 | |
unsigned reserved:2 | |
unsigned reserved3:1 | |
unsigned reserved4:1 | |
unsigned reserved7:3 | |
unsigned reserved8:3 | |
unsigned reserved9:15 | |
unsigned RPCEnable:1 | |
unsigned RPCList:2 | |
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 twoALCT:1 | |
unsigned twoCLCT:1 | |
unsigned uptimeCounterHigh:15 | |
unsigned uptimeCounterLow:15 | |
unsigned vmeExists:1 | |
unsigned wr_buf_ready:1 | |
} | bits |
Definition at line 7 of file CSCTMBHeader2007_rev0x50c3.h.
anonymous enum |
CSCTMBHeader2007_rev0x50c3::CSCTMBHeader2007_rev0x50c3 | ( | ) |
Definition at line 5 of file CSCTMBHeader2007_rev0x50c3.cc.
References bits, data(), and sizeInWords().
CSCTMBHeader2007_rev0x50c3::CSCTMBHeader2007_rev0x50c3 | ( | const unsigned short * | buf | ) |
Definition at line 17 of file CSCTMBHeader2007_rev0x50c3.cc.
References data(), and sizeInWords().
{ memcpy(data(), buf, sizeInWords()*2); }
void CSCTMBHeader2007_rev0x50c3::addALCT0 | ( | const CSCALCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.cc.
References Exception.
{ throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header"); }
void CSCTMBHeader2007_rev0x50c3::addALCT1 | ( | const CSCALCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.cc.
References Exception.
{ throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header"); }
void CSCTMBHeader2007_rev0x50c3::addCLCT0 | ( | const CSCCLCTDigi & | digi | ) | [virtual] |
Needed before data packing.
for data packing
Implements CSCVTMBHeaderFormat.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.cc.
References bits, CSCCLCTDigi::getBX(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::isValid(), and listBenchmarks::pattern.
{ int halfStrip = digi.getKeyStrip(); int pattern = digi.getPattern(); //int bend = digi.getBend(); //hardwareStripNumbering(strip, cfeb, pattern, bend); bits.clct0_valid = digi.isValid(); bits.clct0_quality = digi.getQuality(); bits.clct0_shape = pattern; // first 7 bits of halfstrip bits.clct0_key_low = halfStrip & (0x7F); // most-significant (8th) bit bits.clct0_key_high = (halfStrip >> 7) & (0x1); bits.clct_bxn = digi.getBX(); bits.bxnPreTrigger = digi.getFullBX(); }
void CSCTMBHeader2007_rev0x50c3::addCLCT1 | ( | const CSCCLCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 118 of file CSCTMBHeader2007_rev0x50c3.cc.
References bits, CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::isValid(), and listBenchmarks::pattern.
{ int halfStrip = digi.getKeyStrip(); int pattern = digi.getPattern(); //int bend = digi.getBend(); //hardwareStripNumbering(strip, cfeb, pattern, bend); bits.clct1_valid = digi.isValid(); bits.clct1_quality = digi.getQuality(); bits.clct1_shape = pattern; // first 7 bits of halfstrip bits.clct1_key_low = halfStrip & (0x7F); // most-significant (8th) bit bits.clct1_key_high = (halfStrip >> 7) & (0x1); // There is just one BX field common for CLCT0 and CLCT1 (since both // are latched at the same BX); set it in addCLCT0(). //bits.clct_bxn = digi.getBX(); bits.bxnPreTrigger = digi.getFullBX(); }
void CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0 | ( | const CSCCorrelatedLCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 138 of file CSCTMBHeader2007_rev0x50c3.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_rev0x50c3::addCorrelatedLCT1 | ( | const CSCCorrelatedLCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 157 of file CSCTMBHeader2007_rev0x50c3.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_rev0x50c3::ALCTMatchTime | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 14 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.matchWin;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::ALCTOnly | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 16 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.alctOnly;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::Bxn0Diff | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 18 of file CSCTMBHeader2007_rev0x50c3.h.
{return 0;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::Bxn1Diff | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 19 of file CSCTMBHeader2007_rev0x50c3.h.
{return 0;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::BXNCount | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 13 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.bxnCount;}
virtual bool CSCTMBHeader2007_rev0x50c3::check | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 38 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.e0bline==0x6e0b;}
std::vector< CSCCLCTDigi > CSCTMBHeader2007_rev0x50c3::CLCTDigis | ( | uint32_t | idlayer | ) | [virtual] |
returns CLCT digis
Implements CSCVTMBHeaderFormat.
Definition at line 31 of file CSCTMBHeader2007_rev0x50c3.cc.
References bits, listBenchmarks::pattern, query::result, and strip().
{ std::vector<CSCCLCTDigi> result; int halfstrip = bits.clct0_key_low + (bits.clct0_key_high << 7); int strip = halfstrip%32; int cfeb = halfstrip/32; int pattern = bits.clct0_shape; int bend = pattern &0x1; //offlineStripNumbering(strip, cfeb, pattern, bend); CSCCLCTDigi digi0(bits.clct0_valid, bits.clct0_quality, pattern, 1, bend, strip, cfeb, bits.clct_bxn, 1, bits.bxnPreTrigger); //digi0.setFullBX(bits.bxnPreTrigger); halfstrip = bits.clct1_key_low + (bits.clct1_key_high << 7); strip = halfstrip%32; cfeb = halfstrip/32; pattern = bits.clct1_shape; bend = pattern &0x1; //offlineStripNumbering(strip, cfeb, pattern, bend); CSCCLCTDigi digi1(bits.clct1_valid, bits.clct1_quality, pattern, 1, bend, strip, cfeb, bits.clct_bxn, 2, bits.bxnPreTrigger); //digi1.setFullBX(bits.bxnPreTrigger); result.push_back(digi0); result.push_back(digi1); return result; }
virtual uint16_t CSCTMBHeader2007_rev0x50c3::CLCTOnly | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 15 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.clctOnly;}
std::vector< CSCCorrelatedLCTDigi > CSCTMBHeader2007_rev0x50c3::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_rev0x50c3.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_rev0x50c3::data | ( | ) | [inline, virtual] |
returns the first data word
Implements CSCVTMBHeaderFormat.
Definition at line 37 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
Referenced by CSCTMBHeader2007_rev0x50c3().
{return (unsigned short *)(&bits);}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::firmwareRevision | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 23 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.firmRevCode;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::L1ANumber | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 20 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.l1aNumber;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::NCFEBs | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 22 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.nCFEBs;}
virtual unsigned short int CSCTMBHeader2007_rev0x50c3::NHeaderFrames | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 35 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.nHeaderFrames;}
virtual uint16_t CSCTMBHeader2007_rev0x50c3::NTBins | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 21 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.nTBins;}
void CSCTMBHeader2007_rev0x50c3::print | ( | std::ostream & | os | ) | const [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 176 of file CSCTMBHeader2007_rev0x50c3.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 os << " bits.clct0_shape = " << bits.clct0_shape << " clct0_quality = " << bits.clct0_quality << "\n"; // os << "r_buf_nbusy = " << r_buf_nbusy << " "; os << "..................CLCT....................." << "\n"; }
void CSCTMBHeader2007_rev0x50c3::setEventInformation | ( | const CSCDMBHeader & | dmbHeader | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 23 of file CSCTMBHeader2007_rev0x50c3.cc.
References bits, CSCDMBHeader::bxn(), CSCDMBHeader::dmbID(), and CSCDMBHeader::l1a().
unsigned short int CSCTMBHeader2007_rev0x50c3::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_rev0x50c3.h.
References NWORDS.
Referenced by CSCTMBHeader2007_rev0x50c3().
{return NWORDS;}
void CSCTMBHeader2007_rev0x50c3::swapCLCTs | ( | CSCCLCTDigi & | digi1, |
CSCCLCTDigi & | digi2 | ||
) |
Reimplemented from CSCVTMBHeaderFormat.
virtual uint16_t CSCTMBHeader2007_rev0x50c3::TMBMatch | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 17 of file CSCTMBHeader2007_rev0x50c3.h.
References bits.
{return bits.tmbMatch;}
Definition at line 85 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 85 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alct0Amu |
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alct0Key |
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alct1Amu |
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alct1Key |
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 83 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alctBXN |
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alctCfg |
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 77 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 75 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::alctOnly |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::b0cline |
Definition at line 57 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 64 of file CSCTMBHeader2007_rev0x50c3.h.
struct { ... } CSCTMBHeader2007_rev0x50c3::bits |
Referenced by addCLCT0(), addCLCT1(), addCorrelatedLCT0(), addCorrelatedLCT1(), ALCTMatchTime(), ALCTOnly(), BXNCount(), check(), CLCTDigis(), CLCTOnly(), CorrelatedLCTDigis(), CSCTMBHeader2007_rev0x50c3(), data(), firmwareRevision(), L1ANumber(), NCFEBs(), NHeaderFrames(), NTBins(), print(), setEventInformation(), and TMBMatch().
unsigned CSCTMBHeader2007_rev0x50c3::boardID |
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 106 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 108 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::bufFull |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::bxnCount |
Definition at line 58 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 67 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 88 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 88 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 88 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 88 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 89 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 89 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 89 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 89 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::clct_bxn |
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 83 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 72 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 70 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::clctOnly |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::cscID |
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::dduCode1 |
Definition at line 58 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::dduCode2 |
Definition at line 59 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::dduCode3 |
Definition at line 60 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 83 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::dupeALCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::dupeCLCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::e0bline |
Definition at line 110 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::fifoMode |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 65 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag1 |
Definition at line 58 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag10 |
Definition at line 69 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag11 |
Definition at line 70 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag12 |
Definition at line 72 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag13 |
Definition at line 73 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag14 |
Definition at line 74 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag15 |
Definition at line 75 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag16 |
Definition at line 77 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag17 |
Definition at line 78 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag18 |
Definition at line 79 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag19 |
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag2 |
Definition at line 59 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag20 |
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag21 |
Definition at line 83 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag22 |
Definition at line 84 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag23 |
Definition at line 85 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag24 |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag25 |
Definition at line 88 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag26 |
Definition at line 89 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag27 |
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag28 |
Definition at line 92 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag29 |
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag3 |
Definition at line 60 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag30 |
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag31 |
Definition at line 95 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag32 |
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag33 |
Definition at line 98 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag34 |
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag35 |
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag36 |
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag37 |
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag38 |
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag39 |
Definition at line 106 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag4 |
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag40 |
Definition at line 108 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag41 |
Definition at line 109 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag5 |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag6 |
Definition at line 64 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag7 |
Definition at line 65 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag8 |
Definition at line 67 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::flag9 |
Definition at line 68 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::hasBuf |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 59 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::l1atype |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 67 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::matchWin |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 95 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 95 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 97 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 95 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 98 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 98 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 99 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 98 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::MPCDelay |
Definition at line 100 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::nCFEBs |
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::noALCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::NRPCs |
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::nTBins |
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::oneALCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::oneCLCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 90 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 85 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 69 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 68 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 105 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 84 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::r_type |
Definition at line 63 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 85 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 60 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::reserved |
Definition at line 67 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 93 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 94 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 106 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 108 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 109 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::RPCList |
Definition at line 102 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::runID |
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::stackOvf |
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 82 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 62 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::tmbMatch |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 83 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 74 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 73 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 84 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::twoALCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
unsigned CSCTMBHeader2007_rev0x50c3::twoCLCT |
Definition at line 87 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 79 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 78 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 80 of file CSCTMBHeader2007_rev0x50c3.h.
Definition at line 104 of file CSCTMBHeader2007_rev0x50c3.h.