#include <CSCAnodeData2006.h>
Public Member Functions | |
virtual void | add (const CSCWireDigi &, int layer) |
CSCAnodeData2006 (const CSCALCTHeader &) | |
a blank one, for Monte Carlo More... | |
CSCAnodeData2006 (const CSCALCTHeader &, const unsigned short *buf) | |
fill from a real datastream More... | |
virtual unsigned short * | data () |
virtual unsigned short int | sizeInWords () const |
the amount of the input binary buffer read, in 16-bit words More... | |
virtual std::vector< CSCWireDigi > | wireDigis (int layer) const |
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 18 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 39 of file CSCAnodeData2006.cc.
References CSCALCTHeader::check(), LogTrace, nAFEBs_, nTimeBins_, sizeInWords(), and theDataFrames.
|
virtual |
Implements CSCAnodeDataFormat.
Definition at line 90 of file CSCAnodeData2006.cc.
References addHit(), CSCWireDigi::getBeamCrossingTag(), CSCWireDigi::getWireGroup(), LogTrace, nAFEBs_, and nTimeBins_.
Referenced by selfTest().
|
private |
Definition at line 123 of file CSCAnodeData2006.cc.
References CSCAnodeDataFrame2006::addHit(), CSCAnodeDataFrame2006::frame(), i, index(), and theDataFrames.
Referenced by add().
|
inlinevirtual |
Implements CSCAnodeDataFormat.
Definition at line 52 of file CSCAnodeData2006.h.
References theDataFrames.
Referenced by cuy.FindIssue::__init__().
|
private |
the index into theDataFrames
Definition at line 138 of file CSCAnodeData2006.cc.
References nTimeBins_, query::result, and sizeInWords().
Referenced by BeautifulSoup.PageElement::_invert(), addHit(), CSCAnodeData2006(), and rawHit().
|
private |
|
private |
Definition at line 132 of file CSCAnodeData2006.cc.
References index(), and theDataFrames.
Referenced by wireDigis().
|
static |
Definition at line 145 of file CSCAnodeData2006.cc.
References add(), CSCAnodeDataFrame2006::addHit(), CSCAnodeDataFrame2006::chip(), CSCAnodeDataFrame2006::data(), CSCAnodeDataFrame2006::isHit(), CSCAnodeDataFrame2006::tbin(), and wireDigis().
|
inlinevirtual |
the amount of the input binary buffer read, in 16-bit words
Implements CSCAnodeDataFormat.
Definition at line 54 of file CSCAnodeData2006.h.
References nAFEBs_, and nTimeBins_.
Referenced by CSCAnodeData2006(), and index().
|
virtual |
input layer is from 1 to 6
Implements CSCAnodeDataFormat.
Definition at line 56 of file CSCAnodeData2006.cc.
References alctBX_, CSCAnodeDataFrame2006::data(), debug, CSCAnodeDataFrame2006::isHit(), j, 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(), sizeInWords(), and wireDigis().
|
private |
Definition at line 77 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 74 of file CSCAnodeData2006.h.
Referenced by addHit(), CSCAnodeData2006(), data(), and rawHit().