#include <CondFormats/EcalObjects/interface/EcalTBWeights.h>
Public Types | |
typedef std::map< std::pair < EcalXtalGroupId, EcalTDCId >, EcalWeightSet > | EcalTBWeightMap |
typedef int | EcalTDCId |
Public Member Functions | |
EcalTBWeights () | |
Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
| |
const EcalTBWeightMap & | getMap () const |
void | setValue (const std::pair< EcalXtalGroupId, EcalTDCId > &keyPair, const EcalWeightSet &weight) |
void | setValue (const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight) |
~EcalTBWeights () | |
Private Attributes | |
EcalTBWeightMap | map_ |
Definition at line 16 of file EcalTBWeights.h.
typedef std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeights::EcalTBWeightMap |
Definition at line 19 of file EcalTBWeights.h.
typedef int EcalTBWeights::EcalTDCId |
Definition at line 18 of file EcalTBWeights.h.
EcalTBWeights::EcalTBWeights | ( | ) |
Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
Definition at line 11 of file EcalTBWeights.cc.
EcalTBWeights::~EcalTBWeights | ( | ) |
const EcalTBWeightMap& EcalTBWeights::getMap | ( | ) | const [inline] |
Definition at line 29 of file EcalTBWeights.h.
References map_.
Referenced by EcalTrivialObjectAnalyzer::analyze(), EcalTBWeightUncalibRecHitProducer::produce(), and EcalWeightUncalibRecHitProducer::produce().
00029 { return map_; }
void EcalTBWeights::setValue | ( | const std::pair< EcalXtalGroupId, EcalTDCId > & | keyPair, | |
const EcalWeightSet & | weight | |||
) |
Definition at line 26 of file EcalTBWeights.cc.
References map_.
00026 { 00027 map_.insert( std::make_pair(keyPair,weight) ); 00028 }
void EcalTBWeights::setValue | ( | const EcalXtalGroupId & | groupId, | |
const EcalTDCId & | tdcId, | |||
const EcalWeightSet & | weight | |||
) |
Definition at line 19 of file EcalTBWeights.cc.
Referenced by EcalTestDevDB::generateEcalTBWeights(), and StoreEcalCondition::readEcalTBWeightsFromFile().
00021 { 00022 setValue( std::make_pair<EcalXtalGroupId,EcalTDCId>(groupId,tdcId), weight); 00023 }
EcalTBWeightMap EcalTBWeights::map_ [private] |