Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
ESObjects
interface
ESTBWeights.h
Go to the documentation of this file.
1
#ifndef CondFormats_ESObjects_ESTBWeights_H
2
#define CondFormats_ESObjects_ESTBWeights_H
3
4
#include <map>
5
#include <boost/cstdint.hpp>
6
#include "
CondFormats/ESObjects/interface/ESStripGroupId.h
"
7
#include "
CondFormats/ESObjects/interface/ESWeightSet.h
"
8
9
10
class
ESTBWeights
{
11
public
:
12
typedef
std::map< ESStripGroupId, ESWeightSet >
ESTBWeightMap
;
13
14
ESTBWeights
();
15
~ESTBWeights
();
16
17
// modifiers
18
void
setValue
(
const
ESStripGroupId
& groupId,
const
ESWeightSet
&
weight
);
19
20
// accessors
21
const
ESTBWeightMap
&
getMap
()
const
{
return
map_
; }
22
23
private
:
24
ESTBWeightMap
map_
;
25
};
26
#endif
ESStripGroupId.h
ESTBWeights::ESTBWeightMap
std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap
Definition:
ESTBWeights.h:12
ESTBWeights::map_
ESTBWeightMap map_
Definition:
ESTBWeights.h:24
ESWeightSet.h
ESTBWeights::getMap
const ESTBWeightMap & getMap() const
Definition:
ESTBWeights.h:21
ESTBWeights::setValue
void setValue(const ESStripGroupId &groupId, const ESWeightSet &weight)
Definition:
ESTBWeights.cc:13
ESWeightSet
Definition:
ESWeightSet.h:8
ESTBWeights::ESTBWeights
ESTBWeights()
Definition:
ESTBWeights.cc:5
ESTBWeights
Definition:
ESTBWeights.h:10
ESTBWeights::~ESTBWeights
~ESTBWeights()
Definition:
ESTBWeights.cc:9
histoStyle.weight
int weight
Definition:
histoStyle.py:50
ESStripGroupId
Definition:
ESStripGroupId.h:4
Generated for CMSSW Reference Manual by
1.8.5