Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:11

0001 #ifndef CondFormats_ESObjects_ESTBWeights_H
0002 #define CondFormats_ESObjects_ESTBWeights_H
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <map>
0007 #include "CondFormats/ESObjects/interface/ESStripGroupId.h"
0008 #include "CondFormats/ESObjects/interface/ESWeightSet.h"
0009 
0010 class ESTBWeights {
0011 public:
0012   typedef std::map<ESStripGroupId, ESWeightSet> ESTBWeightMap;
0013 
0014   ESTBWeights();
0015   ~ESTBWeights();
0016 
0017   // modifiers
0018   void setValue(const ESStripGroupId& groupId, const ESWeightSet& weight);
0019 
0020   // accessors
0021   const ESTBWeightMap& getMap() const { return map_; }
0022 
0023 private:
0024   ESTBWeightMap map_;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 #endif