#include <CSCAnodeData2006.h>
Public Member Functions | |
void | add (const CSCWireDigi &, int layer) override |
CSCAnodeData2006 (const CSCALCTHeader &) | |
a blank one, for Monte Carlo More... | |
CSCAnodeData2006 (const CSCALCTHeader &, const unsigned short *buf) | |
fill from a real datastream More... | |
unsigned short * | data () override |
unsigned short int | sizeInWords () const override |
the amount of the input binary buffer read, in 16-bit words More... | |
std::vector< CSCWireDigi > | wireDigis (int layer) const override |
input layer is from 1 to 6 More... | |
Public Member Functions inherited from CSCAnodeDataFormat | |
virtual | ~CSCAnodeDataFormat () |
Static Public Member Functions | |
static void | selfTest () |
Private Member Functions | |
void | addHit (int afeb, int tbin, int layer, int halfLayer, unsigned wireBit) |
int | index (int afeb, int tbin, int layer) const |
the index into theDataFrames More... | |
void | init () |
CSCAnodeDataFrame2006 | rawHit (int afeb, int tbin, int layer, int halfLayer) const |
Private Attributes | |
unsigned int | alctBX_ |
int | nAFEBs_ |
in 2007 format the max number of frames is 1860 More... | |
int | nTimeBins_ |
unsigned short | theDataFrames [2700] |
we don't know the size at first. Max should be 7 boards * 32 bins * 6 layers * 2 More... | |
Definition at line 39 of file CSCAnodeData2006.h.
CSCAnodeData2006::CSCAnodeData2006 | ( | const CSCALCTHeader & | header | ) |
a blank one, for Monte Carlo
for digi->raw packing
To get BX from ALCT digis
Definition at line 13 of file CSCAnodeData2006.cc.
References alctBX_, CSCAnodeDataFrame2006::frame(), RecoTauValidation_cfi::header, index(), phase1PixelTopology::layer, LogTrace, nAFEBs_, nTimeBins_, sizeInWords(), and theDataFrames.
CSCAnodeData2006::CSCAnodeData2006 | ( | const CSCALCTHeader & | header, |
const unsigned short * | buf | ||
) |
fill from a real datastream
the sizes of raw words vary depending on type of the ALCT board number of layer parts for various alct board types: 1 2 3 5 6
dont memcpy if not 2006 or 2007
Definition at line 32 of file CSCAnodeData2006.cc.
References visDQMUpload::buf, RecoTauValidation_cfi::header, LogTrace, nAFEBs_, nTimeBins_, sizeInWords(), and theDataFrames.
|
overridevirtual |
Implements CSCAnodeDataFormat.
Definition at line 76 of file CSCAnodeData2006.cc.
References addHit(), L1TBPTX_cfi::bitNumber, CSCWireDigi::getBeamCrossingTag(), CSCWireDigi::getWireGroup(), phase1PixelTopology::layer, LogTrace, nAFEBs_, and nTimeBins_.
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), SequenceTypes.Task::replace(), and selfTest().
|
private |
Definition at line 101 of file CSCAnodeData2006.cc.
References amptDefault_cfi::frame, mps_fire::i, index(), phase1PixelTopology::layer, and theDataFrames.
Referenced by add().
|
inlineoverridevirtual |
Implements CSCAnodeDataFormat.
Definition at line 46 of file CSCAnodeData2006.h.
References theDataFrames.
|
private |
the index into theDataFrames
Definition at line 112 of file CSCAnodeData2006.cc.
References cms::cuda::assert(), phase1PixelTopology::layer, nTimeBins_, mps_fire::result, and sizeInWords().
Referenced by addHit(), CSCAnodeData2006(), BeautifulSoup.PageElement::insert(), and rawHit().
|
private |
|
private |
Definition at line 108 of file CSCAnodeData2006.cc.
References index(), phase1PixelTopology::layer, and theDataFrames.
Referenced by wireDigis().
|
static |
Definition at line 119 of file CSCAnodeData2006.cc.
References add(), cms::cuda::assert(), amptDefault_cfi::frame, RecoTauValidation_cfi::header, and wireDigis().
|
inlineoverridevirtual |
the amount of the input binary buffer read, in 16-bit words
Implements CSCAnodeDataFormat.
Definition at line 48 of file CSCAnodeData2006.h.
References nAFEBs_, and nTimeBins_.
Referenced by CSCAnodeData2006(), and index().
|
overridevirtual |
input layer is from 1 to 6
Implements CSCAnodeDataFormat.
Definition at line 44 of file CSCAnodeData2006.cc.
References alctBX_, amptDefault_cfi::frame, dqmiolumiharvest::j, phase1PixelTopology::layer, LogTrace, nAFEBs_, nTimeBins_, and rawHit().
Referenced by selfTest().
|
private |
Definition at line 72 of file CSCAnodeData2006.h.
Referenced by CSCAnodeData2006(), and wireDigis().
|
private |
in 2007 format the max number of frames is 1860
Definition at line 70 of file CSCAnodeData2006.h.
Referenced by add(), CSCAnodeData2006(), sizeInWords(), and wireDigis().
|
private |
Definition at line 71 of file CSCAnodeData2006.h.
Referenced by add(), CSCAnodeData2006(), index(), sizeInWords(), and wireDigis().
|
private |
we don't know the size at first. Max should be 7 boards * 32 bins * 6 layers * 2
Definition at line 68 of file CSCAnodeData2006.h.
Referenced by addHit(), CSCAnodeData2006(), data(), and rawHit().