ESTBWeights

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef CondFormats_ESObjects_ESTBWeights_H
#define CondFormats_ESObjects_ESTBWeights_H

#include "CondFormats/Serialization/interface/Serializable.h"

#include <map>
#include "CondFormats/ESObjects/interface/ESStripGroupId.h"
#include "CondFormats/ESObjects/interface/ESWeightSet.h"

class ESTBWeights {
public:
  typedef std::map<ESStripGroupId, ESWeightSet> ESTBWeightMap;

  ESTBWeights();
  ~ESTBWeights();

  // modifiers
  void setValue(const ESStripGroupId& groupId, const ESWeightSet& weight);

  // accessors
  const ESTBWeightMap& getMap() const { return map_; }

private:
  ESTBWeightMap map_;

  COND_SERIALIZABLE;
};
#endif