CondFormats
EcalObjects
src
EcalTBWeights.cc
Go to the documentation of this file.
1
7
#include "
CondFormats/EcalObjects/interface/EcalTBWeights.h
"
8
//
9
// defualt ctor creates vectors of length EBDataFrame::MAXSAMPLES==10
10
//
11
EcalTBWeights::EcalTBWeights
() {}
12
13
EcalTBWeights::~EcalTBWeights
() {}
14
15
void
EcalTBWeights::setValue
(
const
EcalXtalGroupId
& groupId,
const
EcalTDCId
& tdcId,
const
EcalWeightSet
&
weight
) {
16
setValue
(std::make_pair(groupId, tdcId),
weight
);
17
}
18
19
void
EcalTBWeights::setValue
(
const
std::pair<EcalXtalGroupId, EcalTDCId>& keyPair,
const
EcalWeightSet
&
weight
) {
20
map_
.insert(std::make_pair(keyPair,
weight
));
21
}
EcalWeightSet
Definition:
EcalWeightSet.h:17
EcalXtalGroupId
Definition:
EcalXtalGroupId.h:11
weight
Definition:
weight.py:1
EcalTBWeights::setValue
void setValue(const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight)
Definition:
EcalTBWeights.cc:15
EcalTBWeights::~EcalTBWeights
~EcalTBWeights()
Definition:
EcalTBWeights.cc:13
EcalTBWeights::EcalTBWeights
EcalTBWeights()
Definition:
EcalTBWeights.cc:11
EcalTBWeights::EcalTDCId
int EcalTDCId
Definition:
EcalTBWeights.h:17
EcalTBWeights::map_
EcalTBWeightMap map_
Definition:
EcalTBWeights.h:31
EcalTBWeights.h
Generated for CMSSW Reference Manual by
1.8.14