ATLAS Offline Software
CscCalibResult.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /******************************
6 Author: Caleb Lampen <lampen@physics.arizona.edu>
7 University of Arizona, May 2008
8  *****/
9 
11 
12 //**Copy constructor
13 /*CscCalibResult::CscCalibResult( const CscCalibResult &result) :
14  {
15  operator=(result);
16  }
17 
18  CscCalibResult& CscCalibResult::operator=( const CscCalibResult& result)
19  {
20  if( this != &result)
21  {
22  m_hashId = result.m_hashId;
23  m_value = result.m_value;
24  m_error = result.m_error;
25  m_chi2 = result.m_chi2;
26  m_ndf = result.m_ndf;
27  }
28  return *this;
29  }*/
30 
31 /* set the calibration constants */
32 void CscCalibResult::setValue (const float value) { m_value = value; }
33 void CscCalibResult::setError (const float error) { m_error = error; }
34 void CscCalibResult::setChi2 (const float chi2) { m_chi2 = chi2; }
35 void CscCalibResult::setNdf (const int ndf) { m_ndf= ndf; }
36 void CscCalibResult::setHashId(const int hashId) { m_hashId = hashId; }
37 
38 /* get the identifier hash */
39 int CscCalibResult::hashId() const { return m_hashId; }
40 
41 /* get the calibration constants */
42 float CscCalibResult::value() const { return m_value; }
43 float CscCalibResult::error() const { return m_error; }
44 float CscCalibResult::chi2() const { return m_chi2; }
45 int CscCalibResult::ndf() const { return m_ndf; }
46 
47 
covarianceTool.ndf
ndf
Definition: covarianceTool.py:678
CscCalibResult::setNdf
void setNdf(const int ndf)
Definition: CscCalibResult.cxx:35
CscCalibResult::setHashId
void setHashId(const int hashId)
Definition: CscCalibResult.cxx:36
athena.value
value
Definition: athena.py:124
CscCalibResult::error
float error() const
Definition: CscCalibResult.cxx:43
CscCalibResult::m_ndf
int m_ndf
Definition: CscCalibResult.h:34
CscCalibResult::setValue
void setValue(const float value)
Definition: CscCalibResult.cxx:32
CscCalibResult::m_error
float m_error
Definition: CscCalibResult.h:33
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
CscCalibResult::m_hashId
int m_hashId
Definition: CscCalibResult.h:30
CscCalibResult::ndf
int ndf() const
Definition: CscCalibResult.cxx:45
CscCalibResult::setError
void setError(const float error)
Definition: CscCalibResult.cxx:33
CscCalibResult::m_value
float m_value
Definition: CscCalibResult.h:33
CscCalibResult::setChi2
void setChi2(const float chi2)
Definition: CscCalibResult.cxx:34
CscCalibResult::m_chi2
float m_chi2
Definition: CscCalibResult.h:33
CscCalibResult::hashId
int hashId() const
Definition: CscCalibResult.cxx:39
CscCalibResult::chi2
float chi2() const
Definition: CscCalibResult.cxx:44
CscCalibResult.h
error
Definition: IImpactPoint3dEstimator.h:70
CscCalibResult::value
float value() const
Definition: CscCalibResult.cxx:42