16 wire_ = wire & 0x0000FFFF;
19 wireBX_= (wire >> 16) & 0x0000FFFF;
40 for(
int i=0;
i<32;
i++) {
49 std::vector<int> tbins;
52 for(
int i=0;
i<32;
i++) {
53 if(tbit & one) tbins.push_back(
i);
63 std::ostringstream ost;
67 <<
" First Time Bin On " <<
getTimeBin() <<
" | Time Bins On ";
69 for(
unsigned int i=0;
i<tbins.size();
i++) {ost << tbins[
i] <<
" ";}
75 <<
" CSC Wire First Time Bin On " << digi.
getTimeBin()
76 <<
" CSC Time Bins On ";
CSCWireDigi()
wiregroup#, tbin bit word
void print() const
Print content of digi.
int wireBXandWires_
BX in the wire digis (16 upper bits from the wire group number)
std::vector< int > getTimeBinsOn() const
return vector of time bins ON
int getBeamCrossingTag() const
return tbin number, (obsolete, use getTimeBin() instead)
int getWireGroup() const
default
int getWireGroupBX() const
return BX assigned for the wire group (16 upper bits from the wire group number)
std::ostream & operator<<(std::ostream &o, const CSCWireDigi &digi)
int getTimeBin() const
return first tbin ON number
int getBXandWireGroup() const