CMS 3D CMS Logo

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

#include <EcalWeightSet.h>

Public Types

typedef math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
 
typedef math::Matrix< 3, 10 >::type EcalWeightMatrix
 

Public Member Functions

 EcalWeightSet ()
 
 EcalWeightSet (const EcalWeightSet &aset)
 
EcalChi2WeightMatrixgetChi2WeightsAfterGainSwitch ()
 
const EcalChi2WeightMatrixgetChi2WeightsAfterGainSwitch () const
 
EcalChi2WeightMatrixgetChi2WeightsBeforeGainSwitch ()
 
const EcalChi2WeightMatrixgetChi2WeightsBeforeGainSwitch () const
 
EcalWeightMatrixgetWeightsAfterGainSwitch ()
 
const EcalWeightMatrixgetWeightsAfterGainSwitch () const
 
EcalWeightMatrixgetWeightsBeforeGainSwitch ()
 
const EcalWeightMatrixgetWeightsBeforeGainSwitch () const
 
EcalWeightSetoperator= (const EcalWeightSet &rhs)
 
void print (std::ostream &o) const
 
 ~EcalWeightSet ()
 

Private Member Functions

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

Private Attributes

EcalWeightMatrix wgtAfterSwitch_
 
EcalWeightMatrix wgtBeforeSwitch_
 
EcalChi2WeightMatrix wgtChi2AfterSwitch_
 
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
 

Friends

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

Detailed Description

Author: Shahram Rahatlou, University of Rome & INFN Container persistent object all weight objects needed to compute the pulse shape with the weight method should go in this container

Definition at line 17 of file EcalWeightSet.h.

Member Typedef Documentation

◆ EcalChi2WeightMatrix

Definition at line 20 of file EcalWeightSet.h.

◆ EcalWeightMatrix

Definition at line 19 of file EcalWeightSet.h.

Constructor & Destructor Documentation

◆ EcalWeightSet() [1/2]

EcalWeightSet::EcalWeightSet ( )

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id
EcalWeightSet.cc,v 1.3 2006/02/23 16:56:35 rahatlou Exp

Definition at line 8 of file EcalWeightSet.cc.

8 {}

◆ EcalWeightSet() [2/2]

EcalWeightSet::EcalWeightSet ( const EcalWeightSet aset)

Definition at line 10 of file EcalWeightSet.cc.

10  {
11  wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
12  wgtAfterSwitch_ = rhs.wgtAfterSwitch_;
13  wgtChi2BeforeSwitch_ = rhs.wgtChi2BeforeSwitch_;
14  wgtChi2AfterSwitch_ = rhs.wgtChi2AfterSwitch_;
15 }

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

◆ ~EcalWeightSet()

EcalWeightSet::~EcalWeightSet ( )

Definition at line 25 of file EcalWeightSet.cc.

25 {}

Member Function Documentation

◆ getChi2WeightsAfterGainSwitch() [1/2]

EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsAfterGainSwitch ( )
inline

◆ getChi2WeightsAfterGainSwitch() [2/2]

const EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsAfterGainSwitch ( ) const
inline

Definition at line 34 of file EcalWeightSet.h.

34 { return wgtChi2AfterSwitch_; }

References wgtChi2AfterSwitch_.

◆ getChi2WeightsBeforeGainSwitch() [1/2]

EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( )
inline

◆ getChi2WeightsBeforeGainSwitch() [2/2]

const EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( ) const
inline

Definition at line 33 of file EcalWeightSet.h.

33 { return wgtChi2BeforeSwitch_; }

References wgtChi2BeforeSwitch_.

◆ getWeightsAfterGainSwitch() [1/2]

EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( )
inline

◆ getWeightsAfterGainSwitch() [2/2]

const EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( ) const
inline

Definition at line 32 of file EcalWeightSet.h.

32 { return wgtAfterSwitch_; }

References wgtAfterSwitch_.

◆ getWeightsBeforeGainSwitch() [1/2]

EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( )
inline

◆ getWeightsBeforeGainSwitch() [2/2]

const EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( ) const
inline

Definition at line 31 of file EcalWeightSet.h.

31 { return wgtBeforeSwitch_; }

References wgtBeforeSwitch_.

◆ operator=()

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

◆ print()

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

Definition at line 38 of file EcalWeightSet.h.

38  {
39  using namespace std;
40  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_ << " wgtAfterSwitch_.: " << wgtAfterSwitch_
41  << " wgtChi2BeforeSwitch_.: " << wgtChi2BeforeSwitch_ << " wgtChi2AfterSwitch_.: " << wgtChi2AfterSwitch_ << endl;
42  }

References EcalTangentSkim_cfg::o, wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

◆ serialize()

template<class Archive >
void EcalWeightSet::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 50 of file EcalWeightSet.h.

◆ cond::serialization::access

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

Definition at line 50 of file EcalWeightSet.h.

Member Data Documentation

◆ wgtAfterSwitch_

EcalWeightMatrix EcalWeightSet::wgtAfterSwitch_
private

Definition at line 46 of file EcalWeightSet.h.

Referenced by EcalWeightSet(), getWeightsAfterGainSwitch(), operator=(), and print().

◆ wgtBeforeSwitch_

EcalWeightMatrix EcalWeightSet::wgtBeforeSwitch_
private

Definition at line 45 of file EcalWeightSet.h.

Referenced by EcalWeightSet(), getWeightsBeforeGainSwitch(), operator=(), and print().

◆ wgtChi2AfterSwitch_

EcalChi2WeightMatrix EcalWeightSet::wgtChi2AfterSwitch_
private

Definition at line 48 of file EcalWeightSet.h.

Referenced by EcalWeightSet(), getChi2WeightsAfterGainSwitch(), operator=(), and print().

◆ wgtChi2BeforeSwitch_

EcalChi2WeightMatrix EcalWeightSet::wgtChi2BeforeSwitch_
private

Definition at line 47 of file EcalWeightSet.h.

Referenced by EcalWeightSet(), getChi2WeightsBeforeGainSwitch(), operator=(), and print().

EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
EcalWeightSet::wgtAfterSwitch_
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:46
EcalWeightSet::wgtChi2BeforeSwitch_
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:47
std
Definition: JetResolutionObject.h:76
EcalWeightSet::wgtChi2AfterSwitch_
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:48
EcalWeightSet::wgtBeforeSwitch_
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:45