![]() |
![]() |
#include <RecordCD.h>
Public Member Functions | |
int | eod () const |
int | halfP () const |
int | lbInLink () const |
std::vector< int > | packedStrips () const |
int | partitionData () const |
int | partitionNumber () const |
std::string | print () const |
RecordCD () | |
RecordCD (int chamber, int partitionNumber, int eod, int halfP, const std::vector< int > &packedStrips) | |
RecordCD (const Data &lbData) | |
RecordCD (const DataRecord &rec) | |
~RecordCD () override | |
![]() | |
const Data & | data () const |
DataRecord (const Data &data=None) | |
std::string | print () const |
DataRecordType | type () const |
virtual | ~DataRecord () |
Static Public Member Functions | |
static bool | matchType (const DataRecord &record) |
![]() | |
static std::string | name (const DataRecordType &code) |
static std::string | print (const DataRecord &record) |
Static Private Attributes | |
static const int | BITS_PER_PARTITION = 8 |
static const int | CD_TYPE_LESSTHENFLAG = 0x3 |
static const int | CD_TYPE_SHIFT = 14 |
static const int | CHAMBER_MASK = 0X3 |
static const int | CHAMBER_SHIFT = 14 |
static const int | EOD_MASK = 0X1 |
static const int | EOD_SHIFT = 9 |
static const int | HALFP_MASK = 0X1 |
static const int | HALFP_SHIFT = 8 |
static const int | PARTITION_DATA_MASK = 0XFF |
static const int | PARTITION_DATA_SHIFT = 0 |
static const int | PARTITION_NUMBER_MASK = 0XF |
static const int | PARTITION_NUMBER_SHIFT = 10 |
Additional Inherited Members | |
![]() | |
typedef uint16_t | Data |
enum | DataRecordType { None = 0, StartOfBXData = 1, StartOfTbLinkInputNumberData = 2, ChamberData = 3, Empty = 4, RDDM = 5, SDDM = 6, RCDM = 7, RDM = 8, UndefinedType = 9 } |
![]() | |
Data | theData |
Definition at line 8 of file RecordCD.h.
|
inline |
Definition at line 32 of file RecordCD.h.
References relativeConstraints::chamber, eod(), halfP(), packedStrips(), and partitionNumber().
RecordCD::RecordCD | ( | int | chamber, |
int | partitionNumber, | ||
int | eod, | ||
int | halfP, | ||
const std::vector< int > & | packedStrips | ||
) |
Definition at line 8 of file RecordCD.cc.
References BITS_PER_PARTITION, CHAMBER_SHIFT, EOD_SHIFT, HALFP_SHIFT, PARTITION_DATA_SHIFT, PARTITION_NUMBER_SHIFT, partitionData(), partitionNumber(), and rpcrawtodigi::DataRecord::theData.
|
inline |
Definition at line 38 of file RecordCD.h.
|
inline |
Definition at line 41 of file RecordCD.h.
|
inlineoverride |
Definition at line 43 of file RecordCD.h.
int RecordCD::eod | ( | ) | const |
Definition at line 32 of file RecordCD.cc.
References EOD_MASK, EOD_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by matchType(), RecordCD(), and RPCRecordFormatter::recordUnpack().
int RecordCD::halfP | ( | ) | const |
Definition at line 34 of file RecordCD.cc.
References HALFP_MASK, HALFP_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by matchType(), and RecordCD().
int RecordCD::lbInLink | ( | ) | const |
Definition at line 28 of file RecordCD.cc.
References CHAMBER_MASK, CHAMBER_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by matchType(), and omtf::RpcUnpacker::unpack().
|
inlinestatic |
Definition at line 45 of file RecordCD.h.
References CD_TYPE_SHIFT, rpcrawtodigi::DataRecord::data(), eod(), halfP(), lbInLink(), packedStrips(), partitionData(), partitionNumber(), print(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by rpcrawtodigi::DataRecord::print(), and rpcrawtodigi::DataRecord::type().
std::vector< int > RecordCD::packedStrips | ( | ) | const |
Definition at line 38 of file RecordCD.cc.
References BITS_PER_PARTITION, cuy::ib, partitionData(), partitionNumber(), and RecoTauPiZeroBuilderPlugins_cfi::strips.
Referenced by matchType(), and RecordCD().
int RecordCD::partitionData | ( | ) | const |
Definition at line 36 of file RecordCD.cc.
References PARTITION_DATA_MASK, PARTITION_DATA_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by matchType(), packedStrips(), RecordCD(), and omtf::RpcUnpacker::unpack().
int RecordCD::partitionNumber | ( | ) | const |
Definition at line 30 of file RecordCD.cc.
References PARTITION_NUMBER_MASK, PARTITION_NUMBER_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by matchType(), packedStrips(), RecordCD(), and omtf::RpcUnpacker::unpack().
std::string RecordCD::print | ( | void | ) | const |
Definition at line 49 of file RecordCD.cc.
References str.
Referenced by matchType(), rpcrawtodigi::DataRecord::print(), and rpcrawtodigi::EventRecords::print().
|
staticprivate |
Definition at line 28 of file RecordCD.h.
Referenced by packedStrips(), and RecordCD().
|
staticprivate |
Definition at line 10 of file RecordCD.h.
|
staticprivate |
Definition at line 11 of file RecordCD.h.
Referenced by matchType().
|
staticprivate |
Definition at line 25 of file RecordCD.h.
Referenced by lbInLink().
|
staticprivate |
Definition at line 26 of file RecordCD.h.
Referenced by lbInLink(), and RecordCD().
|
staticprivate |
Definition at line 22 of file RecordCD.h.
Referenced by eod().
|
staticprivate |
Definition at line 23 of file RecordCD.h.
Referenced by eod(), and RecordCD().
|
staticprivate |
Definition at line 19 of file RecordCD.h.
Referenced by halfP().
|
staticprivate |
Definition at line 20 of file RecordCD.h.
Referenced by halfP(), and RecordCD().
|
staticprivate |
Definition at line 13 of file RecordCD.h.
Referenced by partitionData().
|
staticprivate |
Definition at line 14 of file RecordCD.h.
Referenced by partitionData(), and RecordCD().
|
staticprivate |
Definition at line 16 of file RecordCD.h.
Referenced by partitionNumber().
|
staticprivate |
Definition at line 17 of file RecordCD.h.
Referenced by partitionNumber(), and RecordCD().