BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibBase1.cxx
Go to the documentation of this file.
1
// $Header: /bes/bes/BossCvs/Calibration/CalibData/src/CalibBase1.cxx,v 1.3 2011/02/17 05:10:16 maqm Exp $
2
3
/** @class CalibBase
4
* Implementation of base class for all calibration data objects
5
*/
6
7
#include "
CalibData/CalibBase1.h
"
8
//#include "CalibData/CalibTime.h"
9
#include "GaudiKernel/StatusCode.h"
10
11
namespace
CalibData
{
12
CalibBase1::CalibBase1
() : m_serNo(-1)
13
{
14
}
15
16
CalibBase1::CalibBase1
(
int
serNo,
int
runfrm,
int
runto) :
17
m_serNo(serNo), m_runfrm(runfrm), m_runto(runto)
18
{
19
}
20
CalibBase1::CalibBase1
(
int
runfrm,
int
runto) :
21
m_runfrm(runfrm), m_runto(runto)
22
{
23
}
24
CalibBase1::CalibBase1
(
const
CalibBase1
& other) :
25
DataObject( (DataObject&) other) {
26
m_runfrm
= other.m_runfrm;
27
m_runto
= other.m_runto;
28
m_serNo
= other.m_serNo;
29
}
30
31
32
33
StatusCode
CalibBase1::update
(
CalibBase1
& obj, MsgStream* ) {
34
35
m_serNo
= obj.
m_serNo
;
36
m_runfrm
= obj.
m_runfrm
;
37
m_runto
= obj.
m_runto
;
38
return
StatusCode::SUCCESS;
39
}
40
41
}
CalibBase1.h
CalibData::CalibBase1
Definition:
CalibBase1.h:27
CalibData::CalibBase1::m_serNo
int m_serNo
Definition:
CalibBase1.h:59
CalibData::CalibBase1::update
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition:
CalibBase1.cxx:33
CalibData::CalibBase1::m_runto
int m_runto
Definition:
CalibBase1.h:61
CalibData::CalibBase1::CalibBase1
CalibBase1()
Definition:
CalibBase1.cxx:12
CalibData::CalibBase1::m_runfrm
int m_runfrm
Definition:
CalibBase1.h:60
CalibData
Definition:
Calibration/CalibData/CalibData-00-01-24/CalibData/CalibBase.h:27
source
Calibration
CalibData
CalibData-00-01-24
src
CalibBase1.cxx
Generated by
1.9.6