ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib/CscCalib/CscCalibEvent/CscCalibEvent/CscCalibData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CSCCALIBEVENT_CSCCALIBDATA_H
6#define CSCCALIBEVENT_CSCCALIBDATA_H
7
8/**************************************************************************
9Package: MuonSpectrometer/MuonCalib/CscCalib/CscCalibEvent
10Name: CscCalibdata.h
11Author: Ketevi A. Assamagan
12Date & Place: October 03, 2005, BNL
13
14Class to represent CSC pulser calibration data for one strip
15****************************************************************************/
16
17#include <vector>
18
20
21private:
22
23 /* hash it of the the strip */
25
26 /* strip calibration constants */
27 std::vector<float> m_calibConst;
28
29public:
30
31 /* default constructor */
33
34 /* full constructor */
35 CscCalibData(int hashId, const std::vector<float>& calibConst) :
37
38 /* destructor */
39 virtual ~CscCalibData() {}
40
41 /* set the identifier hash */
42 void set_idHash(const int idHash) { m_idHash = idHash; }
43
44 /* set the calibration constants */
45 void set_calibConst (const std::vector<float>& calibConst) { m_calibConst = calibConst; }
46
47 /* get the identifier hash */
48 int idHash() { return m_idHash; }
49
50 /* get the calibration constants */
51 const std::vector<float> & calibConst() { return m_calibConst; }
52
54 CscCalibData( const CscCalibData& rhs );
55
58
59};
60
61#endif
CscCalibData(int hashId, const std::vector< float > &calibConst)
void set_calibConst(const std::vector< float > &calibConst)
CscCalibData & operator=(const CscCalibData &rhs)
Assignement operator.