CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ESTimeSampleWeights Class Reference

#include <ESTimeSampleWeights.h>

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

4 {
5  w0_ = 0.;
6  w1_ = 0.;
7  w2_ = 0.;
8 }
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_.

10  {
11  w0_ = w0;
12  w1_ = w1;
13  w2_ = w2;
14 }
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
ESTimeSampleWeights::~ESTimeSampleWeights ( )

Definition at line 16 of file ESTimeSampleWeights.cc.

16  {
17 
18 }

Member Function Documentation

float ESTimeSampleWeights::getWeightForTS0 ( ) const
inline

Definition at line 14 of file ESTimeSampleWeights.h.

References w0_.

Referenced by ESRecHitWorker::set().

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

Definition at line 16 of file ESTimeSampleWeights.h.

References w1_.

Referenced by ESRecHitWorker::set().

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

Definition at line 18 of file ESTimeSampleWeights.h.

References w2_.

Referenced by ESRecHitWorker::set().

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

Definition at line 20 of file ESTimeSampleWeights.h.

References w0_, w1_, and w2_.

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

Definition at line 13 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w0_.

void ESTimeSampleWeights::setWeightForTS1 ( const float &  value)
inline

Definition at line 15 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w1_.

void ESTimeSampleWeights::setWeightForTS2 ( const float &  value)
inline

Definition at line 17 of file ESTimeSampleWeights.h.

References relativeConstraints::value, and w2_.

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