CMS 3D CMS Logo

PixelChannel.cc
Go to the documentation of this file.
2 
3 using namespace pos;
4 
5 PixelChannel::PixelChannel(PixelModuleName module, std::string TBMChannel) : module_(module), TBMChannel_(TBMChannel) {}
6 
8  : module_(module), TBMChannel_(TBMChannel) {}
9 
12  char TBMChannelString[2] = {0, 0};
13  TBMChannelString[0] = name[name.size() - 1]; // take the last character of name
15 }
16 
17 std::ostream& pos::operator<<(std::ostream& s, const PixelChannel& channel) {
18  s << channel.channelname();
19  return s;
20 }
21 
static const char module_[]
PixelModuleName module_
Definition: PixelChannel.h:45
Simple class to hold either "A" or "B" for the TBM channel.
std::string channelname() const
Definition: PixelChannel.cc:22
This class implements...
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
std::string TBMChannelString() const
Definition: PixelChannel.h:31
std::string modulename() const
Definition: PixelChannel.h:29
PixelTBMChannel TBMChannel_
Definition: PixelChannel.h:46
This class implements..