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 "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <map>
7
#include <boost/cstdint.hpp>
8
#include "
CondFormats/ESObjects/interface/ESStripGroupId.h
"
9
#include "
CondFormats/ESObjects/interface/ESWeightSet.h
"
10
11
12
class
ESTBWeights
{
13
public
:
14
typedef
std::map< ESStripGroupId, ESWeightSet >
ESTBWeightMap
;
15
16
ESTBWeights
();
17
~ESTBWeights
();
18
19
// modifiers
20
void
setValue
(
const
ESStripGroupId
& groupId,
const
ESWeightSet
&
weight
);
21
22
// accessors
23
const
ESTBWeightMap
&
getMap
()
const
{
return
map_
; }
24
25
private
:
26
ESTBWeightMap
map_
;
27
28
COND_SERIALIZABLE
;
29
};
30
#endif
ESStripGroupId.h
ESTBWeights::ESTBWeightMap
std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap
Definition:
ESTBWeights.h:14
ESTBWeights::map_
ESTBWeightMap map_
Definition:
ESTBWeights.h:26
ESWeightSet.h
ESTBWeights::getMap
const ESTBWeightMap & getMap() const
Definition:
ESTBWeights.h:23
ESTBWeights::setValue
void setValue(const ESStripGroupId &groupId, const ESWeightSet &weight)
Definition:
ESTBWeights.cc:13
ESWeightSet
Definition:
ESWeightSet.h:10
ESTBWeights::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
ESTBWeights.h:28
ESTBWeights::ESTBWeights
ESTBWeights()
Definition:
ESTBWeights.cc:5
ESTBWeights
Definition:
ESTBWeights.h:12
ESTBWeights::~ESTBWeights
~ESTBWeights()
Definition:
ESTBWeights.cc:9
histoStyle.weight
int weight
Definition:
histoStyle.py:50
Serializable.h
ESStripGroupId
Definition:
ESStripGroupId.h:6
Generated for CMSSW Reference Manual by
1.8.5