CMS 3D CMS Logo

Public Member Functions | Private Attributes

ESTimeSampleWeights Class Reference

#include <ESTimeSampleWeights.h>

List of all members.

Public Member Functions

 ESTimeSampleWeights ()
 ESTimeSampleWeights (const float &w0, const float &w1, const float &w2)
float getWeightForTS0 () const
float getWeightForTS1 () const
float getWeightForTS2 () const
void print (std::ostream &s) const
void setWeightForTS0 (const float &value)
void setWeightForTS1 (const float &value)
void setWeightForTS2 (const float &value)
 ~ESTimeSampleWeights ()

Private Attributes

float w0_
float w1_
float w2_

Detailed Description

Definition at line 5 of file ESTimeSampleWeights.h.


Constructor & Destructor Documentation

ESTimeSampleWeights::ESTimeSampleWeights ( )

Definition at line 3 of file ESTimeSampleWeights.cc.

References w0_, w1_, and w2_.

{
  w0_ = 0.;
  w1_ = 0.;
  w2_ = 0.;
}
ESTimeSampleWeights::ESTimeSampleWeights ( const float &  w0,
const float &  w1,
const float &  w2 
)

Definition at line 10 of file ESTimeSampleWeights.cc.

References w0_, w1_, w2, and w2_.

                                                                                             {
  w0_ = w0;
  w1_ = w1;
  w2_ = w2;
}
ESTimeSampleWeights::~ESTimeSampleWeights ( )

Definition at line 16 of file ESTimeSampleWeights.cc.

                                          {

}

Member Function Documentation

float ESTimeSampleWeights::getWeightForTS0 ( ) const [inline]

Definition at line 14 of file ESTimeSampleWeights.h.

References w0_.

Referenced by ESRecHitWorker::set().

{ return w0_; }
float ESTimeSampleWeights::getWeightForTS1 ( ) const [inline]

Definition at line 16 of file ESTimeSampleWeights.h.

References w1_.

Referenced by ESRecHitWorker::set().

{ return w1_; }
float ESTimeSampleWeights::getWeightForTS2 ( ) const [inline]

Definition at line 18 of file ESTimeSampleWeights.h.

References w2_.

Referenced by ESRecHitWorker::set().

{ return w2_; }
void ESTimeSampleWeights::print ( std::ostream &  s) const [inline]

Definition at line 20 of file ESTimeSampleWeights.h.

References w0_, w1_, and w2_.

                                    {
      s<<"ESTimeSampleWeights: "<<w0_<<" "<<w1_<<" "<<w2_;
    }
void ESTimeSampleWeights::setWeightForTS0 ( const float &  value) [inline]

Definition at line 13 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w0_.

{ w0_ = value; }
void ESTimeSampleWeights::setWeightForTS1 ( const float &  value) [inline]

Definition at line 15 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w1_.

{ w1_ = value; }
void ESTimeSampleWeights::setWeightForTS2 ( const float &  value) [inline]

Definition at line 17 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w2_.

{ w2_ = value; }

Member Data Documentation

float ESTimeSampleWeights::w0_ [private]

Definition at line 26 of file ESTimeSampleWeights.h.

Referenced by ESTimeSampleWeights(), getWeightForTS0(), print(), and setWeightForTS0().

float ESTimeSampleWeights::w1_ [private]

Definition at line 27 of file ESTimeSampleWeights.h.

Referenced by ESTimeSampleWeights(), getWeightForTS1(), print(), and setWeightForTS1().

float ESTimeSampleWeights::w2_ [private]

Definition at line 28 of file ESTimeSampleWeights.h.

Referenced by ESTimeSampleWeights(), getWeightForTS2(), print(), and setWeightForTS2().