CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Simple class to hold either &quot;A&quot; or &quot;B&quot; for the TBM channel.
const bool operator==(const PixelTBMChannel &aTBMChannel) const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
std::string string() const
const bool operator<(const PixelTBMChannel &aTBMChannel) const
friend std::ostream & operator<<(std::ostream &s, const PixelTBMChannel &TBMChannel)