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
L1MuCSCTFConfiguration::L1MuCSCTFConfiguration
L1MuCSCTFConfiguration(void)
Definition: L1MuCSCTFConfiguration.h:27
L1MuCSCTFConfiguration
Definition: L1MuCSCTFConfiguration.h:8
L1MuCSCTFConfiguration::registers
std::string registers[12]
Definition: L1MuCSCTFConfiguration.h:10
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1MuCSCTFConfiguration::print
void print(std::ostream &) const
print all the L1 CSCTF Configuration Parameters
Definition: L1MuCSCTFConfiguration.cc:5
L1MuCSCTFConfiguration::operator[]
const std::string & operator[](int iIndex) const
Definition: L1MuCSCTFConfiguration.h:19
L1MuCSCTFConfiguration::L1MuCSCTFConfiguration
L1MuCSCTFConfiguration(std::string regs[12])
Definition: L1MuCSCTFConfiguration.h:28
L1MuCSCTFConfiguration::configAsText
const std::string * configAsText(void) const
Definition: L1MuCSCTFConfiguration.h:13
Serializable.h
L1MuCSCTFConfiguration::end
const_iterator end() const
Definition: L1MuCSCTFConfiguration.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1MuCSCTFConfiguration::begin
const_iterator begin() const
Definition: L1MuCSCTFConfiguration.h:16
L1MuCSCTFConfiguration::operator=
L1MuCSCTFConfiguration & operator=(const L1MuCSCTFConfiguration &conf)
Definition: L1MuCSCTFConfiguration.h:21
L1MuCSCTFConfiguration::~L1MuCSCTFConfiguration
~L1MuCSCTFConfiguration(void)
Definition: L1MuCSCTFConfiguration.h:36
L1MuCSCTFConfiguration::L1MuCSCTFConfiguration
L1MuCSCTFConfiguration(const L1MuCSCTFConfiguration &conf)
Definition: L1MuCSCTFConfiguration.h:32
L1MuCSCTFConfiguration::const_iterator
const std::string * const_iterator
Definition: L1MuCSCTFConfiguration.h:15