CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
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 Attributes

EcalWeightMatrix wgtAfterSwitch_
 
EcalWeightMatrix wgtBeforeSwitch_
 
EcalChi2WeightMatrix wgtChi2AfterSwitch_
 
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
 

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

Member Typedef Documentation

Definition at line 21 of file EcalWeightSet.h.

Definition at line 20 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.4 2008/01/22 19:12:50 muzaffar 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:52
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:51
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:53
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:50
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 35 of file EcalWeightSet.h.

References wgtChi2AfterSwitch_.

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

Definition at line 34 of file EcalWeightSet.h.

References wgtChi2BeforeSwitch_.

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

Definition at line 33 of file EcalWeightSet.h.

References wgtAfterSwitch_.

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

Definition at line 32 of file EcalWeightSet.h.

References wgtBeforeSwitch_.

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

Definition at line 20 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

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

Definition at line 39 of file EcalWeightSet.h.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

39  {
40  using namespace std;
41  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
42  << " wgtAfterSwitch_.: " << wgtAfterSwitch_
43  << " wgtChi2BeforeSwitch_.: " << wgtChi2BeforeSwitch_
44  << " wgtChi2AfterSwitch_.: " << wgtChi2AfterSwitch_
45  << endl;
46  }
EcalChi2WeightMatrix wgtChi2BeforeSwitch_
Definition: EcalWeightSet.h:52
EcalWeightMatrix wgtAfterSwitch_
Definition: EcalWeightSet.h:51
EcalChi2WeightMatrix wgtChi2AfterSwitch_
Definition: EcalWeightSet.h:53
EcalWeightMatrix wgtBeforeSwitch_
Definition: EcalWeightSet.h:50

Member Data Documentation

EcalWeightMatrix EcalWeightSet::wgtAfterSwitch_
private

Definition at line 51 of file EcalWeightSet.h.

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

EcalWeightMatrix EcalWeightSet::wgtBeforeSwitch_
private

Definition at line 50 of file EcalWeightSet.h.

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

EcalChi2WeightMatrix EcalWeightSet::wgtChi2AfterSwitch_
private

Definition at line 53 of file EcalWeightSet.h.

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

EcalChi2WeightMatrix EcalWeightSet::wgtChi2BeforeSwitch_
private

Definition at line 52 of file EcalWeightSet.h.

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