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 12 of file ESWeightSet.h.

Constructor & Destructor Documentation

ESWeightSet::ESWeightSet ( )

Definition at line 2 of file ESWeightSet.cc.

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

Definition at line 4 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

4 { wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_; }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
ESWeightSet::ESWeightSet ( ESWeightMatrix amat)

Definition at line 6 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

6 { wgtBeforeSwitch_ = rhs; }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
ESWeightSet::~ESWeightSet ( )

Definition at line 13 of file ESWeightSet.cc.

13 {}

Member Function Documentation

ESWeightMatrix& ESWeightSet::getWeights ( )
inline

Definition at line 19 of file ESWeightSet.h.

References wgtBeforeSwitch_.

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

Definition at line 21 of file ESWeightSet.h.

References operator=(), and wgtBeforeSwitch_.

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

Definition at line 8 of file ESWeightSet.cc.

References wgtBeforeSwitch_.

Referenced by getWeights().

8  {
10  return *this;
11 }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
void ESWeightSet::print ( std::ostream &  o) const
inline

Definition at line 25 of file ESWeightSet.h.

References wgtBeforeSwitch_.

25  {
26  using namespace std;
27  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_ << endl;
28  }
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
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 33 of file ESWeightSet.h.

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

Definition at line 33 of file ESWeightSet.h.

Member Data Documentation

ESWeightMatrix ESWeightSet::wgtBeforeSwitch_
private

Definition at line 31 of file ESWeightSet.h.

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