5 using namespace rpcrawtodigi;
9 const std::vector<int> & packedStrips) :
DataRecord(0)
22 for (vector<int>::const_iterator iv = packedStrips.begin(); iv != packedStrips.end(); iv++ ) {
24 partitionData |= (1<<ibit);
59 for (
int ib=0; ib <8; ++ib) {
60 if ((partitionData>>ib)& 1) strips.push_back( partitionNumber*
BITS_PER_PARTITION + ib);
67 std::ostringstream str;
static const int HALFP_SHIFT
static const int HALFP_MASK
static const int CHAMBER_SHIFT
static const int EOD_MASK
int partitionData() const
std::string print() const
static const int PARTITION_DATA_MASK
static const int CHAMBER_MASK
int partitionNumber() const
static const int PARTITION_DATA_SHIFT
std::vector< int > packedStrips() const
static const int PARTITION_NUMBER_SHIFT
static const int PARTITION_NUMBER_MASK
static const int EOD_SHIFT
static const int BITS_PER_PARTITION