CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
11  module_ = PixelModuleName(name);
12  char TBMChannelString[2] = {0, 0};
13  TBMChannelString[0] = name[name.size() - 1]; // take the last character of name
14  TBMChannel_ = PixelTBMChannel(TBMChannelString);
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
std::string modulename() const
Definition: PixelChannel.h:29
Simple class to hold either &quot;A&quot; or &quot;B&quot; for the TBM channel.
std::string TBMChannelString() const
Definition: PixelChannel.h:31
This class implements...
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
std::string channelname() const
Definition: PixelChannel.cc:22
PixelTBMChannel TBMChannel_
Definition: PixelChannel.h:46
This class implements..
tuple module
Definition: callgraph.py:69