ATLAS Offline Software
Loading...
Searching...
No Matches
CscCalibResult.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CSCCALIBDATA_CSCCALIBRESULT_H
6#define CSCCALIBDATA_CSCCALIBRESULT_H
7
8/**************************************************************************
9Package: MuonSpectrometer/MuonCalib/CscCalib/CscCalibData
10Name: CscCalibData.h
11Author: Caleb Parnell-Lampen
12Date & Place: April 30, 2008, University of Arizona
13
14Class to represent CSC calibration results
15 ****************************************************************************/
16
17
19{
20 private:
21
22 /* hash it of the the strip */
24
25 /* strip calibration constants */
27 int m_ndf;
28
29 public:
30
31 /* default constructor */
33
34 /* full constructor */
35 CscCalibResult(int hashId, float value, float error = -9999, float chi2 = -9999, int ndf = -9999) :
37
38 /* destructor */
39 virtual ~CscCalibResult() {}
40
41
42 /* set the calibration constants */
43 void setValue (const float value);
44 void setError (const float error);
45 void setChi2 (const float chi2) ;
46 void setNdf (const int ndf);
47 void setHashId(const int hashId);
48
49 /* get the identifier hash */
50 int hashId() const;
51
52 /* get the calibration constants */
53 float value() const;
54 float error() const;
55 float chi2() const;
56 int ndf() const;
57};
58
59#endif
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)
virtual ~CscCalibResult()
CscCalibResult(int hashId, float value, float error=-9999, float chi2=-9999, int ndf=-9999)
void setHashId(const int hashId)
float chi2() const
double chi2(TH1 *h0, TH1 *h1)