CMS 3D CMS Logo

EcalWeightSet Class Reference

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. More...

#include <CondFormats/EcalObjects/interface/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 (const EcalWeightSet &aset)
 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
.
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

typedef math::Matrix<10,10>::type EcalWeightSet::EcalChi2WeightMatrix

Definition at line 21 of file EcalWeightSet.h.

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

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.

00008                              {
00009 
00010 }

EcalWeightSet::EcalWeightSet ( const EcalWeightSet aset  ) 

Definition at line 12 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

00012                                                      {
00013   wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
00014   wgtAfterSwitch_ = rhs.wgtAfterSwitch_;
00015   wgtChi2BeforeSwitch_ = rhs.wgtChi2BeforeSwitch_;
00016   wgtChi2AfterSwitch_ = rhs.wgtChi2AfterSwitch_;
00017 
00018 }

EcalWeightSet::~EcalWeightSet (  ) 

Definition at line 29 of file EcalWeightSet.cc.

00029                               {
00030 }


Member Function Documentation

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

Definition at line 35 of file EcalWeightSet.h.

References wgtChi2AfterSwitch_.

00035 { return wgtChi2AfterSwitch_; }

EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsAfterGainSwitch (  )  [inline]

Definition at line 30 of file EcalWeightSet.h.

References wgtChi2AfterSwitch_.

Referenced by EcalTestDevDB::generateEcalTBWeights(), EcalTBWeightUncalibRecHitProducer::produce(), EcalWeightUncalibRecHitProducer::produce(), EcalTrivialConditionRetriever::produceEcalTBWeights(), StoreEcalCondition::readEcalTBWeightsFromFile(), and EcalUnpackerWorker::work().

00030 { return wgtChi2AfterSwitch_; }

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

Definition at line 34 of file EcalWeightSet.h.

References wgtChi2BeforeSwitch_.

00034 { return wgtChi2BeforeSwitch_; }

EcalChi2WeightMatrix& EcalWeightSet::getChi2WeightsBeforeGainSwitch (  )  [inline]

Definition at line 29 of file EcalWeightSet.h.

References wgtChi2BeforeSwitch_.

Referenced by EcalTestDevDB::generateEcalTBWeights(), EcalTBWeightUncalibRecHitProducer::produce(), EcalWeightUncalibRecHitProducer::produce(), EcalTrivialConditionRetriever::produceEcalTBWeights(), StoreEcalCondition::readEcalTBWeightsFromFile(), and EcalUnpackerWorker::work().

00029 { return wgtChi2BeforeSwitch_; }

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

Definition at line 33 of file EcalWeightSet.h.

References wgtAfterSwitch_.

00033 { return wgtAfterSwitch_; }

EcalWeightMatrix& EcalWeightSet::getWeightsAfterGainSwitch (  )  [inline]

Definition at line 28 of file EcalWeightSet.h.

References wgtAfterSwitch_.

Referenced by EcalTestDevDB::generateEcalTBWeights(), EcalTBWeightUncalibRecHitProducer::produce(), EcalWeightUncalibRecHitProducer::produce(), EcalTrivialConditionRetriever::produceEcalTBWeights(), StoreEcalCondition::readEcalTBWeightsFromFile(), and EcalUnpackerWorker::work().

00028 { return wgtAfterSwitch_; }

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

Definition at line 32 of file EcalWeightSet.h.

References wgtBeforeSwitch_.

00032 { return wgtBeforeSwitch_; }

EcalWeightMatrix& EcalWeightSet::getWeightsBeforeGainSwitch (  )  [inline]

Definition at line 27 of file EcalWeightSet.h.

References wgtBeforeSwitch_.

Referenced by EcalTestDevDB::generateEcalTBWeights(), EcalTBWeightUncalibRecHitProducer::produce(), EcalWeightUncalibRecHitProducer::produce(), EcalTrivialConditionRetriever::produceEcalTBWeights(), StoreEcalCondition::readEcalTBWeightsFromFile(), and EcalUnpackerWorker::work().

00027 { return wgtBeforeSwitch_; }

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

Definition at line 20 of file EcalWeightSet.cc.

References wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

00020                                                                 {
00021 
00022   wgtBeforeSwitch_ = rhs.wgtBeforeSwitch_;
00023   wgtAfterSwitch_ = rhs.wgtAfterSwitch_;
00024   wgtChi2BeforeSwitch_ = rhs.wgtChi2BeforeSwitch_;
00025   wgtChi2AfterSwitch_ = rhs.wgtChi2AfterSwitch_;
00026   return *this;
00027 }

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

Definition at line 39 of file EcalWeightSet.h.

References lat::endl(), std, wgtAfterSwitch_, wgtBeforeSwitch_, wgtChi2AfterSwitch_, and wgtChi2BeforeSwitch_.

00039                                   {
00040     using namespace std;
00041     o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
00042       << " wgtAfterSwitch_.: " << wgtAfterSwitch_
00043       << " wgtChi2BeforeSwitch_.: " << wgtChi2BeforeSwitch_
00044       << " wgtChi2AfterSwitch_.: " << wgtChi2AfterSwitch_
00045       << endl;
00046   }


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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:20:03 2009 for CMSSW by  doxygen 1.5.4