CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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  {
20  public:
21 
23  PixelTBMChannel(std::string TBMChannel);
24 
25  std::string string() const;
26 
27  friend std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
28 
29  const bool operator<(const PixelTBMChannel& aTBMChannel) const{
30  return ( isChannelB_ == false && aTBMChannel.isChannelB_ == true );
31  }
32 
33  const bool operator==(const PixelTBMChannel& aTBMChannel) const{
34  return isChannelB_==aTBMChannel.isChannelB_;
35  }
36 
37  private:
39  };
40  std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
41 }
42 #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)