ALCT Header consists of several modular units that are defined as structs below. More...
#include <CSCALCTHeader2006.h>
Public Member Functions | |
unsigned short int | BXNCount () const |
CSCALCTHeader2006 () | |
this struct contains all 2006 ALCT Header words except ALCTs More... | |
CSCALCTHeader2006 (int chamberType) | |
void | init () |
unsigned short | nLCTChipRead () const |
void | setDAV (int afebBoard) |
for packing More... | |
void | setEventInformation (const CSCDMBHeader &) |
short unsigned int | sizeInWords () const |
Public Attributes | |
unsigned | activeFEBs: 7 |
LCT chips with ADB hits. More... | |
unsigned | boardID: 3 |
ALCT2000 board ID. More... | |
unsigned | bxnCount: 12 |
full bunch crossing number More... | |
unsigned | cscID: 4 |
chamber ID number More... | |
unsigned | extTrig: 1 |
trigger source was external More... | |
unsigned | fifoMode: 2 |
see the FIFO_MODE enum More... | |
unsigned | flag_0: 5 |
should be '01100', so it'll be a 6xxx in the ASCII dump More... | |
unsigned | flag_1: 2 |
DDU+LCT special word flags. More... | |
unsigned | flag_2: 2 |
DDU+LCT special word flags. More... | |
unsigned | flag_3: 2 |
DDU+LCT special word flags. More... | |
unsigned | l1Acc: 4 |
l1 accept counter More... | |
unsigned | l1aMatch: 1 |
exteran L1A arrived in L1A window More... | |
unsigned | lctChipRead: 7 |
LCT chips read out in raw hit dump. More... | |
unsigned | nTBins: 5 |
of 25 ns time bins in the raw dumpMore... | |
unsigned | promote1: 1 |
promotion bit for 1st LCT pattern More... | |
unsigned | promote2: 1 |
promotion bit for 2nd LCT pattern More... | |
unsigned | reserved_1: 3 |
reserved, set to 0 More... | |
unsigned | reserved_2: 2 |
reserved, set to 0 More... | |
ALCT Header consists of several modular units that are defined as structs below.
Definition at line 10 of file CSCALCTHeader2006.h.
|
inline |
this struct contains all 2006 ALCT Header words except ALCTs
Definition at line 11 of file CSCALCTHeader2006.h.
References init().
|
explicit |
in order to be able to return header via data()
Definition at line 8 of file CSCALCTHeader2006.cc.
References activeFEBs, activeFEBsForChamberType, fifoMode, flag_0, flag_1, init(), l1aMatch, lctChipRead, nTBins, nTBinsForChamberType, and reserved_1.
|
inline |
Definition at line 25 of file CSCALCTHeader2006.h.
References bxnCount.
|
inline |
size of header w/o LCTs = 8 bytes
Definition at line 17 of file CSCALCTHeader2006.h.
References sizeInWords().
Referenced by CSCALCTHeader2006().
unsigned short CSCALCTHeader2006::nLCTChipRead | ( | ) | const |
header2006 method
Definition at line 35 of file CSCALCTHeader2006.cc.
References prof2calltree::count, i, and lctChipRead.
Referenced by CSCALCTHeader::nLCTChipRead().
|
inline |
for packing
Definition at line 31 of file CSCALCTHeader2006.h.
References activeFEBs.
Referenced by CSCALCTHeader::setDAVForChannel().
void CSCALCTHeader2006::setEventInformation | ( | const CSCDMBHeader & | dmb | ) |
Definition at line 26 of file CSCALCTHeader2006.cc.
References CSCDMBHeader::bxn(), bxnCount, cscID, CSCDMBHeader::dmbID(), CSCDMBHeader::l1a(), l1Acc, and nTBins.
Referenced by CSCALCTHeader::setEventInformation().
|
inline |
size of ALCT Header
Definition at line 21 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::CSCALCTHeader(), init(), and CSCALCTHeader::pack().
unsigned CSCALCTHeader2006::activeFEBs |
LCT chips with ADB hits.
Definition at line 69 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::ActiveFEBs(), CSCALCTHeader2006(), and setDAV().
unsigned CSCALCTHeader2006::boardID |
ALCT2000 board ID.
Definition at line 38 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::BoardID().
unsigned CSCALCTHeader2006::bxnCount |
full bunch crossing number
Definition at line 60 of file CSCALCTHeader2006.h.
Referenced by BXNCount(), CSCALCTHeader::BXNCount(), and setEventInformation().
unsigned CSCALCTHeader2006::cscID |
chamber ID number
Definition at line 36 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::CSCID(), and setEventInformation().
unsigned CSCALCTHeader2006::extTrig |
trigger source was external
Definition at line 49 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::ExtTrig().
unsigned CSCALCTHeader2006::fifoMode |
see the FIFO_MODE enum
Definition at line 43 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006(), and CSCALCTHeader::FIFOMode().
unsigned CSCALCTHeader2006::flag_0 |
should be '01100', so it'll be a 6xxx in the ASCII dump
Definition at line 40 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::check(), and CSCALCTHeader2006().
unsigned CSCALCTHeader2006::flag_1 |
DDU+LCT special word flags.
Definition at line 57 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006().
unsigned CSCALCTHeader2006::flag_2 |
DDU+LCT special word flags.
Definition at line 64 of file CSCALCTHeader2006.h.
unsigned CSCALCTHeader2006::flag_3 |
DDU+LCT special word flags.
Definition at line 71 of file CSCALCTHeader2006.h.
unsigned CSCALCTHeader2006::l1Acc |
l1 accept counter
Definition at line 34 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::L1Acc(), and setEventInformation().
unsigned CSCALCTHeader2006::l1aMatch |
exteran L1A arrived in L1A window
Definition at line 47 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006(), and CSCALCTHeader::L1AMatch().
unsigned CSCALCTHeader2006::lctChipRead |
LCT chips read out in raw hit dump.
Definition at line 67 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006(), CSCALCTHeader::LCTChipRead(), and nLCTChipRead().
unsigned CSCALCTHeader2006::nTBins |
Definition at line 45 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006(), CSCALCTHeader::NTBins(), and setEventInformation().
unsigned CSCALCTHeader2006::promote1 |
promotion bit for 1st LCT pattern
Definition at line 51 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::Promote1().
unsigned CSCALCTHeader2006::promote2 |
promotion bit for 2nd LCT pattern
Definition at line 53 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader::Promote2().
unsigned CSCALCTHeader2006::reserved_1 |
reserved, set to 0
Definition at line 55 of file CSCALCTHeader2006.h.
Referenced by CSCALCTHeader2006().
unsigned CSCALCTHeader2006::reserved_2 |
reserved, set to 0
Definition at line 62 of file CSCALCTHeader2006.h.