16 wire_ = wire & 0x0000FFFF;
19 wireBX_ = (wire >> 16) & 0x0000FFFF;
38 for (
int i = 0;
i < 32;
i++) {
49 std::vector<int> tbins;
52 for (
int i = 0;
i < 32;
i++) {
65 std::ostringstream ost;
69 <<
" | Time Bins On ";
71 std::copy(tbins.begin(), tbins.end(), std::ostream_iterator<int>(ost,
" "));
76 o <<
" CSCWireDigi wg: " << digi.
getWireGroup() <<
", First Time Bin On: " << digi.
getTimeBin() <<
", Time Bins On: ";
78 std::copy(tbins.begin(), tbins.end(), std::ostream_iterator<int>(
o,
" "));
Log< level::Info, true > LogVerbatim
CSCWireDigi()
wiregroup#, tbin bit word
void print() const
Print content of digi.
int getWireGroupBX() const
return BX assigned for the wire group (16 upper bits from the wire group number)
int wireBXandWires_
BX in the wire digis (16 upper bits from the wire group number)
int getTimeBin() const
return first tbin ON number
std::vector< int > getTimeBinsOn() const
return vector of time bins ON
std::ostream & operator<<(std::ostream &o, const CSCWireDigi &digi)
int getBXandWireGroup() const
int getBeamCrossingTag() const
return tbin number, (obsolete, use getTimeBin() instead)
int getWireGroup() const
default