CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

EcalWeightSet Class Reference

#include <EcalWeightSet.h>

List of all members.

Public Types

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

Public Member Functions

 EcalWeightSet ()
 EcalWeightSet (const EcalWeightSet &aset)
const EcalChi2WeightMatrixgetChi2WeightsAfterGainSwitch () const
EcalChi2WeightMatrixgetChi2WeightsAfterGainSwitch ()
const EcalChi2WeightMatrixgetChi2WeightsBeforeGainSwitch () const
EcalChi2WeightMatrixgetChi2WeightsBeforeGainSwitch ()
const EcalWeightMatrixgetWeightsAfterGainSwitch () const
EcalWeightMatrixgetWeightsAfterGainSwitch ()
const EcalWeightMatrixgetWeightsBeforeGainSwitch () const
EcalWeightMatrixgetWeightsBeforeGainSwitch ()
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.

                             {

}
EcalWeightSet::EcalWeightSet ( const EcalWeightSet aset)

Definition at line 12 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

                                                     {
  wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
  wgtAfterSwitch_ = rhs.wgtAfterSwitch_;
  wgtChi2BeforeSwitch_ = rhs.wgtChi2BeforeSwitch_;
  wgtChi2AfterSwitch_ = rhs.wgtChi2AfterSwitch_;

}
EcalWeightSet::~EcalWeightSet ( )

Definition at line 29 of file EcalWeightSet.cc.

                              {
}

Member Function Documentation

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

Definition at line 35 of file EcalWeightSet.h.

References wgtChi2AfterSwitch_.

{ return wgtChi2AfterSwitch_; }
EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( ) [inline]
const EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch ( ) const [inline]

Definition at line 34 of file EcalWeightSet.h.

References wgtChi2BeforeSwitch_.

EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( ) [inline]
const EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch ( ) const [inline]

Definition at line 33 of file EcalWeightSet.h.

References wgtAfterSwitch_.

{ return wgtAfterSwitch_; }
const EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( ) const [inline]

Definition at line 32 of file EcalWeightSet.h.

References wgtBeforeSwitch_.

{ return wgtBeforeSwitch_; }
EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch ( ) [inline]
EcalWeightSet & EcalWeightSet::operator= ( const EcalWeightSet rhs)
void EcalWeightSet::print ( std::ostream &  o) const [inline]

Definition at line 39 of file EcalWeightSet.h.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

                                  {
    using namespace std;
    o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
      << " wgtAfterSwitch_.: " << wgtAfterSwitch_
      << " wgtChi2BeforeSwitch_.: " << wgtChi2BeforeSwitch_
      << " wgtChi2AfterSwitch_.: " << wgtChi2AfterSwitch_
      << endl;
  }

Member Data Documentation

Definition at line 51 of file EcalWeightSet.h.

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

Definition at line 50 of file EcalWeightSet.h.

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

Definition at line 53 of file EcalWeightSet.h.

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

Definition at line 52 of file EcalWeightSet.h.

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