CMS 3D CMS Logo

EcalTBWeights Class Reference

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
Id
EcalTBWeights.h,v 1.2 2006/02/23 16:56:34 rahatlou Exp
. More...

#include <CondFormats/EcalObjects/interface/EcalTBWeights.h>

List of all members.

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
Id
EcalTBWeights.cc,v 1.3 2006/02/23 16:56:35 rahatlou Exp
.
const EcalTBWeightMapgetMap () 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_


Detailed Description

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
Id
EcalTBWeights.h,v 1.2 2006/02/23 16:56:34 rahatlou Exp
.

Definition at line 16 of file EcalTBWeights.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

EcalTBWeights::EcalTBWeights (  ) 

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id
EcalTBWeights.cc,v 1.3 2006/02/23 16:56:35 rahatlou Exp
.

Definition at line 11 of file EcalTBWeights.cc.

00011                              {
00012 
00013 }

EcalTBWeights::~EcalTBWeights (  ) 

Definition at line 15 of file EcalTBWeights.cc.

00015                               {
00016 }


Member Function Documentation

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 }


Member Data Documentation

EcalTBWeightMap EcalTBWeights::map_ [private]

Definition at line 32 of file EcalTBWeights.h.

Referenced by getMap(), and setValue().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:57 2009 for CMSSW by  doxygen 1.5.4