BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h
Go to the documentation of this file.
1
//$Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/CalibBase1.h,v 1.2 2005/12/01 07:20:04 huangb Exp $
2
#ifndef CalibData_CalibBase1_h
3
#define CalibData_CalibBase1_h
4
5
/** @class CalibBase
6
7
Used as a base for all objects in the calibration data store.
8
Implement IValidity.
9
10
Permits implementation of deep copy by means of virtual update
11
method. [Used in CalibMySQLCnvSvc::updateCalib]
12
13
@author J. Bogart
14
15
*/
16
17
#include "GaudiKernel/DataObject.h"
18
19
#include "CalibData/CalibModel.h"
20
21
// extern const CLID& CLID_Calib_CalibBase;
22
23
class
MsgStream;
24
25
namespace
CalibData
{
26
class
CalibBase1
:
public
DataObject
27
{
28
29
friend
class
XmlBaseCnv
;
30
friend
class
RootBaseCnv
;
31
32
public
:
33
CalibBase1
();
34
CalibBase1
(
int
serNo,
int
runfrm,
int
runto);
35
CalibBase1
(
int
runfrm,
int
runto);
36
CalibBase1
(
const
CalibBase1
& obj);
37
virtual
StatusCode
update
(
CalibBase1
& obj, MsgStream* );
38
39
/// Following is intended for deep copy
40
/*
41
// Re-implemented from DataObject
42
/// Class ID of this instance
43
inline virtual const CLID& clID() const { return classID(); }
44
45
/// Class ID of this class
46
inline static const CLID& classID() { return CLID_Calib_CalibBase; };
47
*/
48
public
:
49
50
51
virtual
int
getSerNo
()
const
{
return
m_serNo
;}
52
virtual
int
getrunfrm
()
const
{
return
m_runfrm
;}
53
virtual
int
getrunto
()
const
{
return
m_runto
;}
54
void
setSerNo
(
int
ser) {
m_serNo
= ser;}
55
void
setrunfrm
(
int
runfrm){
m_runfrm
= runfrm;}
56
void
setrunto
(
int
runto) {
m_runto
= runto;}
57
protected
:
58
59
int
m_serNo
;
60
int
m_runfrm
;
61
int
m_runto
;
62
63
};
64
65
}
66
#endif
CalibData::CalibBase1
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:27
CalibData::CalibBase1::m_serNo
int m_serNo
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:59
CalibData::CalibBase1::update
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition:
CalibBase1.cxx:33
CalibData::CalibBase1::m_runto
int m_runto
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:61
CalibData::CalibBase1::CalibBase1
CalibBase1()
Definition:
CalibBase1.cxx:12
CalibData::CalibBase1::setSerNo
void setSerNo(int ser)
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:54
CalibData::CalibBase1::RootBaseCnv
friend class RootBaseCnv
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:30
CalibData::CalibBase1::setrunto
void setrunto(int runto)
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:56
CalibData::CalibBase1::getSerNo
virtual int getSerNo() const
Following is intended for deep copy.
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:51
CalibData::CalibBase1::m_runfrm
int m_runfrm
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:60
CalibData::CalibBase1::getrunto
virtual int getrunto() const
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:53
CalibData::CalibBase1::setrunfrm
void setrunfrm(int runfrm)
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:55
CalibData::CalibBase1::getrunfrm
virtual int getrunfrm() const
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase1.h:52
XmlBaseCnv
Definition:
XmlBaseCnv.h:36
CalibData
Definition:
Calibration/CalibData/CalibData-00-01-22/CalibData/CalibBase.h:27
source
Calibration
CalibData
CalibData-00-01-22
CalibData
CalibBase1.h
Generated by
1.9.6