CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESWeightSet Class Reference

#include <ESWeightSet.h>

Public Types

typedef math::Matrix< 2, 3 >::type ESWeightMatrix
 

Public Member Functions

 ESWeightSet ()
 
 ESWeightSet (const ESWeightSet &aset)
 
 ESWeightSet (ESWeightMatrix &amat)
 
ESWeightMatrixgetWeights ()
 
const ESWeightMatrixgetWeights () const
 
ESWeightSetoperator= (const ESWeightSet &rhs)
 
void print (std::ostream &o) const
 
 ~ESWeightSet ()
 

Private Member Functions

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

Private Attributes

ESWeightMatrix wgtBeforeSwitch_
 

Friends

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

Detailed Description

Definition at line 10 of file ESWeightSet.h.

Member Typedef Documentation

Definition at line 14 of file ESWeightSet.h.

Constructor & Destructor Documentation

ESWeightSet::ESWeightSet ( )

Definition at line 2 of file ESWeightSet.cc.

2  {
3 
4 }
ESWeightSet::ESWeightSet ( const ESWeightSet aset)

Definition at line 6 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

6  {
7  wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
8 }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
ESWeightSet::ESWeightSet ( ESWeightMatrix amat)

Definition at line 10 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

10  {
11  wgtBeforeSwitch_ = rhs ;
12 }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
ESWeightSet::~ESWeightSet ( )

Definition at line 19 of file ESWeightSet.cc.

19  {
20 }

Member Function Documentation

ESWeightMatrix& ESWeightSet::getWeights ( )
inline

Definition at line 21 of file ESWeightSet.h.

References wgtBeforeSwitch_.

21 { return wgtBeforeSwitch_; }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
const ESWeightMatrix& ESWeightSet::getWeights ( ) const
inline

Definition at line 23 of file ESWeightSet.h.

References operator=(), and wgtBeforeSwitch_.

23 { return wgtBeforeSwitch_; }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
ESWeightSet & ESWeightSet::operator= ( const ESWeightSet rhs)

Definition at line 14 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

Referenced by getWeights().

14  {
16  return *this;
17 }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
void ESWeightSet::print ( std::ostream &  o) const
inline

Definition at line 27 of file ESWeightSet.h.

References wgtBeforeSwitch_.

27  {
28  using namespace std;
29  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
30  << endl;
31  }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
template<class Archive >
void ESWeightSet::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 37 of file ESWeightSet.h.

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

Definition at line 37 of file ESWeightSet.h.

Member Data Documentation

ESWeightMatrix ESWeightSet::wgtBeforeSwitch_
private

Definition at line 35 of file ESWeightSet.h.

Referenced by ESWeightSet(), getWeights(), operator=(), and print().