CMS 3D CMS Logo

CalibCoeff.h
Go to the documentation of this file.
1 #ifndef __CINT__
2 #ifndef CalibCoeff_H
3 #define CalibCoeff_H
4 
11 {
12  public :
14  CalibCoeff (const double & value = 1.,
15  const bool & isGood = 0) ;
17  ~CalibCoeff () ;
18 
20  double value () const ;
22  double difference () const ;
24  bool status () const ;
26  void setValue (const double & val) ;
28  void setStatus (const bool & stat) ;
30  double operator *= (const double & var) ;
31 
32  private :
33 
35  double m_value ;
37  bool m_isGood ;
39  double m_difference ;
40 
41 } ;
42 
43 
44 
45 
46 
47 #endif
48 #endif
void setValue(const double &val)
set its value and turn into good the coefficient
Definition: CalibCoeff.cc:55
bool status() const
its status
Definition: CalibCoeff.cc:45
double value() const
its value
Definition: CalibCoeff.cc:25
double difference() const
the abs difference wrt prev value
Definition: CalibCoeff.cc:35
double operator*=(const double &var)
update the value and turn into good the coefficient
Definition: CalibCoeff.cc:79
double m_difference
the difference with the previous value
Definition: CalibCoeff.h:39
Definition: value.py:1
bool m_isGood
if it is good
Definition: CalibCoeff.h:37
CalibCoeff(const double &value=1., const bool &isGood=0)
ctor
Definition: CalibCoeff.cc:7
double m_value
the actual value
Definition: CalibCoeff.h:35
void setStatus(const bool &stat)
set its value and turn into good the coefficient
Definition: CalibCoeff.cc:68
~CalibCoeff()
dtor
Definition: CalibCoeff.cc:18
intercalibration coefficient
Definition: CalibCoeff.h:10