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

◆ ESWeightMatrix

Definition at line 12 of file ESWeightSet.h.

Constructor & Destructor Documentation

◆ ESWeightSet() [1/3]

ESWeightSet::ESWeightSet ( )

Definition at line 2 of file ESWeightSet.cc.

2 {}

◆ ESWeightSet() [2/3]

ESWeightSet::ESWeightSet ( const ESWeightSet aset)

Definition at line 4 of file ESWeightSet.cc.

4 { wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_; }

References wgtBeforeSwitch_.

◆ ESWeightSet() [3/3]

ESWeightSet::ESWeightSet ( ESWeightMatrix amat)

Definition at line 6 of file ESWeightSet.cc.

6 { wgtBeforeSwitch_ = rhs; }

References wgtBeforeSwitch_.

◆ ~ESWeightSet()

ESWeightSet::~ESWeightSet ( )

Definition at line 13 of file ESWeightSet.cc.

13 {}

Member Function Documentation

◆ getWeights() [1/2]

ESWeightMatrix& ESWeightSet::getWeights ( )
inline

Definition at line 19 of file ESWeightSet.h.

19 { return wgtBeforeSwitch_; }

References wgtBeforeSwitch_.

◆ getWeights() [2/2]

const ESWeightMatrix& ESWeightSet::getWeights ( ) const
inline

Definition at line 21 of file ESWeightSet.h.

21 { return wgtBeforeSwitch_; }

References wgtBeforeSwitch_.

◆ operator=()

ESWeightSet & ESWeightSet::operator= ( const ESWeightSet rhs)

Definition at line 8 of file ESWeightSet.cc.

8  {
10  return *this;
11 }

References wgtBeforeSwitch_.

◆ print()

void ESWeightSet::print ( std::ostream &  o) const
inline

Definition at line 25 of file ESWeightSet.h.

25  {
26  using namespace std;
27  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_ << endl;
28  }

References EcalTangentSkim_cfg::o, and wgtBeforeSwitch_.

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 33 of file ESWeightSet.h.

◆ cond::serialization::access

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

Definition at line 33 of file ESWeightSet.h.

Member Data Documentation

◆ wgtBeforeSwitch_

ESWeightMatrix ESWeightSet::wgtBeforeSwitch_
private

Definition at line 31 of file ESWeightSet.h.

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

EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
ESWeightSet::wgtBeforeSwitch_
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
std
Definition: JetResolutionObject.h:76