BOSS 6.6.4.p03
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
8//#include "CalibData/CalibTime.h"
9#include "GaudiKernel/StatusCode.h"
10
11namespace 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 }
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}
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33