CMS 3D CMS Logo

EcalTBWeights.cc
Go to the documentation of this file.
1 
8 //
9 // defualt ctor creates vectors of length EBDataFrame::MAXSAMPLES==10
10 //
12 
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 }
EcalXtalGroupId
Definition: EcalXtalGroupId.h:11
EcalTBWeights.h
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::EcalTDCId
int EcalTDCId
Definition: EcalTBWeights.h:17
EcalWeightSet
Definition: EcalWeightSet.h:17
EcalTBWeights::EcalTBWeights
EcalTBWeights()
Definition: EcalTBWeights.cc:11
EcalTBWeights::map_
EcalTBWeightMap map_
Definition: EcalTBWeights.h:31
weight
Definition: weight.py:1