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 18 of file EcalWeightSet.h.

Member Typedef Documentation

Definition at line 23 of file EcalWeightSet.h.

Definition at line 22 of file EcalWeightSet.h.

Constructor & Destructor Documentation

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  {
9 
10 }
EcalWeightSet::EcalWeightSet ( const EcalWeightSet aset)

Definition at line 12 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

12  {
13  wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
14  wgtAfterSwitch_ = rhs.wgtAfterSwitch_;
15  wgtChi2BeforeSwitch_ = rhs.wgtChi2BeforeSwitch_;
16  wgtChi2AfterSwitch_ = rhs.wgtChi2AfterSwitch_;
17 
18 }
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:54
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:53
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:55
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:52
EcalWeightSet::~EcalWeightSet ( )

Definition at line 29 of file EcalWeightSet.cc.

29  {
30 }

Member Function Documentation

EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsAfterGainSwitch ( )
inline
const EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsAfterGainSwitch ( ) const
inline

Definition at line 37 of file EcalWeightSet.h.

References operator=(), and wgtChi2AfterSwitch_.

37 { return wgtChi2AfterSwitch_; }
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:55
EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( )
inline
const EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( ) const
inline

Definition at line 36 of file EcalWeightSet.h.

References wgtChi2BeforeSwitch_.

36 { return wgtChi2BeforeSwitch_; }
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:54
EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( )
inline
const EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( ) const
inline

Definition at line 35 of file EcalWeightSet.h.

References wgtAfterSwitch_.

35 { return wgtAfterSwitch_; }
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:53
EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( )
inline
const EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( ) const
inline

Definition at line 34 of file EcalWeightSet.h.

References wgtBeforeSwitch_.

34 { return wgtBeforeSwitch_; }
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:52
EcalWeightSet & EcalWeightSet::operator= ( const EcalWeightSet rhs)

Definition at line 20 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

Referenced by getChi2WeightsAfterGainSwitch().

20  {
21 
26  return *this;
27 }
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:54
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:53
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:55
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:52
void EcalWeightSet::print ( std::ostream &  o) const
inline

Definition at line 41 of file EcalWeightSet.h.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

41  {
42  using namespace std;
43  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
44  << " wgtAfterSwitch_.: " << wgtAfterSwitch_
45  << " wgtChi2BeforeSwitch_.: " << wgtChi2BeforeSwitch_
46  << " wgtChi2AfterSwitch_.: " << wgtChi2AfterSwitch_
47  << endl;
48  }
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:54
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:53
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:55
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:52
template<class Archive >
void EcalWeightSet::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 57 of file EcalWeightSet.h.

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

Definition at line 57 of file EcalWeightSet.h.

Member Data Documentation

EcalWeightMatrix EcalWeightSet::wgtAfterSwitch_
private

Definition at line 53 of file EcalWeightSet.h.

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

EcalWeightMatrix EcalWeightSet::wgtBeforeSwitch_
private

Definition at line 52 of file EcalWeightSet.h.

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

EcalChi2WeightMatrix EcalWeightSet::wgtChi2AfterSwitch_
private

Definition at line 55 of file EcalWeightSet.h.

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

EcalChi2WeightMatrix EcalWeightSet::wgtChi2BeforeSwitch_
private

Definition at line 54 of file EcalWeightSet.h.

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