CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondFormats/ESObjects/interface/ESTBWeights.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESTBWeights_H
00002 #define CondFormats_ESObjects_ESTBWeights_H
00003 
00004 #include <map>
00005 #include <boost/cstdint.hpp>
00006 #include "CondFormats/ESObjects/interface/ESStripGroupId.h"
00007 #include "CondFormats/ESObjects/interface/ESWeightSet.h"
00008 
00009 
00010 class ESTBWeights {
00011   public:
00012    typedef std::map< ESStripGroupId,  ESWeightSet > ESTBWeightMap;
00013 
00014     ESTBWeights();
00015     ~ESTBWeights();
00016 
00017     // modifiers
00018     void setValue(const ESStripGroupId& groupId, const ESWeightSet& weight);
00019 
00020     // accessors
00021     const ESTBWeightMap& getMap() const { return map_; }
00022 
00023   private:
00024     ESTBWeightMap map_;
00025 };
00026 #endif