Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:10

0001 /**
0002  * Author: Shahram Rahatlou, University of Rome & INFN
0003  * Created: 22 Feb 2006
0004  * $Id: EcalTBWeights.cc,v 1.3 2006/02/23 16:56:35 rahatlou Exp $
0005  **/
0006 
0007 #include "CondFormats/EcalObjects/interface/EcalTBWeights.h"
0008 //
0009 // defualt ctor creates vectors of length EBDataFrame::MAXSAMPLES==10
0010 //
0011 EcalTBWeights::EcalTBWeights() {}
0012 
0013 EcalTBWeights::~EcalTBWeights() {}
0014 
0015 void EcalTBWeights::setValue(const EcalXtalGroupId& groupId, const EcalTDCId& tdcId, const EcalWeightSet& weight) {
0016   setValue(std::make_pair(groupId, tdcId), weight);
0017 }
0018 
0019 void EcalTBWeights::setValue(const std::pair<EcalXtalGroupId, EcalTDCId>& keyPair, const EcalWeightSet& weight) {
0020   map_.insert(std::make_pair(keyPair, weight));
0021 }