ATLAS Offline Software
Loading...
Searching...
No Matches
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/******************************
6Author: Caleb Lampen <lampen@physics.arizona.edu>
7University 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 */
34void CscCalibResult::setChi2 (const float chi2) { m_chi2 = chi2; }
35void CscCalibResult::setNdf (const int ndf) { m_ndf= ndf; }
37
38/* get the identifier hash */
39int CscCalibResult::hashId() const { return m_hashId; }
40
41/* get the calibration constants */
42float CscCalibResult::value() const { return m_value; }
43float CscCalibResult::error() const { return m_error; }
44float CscCalibResult::chi2() const { return m_chi2; }
45int CscCalibResult::ndf() const { return m_ndf; }
46
47
float value() const
void setNdf(const int ndf)
void setError(const float error)
float error() const
int hashId() const
void setChi2(const float chi2)
void setValue(const float value)
void setHashId(const int hashId)
float chi2() const