CMS 3D CMS Logo

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, ESWeightSetESTBWeightMap
 

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

◆ ESTBWeightMap

Definition at line 12 of file ESTBWeights.h.

Constructor & Destructor Documentation

◆ ESTBWeights()

ESTBWeights::ESTBWeights ( )

Definition at line 5 of file ESTBWeights.cc.

5 {}

◆ ~ESTBWeights()

ESTBWeights::~ESTBWeights ( )

Definition at line 7 of file ESTBWeights.cc.

7 {}

Member Function Documentation

◆ getMap()

const ESTBWeightMap& ESTBWeights::getMap ( ) const
inline

Definition at line 21 of file ESTBWeights.h.

21 { return map_; }

References map_.

◆ serialize()

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

◆ setValue()

void ESTBWeights::setValue ( const ESStripGroupId groupId,
const ESWeightSet weight 
)

Definition at line 9 of file ESTBWeights.cc.

9  {
10  map_.insert(std::make_pair(groupId, weight));
11 }

References map_.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 26 of file ESTBWeights.h.

◆ cond::serialization::access

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

Definition at line 26 of file ESTBWeights.h.

Member Data Documentation

◆ map_

ESTBWeightMap ESTBWeights::map_
private

Definition at line 24 of file ESTBWeights.h.

Referenced by getMap(), and setValue().

ESTBWeights::map_
ESTBWeightMap map_
Definition: ESTBWeights.h:24
weight
Definition: weight.py:1