CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/L1TObjects/interface/L1MuCSCTFConfiguration.h

Go to the documentation of this file.
00001 #ifndef L1TObjects_L1MuCSCTFConfiguration_h
00002 #define L1TObjects_L1MuCSCTFConfiguration_h
00003 
00004 #include <string>
00005 #include <FWCore/ParameterSet/interface/ParameterSet.h>
00006 
00007 class L1MuCSCTFConfiguration {
00008 private:
00009         std::string registers[12];
00010 
00011 public:
00012         const std::string* configAsText(void) const throw() {
00013                 return registers;
00014         }
00015 
00016         edm::ParameterSet parameters(int sp) const ;
00017 
00018         L1MuCSCTFConfiguration& operator=(const L1MuCSCTFConfiguration& conf){
00019                 for(int sp=0;sp<12;sp++) registers[sp] = conf.registers[sp];
00020                 return *this;
00021         }
00022 
00023         L1MuCSCTFConfiguration(void){}
00024         L1MuCSCTFConfiguration(std::string regs[12]){ for(int sp=0;sp<12;sp++) registers[sp]=regs[sp]; }
00025         L1MuCSCTFConfiguration(const L1MuCSCTFConfiguration& conf){
00026                 for(int sp=0;sp<12;sp++) registers[sp] = conf.registers[sp];
00027         }
00028         ~L1MuCSCTFConfiguration(void){}
00029 
00031         void print(std::ostream&) const;
00032 };
00033 
00034 #endif