CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EcalWeight Class Reference

#include <EcalWeight.h>

Public Member Functions

 EcalWeight ()
 
 EcalWeight (const double &awgt)
 
 EcalWeight (const EcalWeight &awgt)
 
bool operator!= (const EcalWeight &rhs) const
 
double operator() () const
 
bool operator< (const EcalWeight &rhs) const
 
bool operator<= (const EcalWeight &rhs) const
 
EcalWeightoperator= (const EcalWeight &rhs)
 
bool operator== (const EcalWeight &rhs) const
 
bool operator> (const EcalWeight &rhs) const
 
bool operator>= (const EcalWeight &rhs) const
 
void setValue (const double &awgt)
 
double value () const
 

Private Attributes

double wgt_
 

Detailed Description

Author: Shahram Rahatlou, University of Rome & INFN This is workaround in order to be able to use vector<double> for ECAL weights. because of a conflict I need to define this trivial class so that I can use POOL to store vector<EcalWeight>

Definition at line 14 of file EcalWeight.h.

Constructor & Destructor Documentation

◆ EcalWeight() [1/3]

EcalWeight::EcalWeight ( )

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id

Definition at line 9 of file EcalWeight.cc.

References wgt_.

9 { wgt_ = 0.0; }
double wgt_
Definition: EcalWeight.h:33

◆ EcalWeight() [2/3]

EcalWeight::EcalWeight ( const double &  awgt)

Definition at line 11 of file EcalWeight.cc.

References wgt_.

11 { wgt_ = awgt; }
double wgt_
Definition: EcalWeight.h:33

◆ EcalWeight() [3/3]

EcalWeight::EcalWeight ( const EcalWeight awgt)

Definition at line 13 of file EcalWeight.cc.

References wgt_.

13 { wgt_ = awgt.wgt_; }
double wgt_
Definition: EcalWeight.h:33

Member Function Documentation

◆ operator!=()

bool EcalWeight::operator!= ( const EcalWeight rhs) const
inline

Definition at line 26 of file EcalWeight.h.

References wgt_.

26 { return (wgt_ != rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ operator()()

double EcalWeight::operator() ( ) const
inline

Definition at line 22 of file EcalWeight.h.

References wgt_.

22 { return wgt_; }
double wgt_
Definition: EcalWeight.h:33

◆ operator<()

bool EcalWeight::operator< ( const EcalWeight rhs) const
inline

Definition at line 27 of file EcalWeight.h.

References wgt_.

27 { return (wgt_ < rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ operator<=()

bool EcalWeight::operator<= ( const EcalWeight rhs) const
inline

Definition at line 29 of file EcalWeight.h.

References wgt_.

29 { return (wgt_ <= rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ operator=()

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

Definition at line 15 of file EcalWeight.cc.

References wgt_.

15  {
16  wgt_ = rhs.wgt_;
17  return *this;
18 }
double wgt_
Definition: EcalWeight.h:33

◆ operator==()

bool EcalWeight::operator== ( const EcalWeight rhs) const
inline

Definition at line 25 of file EcalWeight.h.

References wgt_.

25 { return (wgt_ == rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ operator>()

bool EcalWeight::operator> ( const EcalWeight rhs) const
inline

Definition at line 28 of file EcalWeight.h.

References wgt_.

28 { return (wgt_ > rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ operator>=()

bool EcalWeight::operator>= ( const EcalWeight rhs) const
inline

Definition at line 30 of file EcalWeight.h.

References wgt_.

30 { return (wgt_ >= rhs.wgt_); }
double wgt_
Definition: EcalWeight.h:33

◆ setValue()

void EcalWeight::setValue ( const double &  awgt)
inline

Definition at line 24 of file EcalWeight.h.

References wgt_.

Referenced by Types._ProxyParameter::__init__().

24 { wgt_ = awgt; }
double wgt_
Definition: EcalWeight.h:33

◆ value()

double EcalWeight::value ( ) const
inline

Member Data Documentation

◆ wgt_

double EcalWeight::wgt_
private