CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CalibCoeff.h
Go to the documentation of this file.
1 #ifndef __CINT__
2 #ifndef CalibCoeff_H
3 #define CalibCoeff_H
4 
15 {
16  public :
18  CalibCoeff (const double & value = 1.,
19  const bool & isGood = 0) ;
21  ~CalibCoeff () ;
22 
24  double value () const ;
26  double difference () const ;
28  bool status () const ;
30  void setValue (const double & val) ;
32  void setStatus (const bool & stat) ;
34  double operator *= (const double & var) ;
35 
36  private :
37 
39  double m_value ;
41  bool m_isGood ;
43  double m_difference ;
44 
45 } ;
46 
47 
48 
49 
50 
51 #endif
52 #endif
void setValue(const double &val)
set its value and turn into good the coefficient
Definition: CalibCoeff.cc:59
bool status() const
its status
Definition: CalibCoeff.cc:49
double value() const
its value
Definition: CalibCoeff.cc:29
double difference() const
the abs difference wrt prev value
Definition: CalibCoeff.cc:39
double operator*=(const double &var)
update the value and turn into good the coefficient
Definition: CalibCoeff.cc:83
double m_difference
the difference with the previous value
Definition: CalibCoeff.h:43
bool m_isGood
if it is good
Definition: CalibCoeff.h:41
CalibCoeff(const double &value=1., const bool &isGood=0)
ctor
Definition: CalibCoeff.cc:11
double m_value
the actual value
Definition: CalibCoeff.h:39
void setStatus(const bool &stat)
set its value and turn into good the coefficient
Definition: CalibCoeff.cc:72
~CalibCoeff()
dtor
Definition: CalibCoeff.cc:22
intercalibration coefficient
Definition: CalibCoeff.h:14