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 
sistrip::module_
static const char module_[]
Definition: ConstantsForGranularity.h:38
pos
Definition: PixelAliasList.h:18
pos::PixelModuleName
This class implements..
Definition: PixelModuleName.h:26
pos::PixelChannel::modulename
std::string modulename() const
Definition: PixelChannel.h:29
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelChannel::module_
PixelModuleName module_
Definition: PixelChannel.h:45
pos::PixelTBMChannel
Simple class to hold either "A" or "B" for the TBM channel.
Definition: PixelTBMChannel.h:18
PixelChannel.h
This class implements...
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelChannel::PixelChannel
PixelChannel()
Definition: PixelChannel.h:23
pos::PixelChannel::channelname
std::string channelname() const
Definition: PixelChannel.cc:22
pos::PixelChannel
Definition: PixelChannel.h:21
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition: PixelCalibConfiguration.cc:1325
pos::PixelChannel::TBMChannelString
std::string TBMChannelString() const
Definition: PixelChannel.h:31
pos::PixelChannel::TBMChannel_
PixelTBMChannel TBMChannel_
Definition: PixelChannel.h:46
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17