1 #ifndef DataFormats_Phase2TrackerDigi_Phase2TrackerDigi_H
2 #define DataFormats_Phase2TrackerDigi_Phase2TrackerDigi_H
34 static std::pair<unsigned int,unsigned int>
channelToPixel(
unsigned int ch) {
46 static unsigned int channelToRow(
unsigned int ch) {
return ch & 0x03FF; }
57 return o <<
" " << digi.
channel();
60 #endif // DataFormats_Phase2TrackerDigi_Phase2TrackerDigi_H
unsigned int column() const
Phase2TrackerDigi(unsigned int packed_channel)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
static PackedDigiType pixelToChannel(unsigned int row, unsigned int col)
unsigned int channel() const
static unsigned int channelToRow(unsigned int ch)
unsigned int edge() const
PackedDigiType theChannel
unsigned int strip() const
Phase2TrackerDigi(unsigned int row, unsigned int col)
static std::pair< unsigned int, unsigned int > channelToPixel(unsigned int ch)
static unsigned int channelToColumn(unsigned int ch)