CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::CalibBase Class Reference

#include <CalibBase.h>

+ Inheritance diagram for CalibData::CalibBase:

Public Member Functions

 CalibBase ()
 
 CalibBase (const CalibBase &obj)
 
virtual StatusCode update (CalibBase &obj, MsgStream *)
 Following is intended for deep copy.
 
virtual ~CalibBase ()
 
virtual const CLID & clID () const
 Class ID of this instance.
 
virtual int getSerNo () const
 Check if the data object has a well defined validity range.
 
 CalibBase ()
 
 CalibBase (const CalibBase &obj)
 
virtual StatusCode update (CalibBase &obj, MsgStream *)
 Following is intended for deep copy.
 
virtual ~CalibBase ()
 
virtual const CLID & clID () const
 Class ID of this instance.
 
virtual int getSerNo () const
 Check if the data object has a well defined validity range.
 

Static Public Member Functions

static const CLID & classID ()
 Class ID of this class.
 
static const CLID & classID ()
 Class ID of this class.
 

Protected Member Functions

void setSerNo (int ser)
 
void setSerNo (int ser)
 

Protected Attributes

int m_serNo
 Start of validity.
 

Friends

class XmlBaseCnv
 
class RootBaseCnv
 

Detailed Description

Constructor & Destructor Documentation

◆ CalibBase() [1/4]

CalibData::CalibBase::CalibBase ( )

◆ CalibBase() [2/4]

CalibBase::CalibBase ( const CalibBase obj)

Definition at line 22 of file CalibBase.cxx.

22 :
23 DataObject( (DataObject&) other) {
24 // m_validSince = other.m_validSince;
25 // m_validTill = other.m_validTill;
26 m_serNo = other.m_serNo;
27 }
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~CalibBase() [1/2]

CalibBase::~CalibBase ( )
virtual

Definition at line 29 of file CalibBase.cxx.

29 {
30 /* delete m_validSince;
31 delete m_validTill;*/
32 }

◆ CalibBase() [3/4]

CalibData::CalibBase::CalibBase ( )

◆ CalibBase() [4/4]

CalibData::CalibBase::CalibBase ( const CalibBase obj)

◆ ~CalibBase() [2/2]

virtual CalibData::CalibBase::~CalibBase ( )
virtual

Member Function Documentation

◆ classID() [1/2]

static const CLID & CalibData::CalibBase::classID ( )
inlinestatic

Class ID of this class.

Definition at line 51 of file Calibration/CalibData/CalibData-00-01-09/CalibData/CalibBase.h.

Referenced by clID().

◆ classID() [2/2]

static const CLID & CalibData::CalibBase::classID ( )
inlinestatic

Class ID of this class.

Definition at line 51 of file InstallArea/include/CalibData/CalibData/CalibBase.h.

51{ return CLID_Calib_CalibBase; };

◆ clID() [1/2]

virtual const CLID & CalibData::CalibBase::clID ( ) const
inlinevirtual

Class ID of this instance.

Definition at line 48 of file Calibration/CalibData/CalibData-00-01-09/CalibData/CalibBase.h.

48{ return classID(); }
static const CLID & classID()
Class ID of this class.

◆ clID() [2/2]

virtual const CLID & CalibData::CalibBase::clID ( ) const
inlinevirtual

Class ID of this instance.

Definition at line 48 of file InstallArea/include/CalibData/CalibData/CalibBase.h.

48{ return classID(); }

◆ getSerNo() [1/2]

virtual int CalibData::CalibBase::getSerNo ( ) const
inlinevirtual

Check if the data object has a well defined validity range.

Get serial number of metadata row corresponding to calibration. Can be used by clients to determine if object has been updated since last access.

Definition at line 84 of file Calibration/CalibData/CalibData-00-01-09/CalibData/CalibBase.h.

84{return m_serNo;}

◆ getSerNo() [2/2]

virtual int CalibData::CalibBase::getSerNo ( ) const
inlinevirtual

Check if the data object has a well defined validity range.

Get serial number of metadata row corresponding to calibration. Can be used by clients to determine if object has been updated since last access.

Definition at line 84 of file InstallArea/include/CalibData/CalibData/CalibBase.h.

84{return m_serNo;}

◆ setSerNo() [1/2]

void CalibData::CalibBase::setSerNo ( int  ser)
inlineprotected

◆ setSerNo() [2/2]

void CalibData::CalibBase::setSerNo ( int  ser)
inlineprotected

Definition at line 104 of file InstallArea/include/CalibData/CalibData/CalibBase.h.

104{ m_serNo = ser;}

◆ update() [1/2]

StatusCode CalibBase::update ( CalibBase obj,
MsgStream *   
)
virtual

Following is intended for deep copy.

Definition at line 35 of file CalibBase.cxx.

35 {
36 /*
37 delete m_validSince;
38 delete m_validTill;
39
40 m_validTill = new CalibData::CalibTime(obj.validTill() );
41
42 m_validSince = new CalibData::CalibTime(obj.validSince() );*/
43 m_serNo = obj.m_serNo;
44 return StatusCode::SUCCESS;
45 }

Referenced by CalibBase().

◆ update() [2/2]

virtual StatusCode CalibData::CalibBase::update ( CalibBase obj,
MsgStream *   
)
virtual

Following is intended for deep copy.

Friends And Related Function Documentation

◆ RootBaseCnv

RootBaseCnv
friend

◆ XmlBaseCnv

Member Data Documentation

◆ m_serNo

int CalibBase::m_serNo
protected

Start of validity.

End of validity Serial number of corresponding metadata row.

Definition at line 102 of file Calibration/CalibData/CalibData-00-01-09/CalibData/CalibBase.h.

Referenced by CalibBase(), getSerNo(), setSerNo(), and update().


The documentation for this class was generated from the following files: