CMS 3D CMS Logo

PixelTBMChannel.h
Go to the documentation of this file.
1 #ifndef PixelTBMChannel_h
2 #define PixelTBMChannel_h
3 
9 #include <string>
10 #include <iostream>
11 
12 namespace pos {
19  public:
21  PixelTBMChannel(std::string TBMChannel);
22 
23  std::string string() const;
24 
25  friend std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
26 
27  const bool operator<(const PixelTBMChannel& aTBMChannel) const {
28  return (isChannelB_ == false && aTBMChannel.isChannelB_ == true);
29  }
30 
31  const bool operator==(const PixelTBMChannel& aTBMChannel) const { return isChannelB_ == aTBMChannel.isChannelB_; }
32 
33  private:
35  };
36  std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
37 } // namespace pos
38 #endif
pos
Definition: PixelAliasList.h:18
pos::PixelTBMChannel::operator==
const bool operator==(const PixelTBMChannel &aTBMChannel) const
Definition: PixelTBMChannel.h:31
pos::PixelTBMChannel::operator<<
friend std::ostream & operator<<(std::ostream &s, const PixelTBMChannel &TBMChannel)
pos::PixelTBMChannel::isChannelB_
bool isChannelB_
Definition: PixelTBMChannel.h:34
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelTBMChannel
Simple class to hold either "A" or "B" for the TBM channel.
Definition: PixelTBMChannel.h:18
pos::PixelTBMChannel::string
std::string string() const
Definition: PixelTBMChannel.cc:18
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition: PixelCalibConfiguration.cc:1325
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelTBMChannel::PixelTBMChannel
PixelTBMChannel()
Definition: PixelTBMChannel.h:20
pos::PixelTBMChannel::operator<
const bool operator<(const PixelTBMChannel &aTBMChannel) const
Definition: PixelTBMChannel.h:27