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
std::string string() const
Simple class to hold either "A" or "B" for the TBM channel.
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
const bool operator<(const PixelTBMChannel &aTBMChannel) const
friend std::ostream & operator<<(std::ostream &s, const PixelTBMChannel &TBMChannel)
const bool operator==(const PixelTBMChannel &aTBMChannel) const