CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESTBWeights Class Reference

#include <ESTBWeights.h>

Public Types

typedef std::map
< ESStripGroupId, ESWeightSet
ESTBWeightMap
 

Public Member Functions

 ESTBWeights ()
 
const ESTBWeightMapgetMap () const
 
void setValue (const ESStripGroupId &groupId, const ESWeightSet &weight)
 
 ~ESTBWeights ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

ESTBWeightMap map_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 10 of file ESTBWeights.h.

Member Typedef Documentation

Definition at line 12 of file ESTBWeights.h.

Constructor & Destructor Documentation

ESTBWeights::ESTBWeights ( )

Definition at line 5 of file ESTBWeights.cc.

5 {}
ESTBWeights::~ESTBWeights ( )

Definition at line 7 of file ESTBWeights.cc.

7 {}

Member Function Documentation

const ESTBWeightMap& ESTBWeights::getMap ( ) const
inline

Definition at line 21 of file ESTBWeights.h.

References map_.

21 { return map_; }
ESTBWeightMap map_
Definition: ESTBWeights.h:24
template<class Archive >
void ESTBWeights::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void ESTBWeights::setValue ( const ESStripGroupId groupId,
const ESWeightSet weight 
)

Definition at line 9 of file ESTBWeights.cc.

References map_.

9  {
10  map_.insert(std::make_pair(groupId, weight));
11 }
ESTBWeightMap map_
Definition: ESTBWeights.h:24

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 26 of file ESTBWeights.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 26 of file ESTBWeights.h.

Member Data Documentation

ESTBWeightMap ESTBWeights::map_
private

Definition at line 24 of file ESTBWeights.h.

Referenced by getMap(), and setValue().