Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:16

0001 ///
0002 /// \class l1t::CaloConfig
0003 ///
0004 /// Description: Placeholder for calorimeter trigger runtime configuration
0005 ///
0006 /// Implementation:
0007 ///
0008 ///
0009 
0010 #ifndef CaloConfig_h
0011 #define CaloConfig_h
0012 
0013 #include <memory>
0014 #include <iostream>
0015 #include <vector>
0016 #include <string>
0017 #include <cmath>
0018 
0019 #include "CondFormats/Serialization/interface/Serializable.h"
0020 #include "CondFormats/L1TObjects/interface/LUT.h"
0021 
0022 namespace l1t {
0023 
0024   class CaloConfig {
0025   public:
0026     enum { Version = 1 };
0027 
0028     CaloConfig() { version_ = (unsigned)Version; }
0029     ~CaloConfig() {}
0030     friend class CaloConfigHelper;
0031 
0032   private:
0033     unsigned version_;
0034     std::vector<unsigned> uconfig_;
0035     std::vector<std::string> sconfig_;
0036 
0037     COND_SERIALIZABLE;
0038   };
0039 
0040 }  // namespace l1t
0041 #endif