CMS 3D CMS Logo

CSCALCTHeader2007.cc
Go to the documentation of this file.
3 
5  bzero(this, 2);
6 }
7 
8 CSCALCT::CSCALCT(const CSCALCTDigi& alctDigi)
9  : valid(alctDigi.isValid()),
10  quality(alctDigi.getQuality()),
11  accel(alctDigi.getAccelerator()),
12  pattern(alctDigi.getCollisionB()),
13  keyWire(alctDigi.getKeyWG()),
14  reserved(0) {}
15 
16 #include <iostream>
18  bzero(this, sizeInWords() * 2);
19  flag1 = 0xDB0A;
20  reserved1 = reserved2 = reserved3 = 0xD;
21  rawBins = 16;
22  lctBins = 8;
23 }
24 
26  bzero(this, sizeInWords() * 2);
27  // things that depend on chamber type
28  int boardTypes[11] = {0, 2, 2, 3, 1, 6, 3, 5, 3, 5, 3};
29  flag1 = 0xDB0A;
30  reserved1 = reserved2 = reserved3 = 0xD;
31  boardType = boardTypes[chamberType];
32  //FIXME how do BXes work? Dump other raw data
33  // shows rawBins=16lctBins=8 or rawbins=0, lctBins=1
34  rawBins = 16;
35  lctBins = 8;
36 }
37 
39  l1aCounter = dmb.l1a24() & 0xFFF;
40  bxnCount = dmb.bxn12();
41 }
CSCALCTHeader2007::flag1
unsigned flag1
Definition: CSCALCTHeader2007.h:45
CSCALCTHeader2007::rawBins
unsigned rawBins
Definition: CSCALCTHeader2007.h:76
CSCDMBHeader::l1a24
unsigned l1a24() const
Definition: CSCDMBHeader.h:40
quality
const uint32_t *__restrict__ Quality * quality
Definition: CAHitNtupletGeneratorKernelsImpl.h:109
CSCALCTHeader2007::setEventInformation
void setEventInformation(const CSCDMBHeader &)
Definition: CSCALCTHeader2007.cc:38
CSCDMBHeader.h
sistrip::SpyUtilities::isValid
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
Definition: SiStripSpyUtilities.cc:124
CSCDMBHeader::bxn12
unsigned bxn12() const
Definition: CSCDMBHeader.h:38
CSCALCTHeader2007::bxnCount
unsigned bxnCount
Definition: CSCALCTHeader2007.h:56
CSCALCTHeader2007::reserved2
unsigned reserved2
Definition: CSCALCTHeader2007.h:51
CSCALCTHeader2007::CSCALCTHeader2007
CSCALCTHeader2007()
Definition: CSCALCTHeader2007.cc:17
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
CSCALCTHeader2007::lctBins
unsigned lctBins
Definition: CSCALCTHeader2007.h:77
CSCALCTHeader2007.h
CSCDMBHeader
Definition: CSCDMBHeader.h:15
CSCALCTHeader2007::l1aCounter
unsigned l1aCounter
Definition: CSCALCTHeader2007.h:50
CSCALCTHeader2007::boardType
unsigned boardType
Definition: CSCALCTHeader2007.h:65
CSCALCT::CSCALCT
CSCALCT()
Definition: CSCALCTHeader2007.cc:4
CSCALCTHeader2007::reserved3
unsigned reserved3
Definition: CSCALCTHeader2007.h:54
CSCALCTHeader2007::reserved1
unsigned reserved1
Definition: CSCALCTHeader2007.h:48
CSCALCTDigi
Definition: CSCALCTDigi.h:17
RunInfoPI::valid
Definition: RunInfoPayloadInspectoHelper.h:16
CSCALCTHeader2007::sizeInWords
short unsigned int sizeInWords() const
for packing
Definition: CSCALCTHeader2007.h:41