File indexing completed on 2024-04-06 11:58:13
0001 #ifndef PixelTBMChannel_h
0002 #define PixelTBMChannel_h
0003
0004
0005
0006
0007
0008
0009 #include <string>
0010 #include <iostream>
0011
0012 namespace pos {
0013
0014
0015
0016
0017
0018 class PixelTBMChannel {
0019 public:
0020 PixelTBMChannel() { ; }
0021 PixelTBMChannel(std::string TBMChannel);
0022
0023 std::string string() const;
0024
0025 friend std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
0026
0027 const bool operator<(const PixelTBMChannel& aTBMChannel) const {
0028 return (isChannelB_ == false && aTBMChannel.isChannelB_ == true);
0029 }
0030
0031 const bool operator==(const PixelTBMChannel& aTBMChannel) const { return isChannelB_ == aTBMChannel.isChannelB_; }
0032
0033 private:
0034 bool isChannelB_;
0035 };
0036 std::ostream& operator<<(std::ostream& s, const PixelTBMChannel& TBMChannel);
0037 }
0038 #endif