CMS 3D CMS Logo

L1MuCSCTFConfiguration.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1MuCSCTFConfiguration_h
2 #define L1TObjects_L1MuCSCTFConfiguration_h
3 
5 
6 #include <string>
7 
9 private:
11 
12 public:
13  const std::string* configAsText(void) const throw() { return registers; }
14 
15  using const_iterator = const std::string*;
16  const_iterator begin() const { return registers; }
17  const_iterator end() const { return registers + 12; }
18 
19  const std::string& operator[](int iIndex) const { return registers[iIndex]; }
20 
22  for (int sp = 0; sp < 12; sp++)
23  registers[sp] = conf.registers[sp];
24  return *this;
25  }
26 
29  for (int sp = 0; sp < 12; sp++)
30  registers[sp] = regs[sp];
31  }
33  for (int sp = 0; sp < 12; sp++)
34  registers[sp] = conf.registers[sp];
35  }
37 
39  void print(std::ostream&) const;
40 
42 };
43 
44 #endif
const std::string * configAsText(void) const
const_iterator end() const
const_iterator begin() const
L1MuCSCTFConfiguration & operator=(const L1MuCSCTFConfiguration &conf)
L1MuCSCTFConfiguration(const L1MuCSCTFConfiguration &conf)
const std::string * const_iterator
void print(std::ostream &) const
print all the L1 CSCTF Configuration Parameters
const std::string & operator[](int iIndex) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1MuCSCTFConfiguration(std::string regs[12])