CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/EcalObjects/src/EcalTBWeights.cc

Go to the documentation of this file.
00001 
00007 #include "CondFormats/EcalObjects/interface/EcalTBWeights.h"
00008 //
00009 // defualt ctor creates vectors of length EBDataFrame::MAXSAMPLES==10
00010 //
00011 EcalTBWeights::EcalTBWeights() {
00012 
00013 }
00014 
00015 EcalTBWeights::~EcalTBWeights() {
00016 }
00017 
00018 void
00019 EcalTBWeights::setValue(const EcalXtalGroupId& groupId,
00020                         const EcalTDCId& tdcId,
00021                         const EcalWeightSet& weight) {
00022   setValue( std::make_pair(groupId,tdcId), weight);
00023 }
00024 
00025 void
00026 EcalTBWeights::setValue(const std::pair<EcalXtalGroupId,EcalTDCId >& keyPair, const EcalWeightSet& weight) {
00027   map_.insert( std::make_pair(keyPair,weight) );
00028 }
00029