#include <EcalTBWeights.h>
Public Types | |
typedef std::map< std::pair < EcalXtalGroupId, EcalTDCId > , EcalWeightSet > | EcalTBWeightMap |
typedef int | EcalTDCId |
Public Member Functions | |
EcalTBWeights () | |
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_ |
Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
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 | ( | ) |
Definition at line 15 of file EcalTBWeights.cc.
{ }
const EcalTBWeightMap& EcalTBWeights::getMap | ( | ) | const [inline] |
Definition at line 29 of file EcalTBWeights.h.
References map_.
Referenced by EcalTBWeightsXMLTranslator::dumpXML().
{ return map_; }
void EcalTBWeights::setValue | ( | const EcalXtalGroupId & | groupId, |
const EcalTDCId & | tdcId, | ||
const EcalWeightSet & | weight | ||
) |
Definition at line 19 of file EcalTBWeights.cc.
Referenced by EcalTestDevDB::generateEcalTBWeights(), StoreEcalCondition::readEcalTBWeightsFromFile(), and EcalTBWeightsXMLTranslator::readXML().
{ setValue( std::make_pair(groupId,tdcId), weight); }
void EcalTBWeights::setValue | ( | const std::pair< EcalXtalGroupId, EcalTDCId > & | keyPair, |
const EcalWeightSet & | weight | ||
) |
Definition at line 26 of file EcalTBWeights.cc.
References map_.
{ map_.insert( std::make_pair(keyPair,weight) ); }
EcalTBWeightMap EcalTBWeights::map_ [private] |
Definition at line 32 of file EcalTBWeights.h.
Referenced by getMap(), and setValue().