#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 44 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 16 of file CSCAnodeData2006.cc.
References alctBX_, CSCALCTHeader::BXNCount(), CSCAnodeDataFrame2006::frame(), index(), 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 37 of file CSCAnodeData2006.cc.
References CSCALCTHeader::check(), LogTrace, nAFEBs_, nTimeBins_, sizeInWords(), and theDataFrames.
|
overridevirtual |
Implements CSCAnodeDataFormat.
Definition at line 87 of file CSCAnodeData2006.cc.
References addHit(), CSCWireDigi::getBeamCrossingTag(), CSCWireDigi::getWireGroup(), LogTrace, nAFEBs_, and nTimeBins_.
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), SequenceTypes.Task::replace(), and selfTest().
|
private |
Definition at line 120 of file CSCAnodeData2006.cc.
References CSCAnodeDataFrame2006::addHit(), CSCAnodeDataFrame2006::frame(), mps_fire::i, index(), and theDataFrames.
Referenced by add().
|
inlineoverridevirtual |
Implements CSCAnodeDataFormat.
Definition at line 52 of file CSCAnodeData2006.h.
|
private |
the index into theDataFrames
Definition at line 135 of file CSCAnodeData2006.cc.
References nTimeBins_, mps_fire::result, and sizeInWords().
Referenced by addHit(), CSCAnodeData2006(), BeautifulSoup.PageElement::insert(), and rawHit().
|
private |
|
private |
Definition at line 129 of file CSCAnodeData2006.cc.
References index(), and theDataFrames.
Referenced by wireDigis().
|
static |
Definition at line 142 of file CSCAnodeData2006.cc.
References add(), CSCAnodeDataFrame2006::addHit(), CSCAnodeDataFrame2006::chip(), CSCAnodeDataFrame2006::data(), RecoTauValidation_cfi::header, CSCAnodeDataFrame2006::isHit(), CSCAnodeDataFrame2006::tbin(), and wireDigis().
|
inlineoverridevirtual |
the amount of the input binary buffer read, in 16-bit words
Implements CSCAnodeDataFormat.
Definition at line 54 of file CSCAnodeData2006.h.
References PVValHelper::add(), CSCAnodeDataFrame2006::addHit(), init, and CSCAnodeDataFrame2006::tbin().
Referenced by CSCAnodeData2006(), and index().
|
overridevirtual |
input layer is from 1 to 6
Implements CSCAnodeDataFormat.
Definition at line 54 of file CSCAnodeData2006.cc.
References alctBX_, CSCAnodeDataFrame2006::data(), CSCAnodeDataFrame2006::isHit(), LogTrace, nAFEBs_, nTimeBins_, and rawHit().
Referenced by selfTest().
|
private |
Definition at line 78 of file CSCAnodeData2006.h.
Referenced by CSCAnodeData2006(), and wireDigis().
|
private |
in 2007 format the max number of frames is 1860
Definition at line 76 of file CSCAnodeData2006.h.
Referenced by add(), CSCAnodeData2006(), and wireDigis().
|
private |
Definition at line 77 of file CSCAnodeData2006.h.
Referenced by add(), CSCAnodeData2006(), index(), and wireDigis().
|
private |
we don't know the size at first. Max should be 7 boards * 32 bins * 6 layers * 2
Definition at line 74 of file CSCAnodeData2006.h.
Referenced by addHit(), CSCAnodeData2006(), and rawHit().