#include <EventFilter/CSCRawToDigi/interface/CSCTMBHeader2007.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 (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 |
in 16-bit words. | |
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 |
Definition at line 7 of file CSCTMBHeader2007.h.
anonymous enum |
CSCTMBHeader2007::CSCTMBHeader2007 | ( | ) |
Definition at line 5 of file CSCTMBHeader2007.cc.
References bits, data(), and sizeInWords().
00006 { 00007 bzero(data(), sizeInWords()*2); 00008 bits.nHeaderFrames = 42; 00009 bits.e0bline = 0x6E0B; 00010 bits.b0cline = 0xDB0C; 00011 bits.nTBins = 7; 00012 bits.nCFEBs = 5; 00013 }
CSCTMBHeader2007::CSCTMBHeader2007 | ( | const unsigned short * | buf | ) |
Definition at line 16 of file CSCTMBHeader2007.cc.
References data(), and sizeInWords().
00017 { 00018 memcpy(data(), buf, sizeInWords()*2); 00019 }
void CSCTMBHeader2007::addALCT0 | ( | const CSCALCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 87 of file CSCTMBHeader2007.cc.
References Exception.
00088 { 00089 throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header"); 00090 }
void CSCTMBHeader2007::addALCT1 | ( | const CSCALCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 94 of file CSCTMBHeader2007.cc.
References Exception.
00095 { 00096 throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header"); 00097 }
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(), and strip().
00101 { 00102 int strip = digi.getStrip(); 00103 int cfeb = digi.getCFEB(); 00104 int bend = digi.getBend(); 00105 int pattern = digi.getPattern(); 00106 //hardwareStripNumbering(strip, cfeb, pattern, bend); 00107 bits.clct0_valid = digi.isValid(); 00108 bits.clct0_quality = digi.getQuality(); 00109 bits.clct0_shape = pattern; 00110 bits.clct0_bend = bend; 00111 bits.clct0_key = strip; 00112 bits.clct0_cfeb_low = (cfeb & 0x1); 00113 bits.clct0_cfeb_high = (cfeb>>1); 00114 bits.clct0_bxn = digi.getBX(); 00115 bits.bxnPreTrigger = digi.getFullBX(); 00116 }
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(), and strip().
00120 { 00121 int strip = digi.getStrip(); 00122 int cfeb = digi.getCFEB(); 00123 int bend = digi.getBend(); 00124 int pattern = digi.getPattern(); 00125 //hardwareStripNumbering(strip, cfeb, pattern, bend); 00126 bits.clct1_valid = digi.isValid(); 00127 bits.clct1_quality = digi.getQuality(); 00128 bits.clct1_shape = pattern; 00129 bits.clct1_bend = bend; 00130 bits.clct1_key = strip; 00131 bits.clct1_cfeb_low = (cfeb & 0x1); 00132 bits.clct1_cfeb_high = (cfeb>>1); 00133 bits.clct1_bxn = digi.getBX(); 00134 bits.bxnPreTrigger = digi.getFullBX(); 00135 }
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().
00139 { 00140 int halfStrip = digi.getStrip(); 00141 //hardwareHalfStripNumbering(halfStrip); 00142 00143 bits.MPC_Muon0_vpf_ = digi.isValid(); 00144 bits.MPC_Muon0_wire_ = digi.getKeyWG(); 00145 bits.MPC_Muon0_clct_pattern_ = digi.getPattern(); 00146 bits.MPC_Muon0_quality_ = digi.getQuality(); 00147 bits.MPC_Muon0_halfstrip_clct_pattern = halfStrip; 00148 bits.MPC_Muon0_bend_ = digi.getBend(); 00149 bits.MPC_Muon0_SyncErr_ = digi.getSyncErr(); 00150 bits.MPC_Muon0_bx_ = digi.getBX(); 00151 bits.MPC_Muon0_bc0_ = digi.getBX0(); 00152 bits.MPC_Muon0_cscid_low = digi.getCSCID(); 00153 }
void CSCTMBHeader2007::addCorrelatedLCT1 | ( | const CSCCorrelatedLCTDigi & | digi | ) | [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 156 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().
00157 { 00158 int halfStrip = digi.getStrip(); 00159 //hardwareHalfStripNumbering(halfStrip); 00160 00161 bits.MPC_Muon1_vpf_ = digi.isValid(); 00162 bits.MPC_Muon1_wire_ = digi.getKeyWG(); 00163 bits.MPC_Muon1_clct_pattern_ = digi.getPattern(); 00164 bits.MPC_Muon1_quality_ = digi.getQuality(); 00165 bits.MPC_Muon1_halfstrip_clct_pattern = halfStrip; 00166 bits.MPC_Muon1_bend_ = digi.getBend(); 00167 bits.MPC_Muon1_SyncErr_ = digi.getSyncErr(); 00168 bits.MPC_Muon1_bx_ = digi.getBX(); 00169 bits.MPC_Muon1_bc0_ = digi.getBX0(); 00170 bits.MPC_Muon1_cscid_low = digi.getCSCID(); 00171 }
virtual uint16_t CSCTMBHeader2007::ALCTMatchTime | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 14 of file CSCTMBHeader2007.h.
References bits.
00014 {return bits.matchWin;}
virtual uint16_t CSCTMBHeader2007::ALCTOnly | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 16 of file CSCTMBHeader2007.h.
References bits.
00016 {return bits.alctOnly;}
virtual uint16_t CSCTMBHeader2007::Bxn0Diff | ( | ) | const [inline, virtual] |
virtual uint16_t CSCTMBHeader2007::Bxn1Diff | ( | ) | const [inline, virtual] |
virtual uint16_t CSCTMBHeader2007::BXNCount | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 13 of file CSCTMBHeader2007.h.
References bits.
00013 {return bits.bxnCount;}
virtual bool CSCTMBHeader2007::check | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 38 of file CSCTMBHeader2007.h.
References bits.
00038 {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, HLT_VtxMuL3::result, CSCCLCTDigi::setFullBX(), and strip().
00031 { 00032 std::vector<CSCCLCTDigi> result; 00033 int strip = bits.clct0_key; 00034 int cfeb = (bits.clct0_cfeb_low)|(bits.clct0_cfeb_high<<1); 00035 int pattern = bits.clct0_shape; 00036 int bend = bits.clct0_bend; 00037 //offlineStripNumbering(strip, cfeb, pattern, bend); 00038 CSCCLCTDigi digi0(bits.clct0_valid, bits.clct0_quality, 00039 pattern, 1, bend, strip, cfeb, bits.clct0_bxn, 1); 00040 digi0.setFullBX(bits.bxnPreTrigger); 00041 00042 strip = bits.clct1_key; 00043 cfeb = (bits.clct1_cfeb_low)|(bits.clct1_cfeb_high<<1); 00044 pattern = bits.clct1_shape; 00045 bend = bits.clct1_bend; 00046 //offlineStripNumbering(strip, cfeb, pattern, bend); 00047 CSCCLCTDigi digi1(bits.clct1_valid, bits.clct1_quality, 00048 pattern, 1, bend, strip, cfeb, bits.clct1_bxn, 2); 00049 digi1.setFullBX(bits.bxnPreTrigger); 00050 00051 //if (digi0.isValid() && digi1.isValid()) swapCLCTs(digi0, digi1); 00052 00053 result.push_back(digi0); 00054 result.push_back(digi1); 00055 00056 00057 return result; 00058 }
virtual uint16_t CSCTMBHeader2007::CLCTOnly | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 15 of file CSCTMBHeader2007.h.
References bits.
00015 {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, HLT_VtxMuL3::result, and strip().
00063 { 00064 std::vector<CSCCorrelatedLCTDigi> result; 00066 int strip = bits.MPC_Muon0_halfstrip_clct_pattern;//this goes from 0-159 00067 //offlineHalfStripNumbering(strip); 00068 CSCCorrelatedLCTDigi digi(1, bits.MPC_Muon0_vpf_, bits.MPC_Muon0_quality_, 00069 bits.MPC_Muon0_wire_, strip, bits.MPC_Muon0_clct_pattern_, 00070 bits.MPC_Muon0_bend_, bits.MPC_Muon0_bx_, 0, 00071 bits.MPC_Muon0_bc0_, bits.MPC_Muon0_SyncErr_, 00072 bits.MPC_Muon0_cscid_low | (bits.MPC_Muon0_cscid_bit4<<3)); 00073 result.push_back(digi); 00075 strip = bits.MPC_Muon1_halfstrip_clct_pattern;//this goes from 0-159 00076 //offlineHalfStripNumbering(strip); 00077 digi = CSCCorrelatedLCTDigi(2, bits.MPC_Muon1_vpf_, bits.MPC_Muon1_quality_, 00078 bits.MPC_Muon1_wire_, strip, bits.MPC_Muon1_clct_pattern_, 00079 bits.MPC_Muon1_bend_, bits.MPC_Muon1_bx_, 0, 00080 bits.MPC_Muon1_bc0_, bits.MPC_Muon1_SyncErr_, 00081 bits.MPC_Muon1_cscid_low | (bits.MPC_Muon1_cscid_bit4<<3)); 00082 result.push_back(digi); 00083 return result; 00084 }
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().
00037 {return (unsigned short *)(&bits);}
virtual uint16_t CSCTMBHeader2007::firmwareRevision | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 23 of file CSCTMBHeader2007.h.
References bits.
00023 {return bits.firmRevCode;}
virtual uint16_t CSCTMBHeader2007::L1ANumber | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 20 of file CSCTMBHeader2007.h.
References bits.
00020 {return bits.l1aNumber;}
virtual uint16_t CSCTMBHeader2007::NCFEBs | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 22 of file CSCTMBHeader2007.h.
References bits.
00022 {return bits.nCFEBs;}
virtual unsigned short int CSCTMBHeader2007::NHeaderFrames | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 35 of file CSCTMBHeader2007.h.
References bits.
00035 {return bits.nHeaderFrames;}
virtual uint16_t CSCTMBHeader2007::NTBins | ( | ) | const [inline, virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 21 of file CSCTMBHeader2007.h.
References bits.
00021 {return bits.nTBins;}
void CSCTMBHeader2007::print | ( | std::ostream & | os | ) | const [virtual] |
Implements CSCVTMBHeaderFormat.
Definition at line 174 of file CSCTMBHeader2007.cc.
References bits.
00175 { 00176 os << "...............TMB Header.................." << "\n"; 00177 os << std::hex << "BOC LINE " << bits.b0cline << " EOB " << bits.e0bline << "\n"; 00178 os << std::dec << "fifoMode = " << bits.fifoMode 00179 << ", nTBins = " << bits.nTBins << "\n"; 00180 // os << "dumpCFEBs = " << dumpCFEBs << ", nHeaderFrames = " 00181 // << nHeaderFrames << "\n"; 00182 os << "boardID = " << bits.boardID << ", cscID = " << bits.cscID << "\n"; 00183 os << "l1aNumber = " << bits.l1aNumber << ", bxnCount = " << bits.bxnCount << "\n"; 00184 // os << "preTrigTBins = " << preTrigTBins << ", nCFEBs = "<< nCFEBs<< " os << "trigSourceVect = " << bits.trigSourceVect 00185 << ", activeCFEBs = " << bits.activeCFEBs <<"\n"; 00186 os << "bxnPreTrigger = " << bits.bxnPreTrigger << "\n"; 00187 os << "tmbMatch = " << bits.tmbMatch << " alctOnly = " << bits.alctOnly 00188 << " clctOnly = " << bits.clctOnly << "\n"; 00189 // << " alctMatchTime = " << alctMatchTime << "// os << "hs_thresh = " << hs_thresh << ", ds_thresh = " << ds_thresh 00190 // << " os << "clct0_key = " << bits.clct0_key << " bits.clct0_shape = " << bits.clct0_shape 00191 << " clct0_quality = " << bits.clct0_quality << "\n"; 00192 // os << "r_buf_nbusy = " << r_buf_nbusy << " 00193 os << "..................CLCT....................." << "\n"; 00194 00195 } 00196
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().
00023 { 00024 bits.cscID = dmbHeader.dmbID(); 00025 bits.l1aNumber = dmbHeader.l1a(); 00026 bits.bxnCount = dmbHeader.bxn(); 00027 }
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().
00033 {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.
00017 {return bits.tmbMatch;}
unsigned CSCTMBHeader2007::activeCFEBs |
Definition at line 79 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::addrL1a |
Definition at line 94 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::addrPretrig |
Definition at line 93 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct0Amu |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct0Key |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct0Quality |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct0Valid |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct1Amu |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct1Key |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct1Quality |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct1Valid |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alct_delay |
Definition at line 77 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctBXN |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctCfg |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctCounterHigh |
Definition at line 72 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctCounterLow |
Definition at line 71 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctOnly |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctReserved |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctSeqStatus |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::alctSEUStatus |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::b0cline |
Definition at line 56 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::bd_status |
Definition at line 62 of file CSCTMBHeader2007.h.
struct { ... } CSCTMBHeader2007::bits |
Referenced by addCLCT0(), addCLCT1(), addCorrelatedLCT0(), addCorrelatedLCT1(), ALCTMatchTime(), ALCTOnly(), BXNCount(), check(), CLCTDigis(), CLCTOnly(), CorrelatedLCTDigis(), CSCTMBHeader2007(), data(), firmwareRevision(), L1ANumber(), NCFEBs(), NHeaderFrames(), NTBins(), print(), setEventInformation(), and TMBMatch().
unsigned CSCTMBHeader2007::boardID |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::bufFull |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::bufReady |
Definition at line 93 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::bxnCount |
Definition at line 57 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::bxnPreTrigger |
Definition at line 64 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::CFEBsEnabled |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_bend |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_bx0_local |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_bxn |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_cfeb_high |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_cfeb_low |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_key |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_quality |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_shape |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_sync_err |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0_valid |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct0Invalid |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_bend |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_bx0_local |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_bxn |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_cfeb_high |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_cfeb_low |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_key |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_quality |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_shape |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_sync_err |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1_valid |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1Busy |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct1Invalid |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clct_width |
Definition at line 77 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clctCounterHigh |
Definition at line 68 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clctCounterLow |
Definition at line 67 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::clctOnly |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::cscID |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::dduCode1 |
Definition at line 57 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::dduCode2 |
Definition at line 58 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::dduCode3 |
Definition at line 59 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::dmbThresh |
Definition at line 77 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::e0bline |
Definition at line 98 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::fifoMode |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::fifoPretrig |
Definition at line 75 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::firmRevCode |
Definition at line 63 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag1 |
Definition at line 57 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag10 |
Definition at line 66 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag11 |
Definition at line 67 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag12 |
Definition at line 68 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag13 |
Definition at line 69 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag14 |
Definition at line 70 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag15 |
Definition at line 71 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag16 |
Definition at line 72 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag17 |
Definition at line 73 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag18 |
Definition at line 74 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag19 |
Definition at line 75 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag2 |
Definition at line 58 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag20 |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag21 |
Definition at line 77 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag22 |
Definition at line 78 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag23 |
Definition at line 79 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag24 |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag25 |
Definition at line 81 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag26 |
Definition at line 82 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag27 |
Definition at line 83 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag28 |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag29 |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag3 |
Definition at line 59 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag30 |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag31 |
Definition at line 87 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag32 |
Definition at line 88 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag33 |
Definition at line 89 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag34 |
Definition at line 90 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag35 |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag36 |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag37 |
Definition at line 93 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag38 |
Definition at line 94 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag39 |
Definition at line 95 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag4 |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag40 |
Definition at line 96 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag41 |
Definition at line 97 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag5 |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag6 |
Definition at line 62 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag7 |
Definition at line 63 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag8 |
Definition at line 64 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::flag9 |
Definition at line 65 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::hasBuf |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::hitThresh |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::l1aNumber |
Definition at line 58 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::l1atype |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::layerTrigEnabled |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::layerTriggered |
Definition at line 79 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::lyrThresh |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::matchWin |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_bc0_ |
Definition at line 88 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_bend_ |
Definition at line 88 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_bx_ |
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.
unsigned CSCTMBHeader2007::MPC_Muon0_quality_ |
Definition at line 87 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_SyncErr_ |
Definition at line 88 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_vpf_ |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon0_wire_ |
Definition at line 87 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_bc0_ |
Definition at line 90 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_bend_ |
Definition at line 90 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_bx_ |
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.
unsigned CSCTMBHeader2007::MPC_Muon1_quality_ |
Definition at line 89 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_SyncErr_ |
Definition at line 90 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_vpf_ |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPC_Muon1_wire_ |
Definition at line 89 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPCAccept |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::MPCDelay |
Definition at line 91 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::nCFEBs |
Definition at line 75 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::nHeaderFrames |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::noMPCFrame |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::noMPCResponse |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::noTMBTrig |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::nphThresh |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::NRPCs |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::nTBins |
Definition at line 75 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::pidThresh |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::pop_l1a_match_win |
Definition at line 79 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::preTrigCounterHigh |
Definition at line 66 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::preTrigCounterLow |
Definition at line 65 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::r_nlayers_hit_vec |
Definition at line 78 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::r_type |
Definition at line 61 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::readCFEBs |
Definition at line 79 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::readoutCounter |
Definition at line 59 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved |
Definition at line 64 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved1 |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved2 |
Definition at line 84 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved3 |
Definition at line 85 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved4 |
Definition at line 86 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved5 |
Definition at line 93 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved6 |
Definition at line 94 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved7 |
Definition at line 95 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved8 |
Definition at line 96 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::reserved9 |
Definition at line 97 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::RPCEnable |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::RPCExists |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::RPCList |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::RPCMatch |
Definition at line 92 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::runID |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::scopeExists |
Definition at line 75 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::stackOvf |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::staggerCSC |
Definition at line 76 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::syncError |
Definition at line 60 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::tmbMatch |
Definition at line 80 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::triadPersist |
Definition at line 77 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::trigCounterHigh |
Definition at line 70 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::trigCounterLow |
Definition at line 69 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::trigSourceVect |
Definition at line 78 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::uptimeCounterHigh |
Definition at line 74 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::uptimeCounterLow |
Definition at line 73 of file CSCTMBHeader2007.h.
unsigned CSCTMBHeader2007::vmeExists |
Definition at line 75 of file CSCTMBHeader2007.h.