BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibSvc/CalibDataSvc/include/CalibDataSvc/ICalibTreeSvc.h
Go to the documentation of this file.
1
// $Header:
2
// /bes/bes/BossCvs/Calibration/CalibSvc/CalibDataSvc/CalibDataSvc/ICalibTreeSvc.h,v 1.4
3
// 2022/02/17 22:03:24 maqm Exp $
4
5
#ifndef ICalibTreeSvc_h
6
#define ICalibTreeSvc_h
7
8
/** @class ICalibTreeSvc
9
Abstract interface to be satisfied by any ROOT conversion implementation.
10
11
Support write-on-demand of a calibration object in the TDS
12
13
*/
14
#include "GaudiKernel/ClassID.h"
// for storage types
15
#include "GaudiKernel/IInterface.h"
16
#include <string>
17
18
// Can't use ROOT_StorageType as our storage type or the
19
// Persistency service will get confused. Instead give an alias
20
// to one we can be pretty sure is unused for GLAST
21
22
unsigned
const
char
CALIBTREE_StorageType
= ESC_StorageType;
23
24
// static const InterfaceID IID_ICalibTreeSvc("ICalibTreeSvc", 1, 0);
25
26
class
DataObject;
27
28
namespace
CalibData
{
29
class
CalibBase
;
30
class
CalibBase1;
31
}
// namespace CalibData
32
33
// class ICalibTreeSvc : virtual public IInterface
34
class
GAUDI_API
ICalibTreeSvc
:
virtual
public
IInterface {
35
public
:
36
// Re-implemented from IInterface
37
// static const InterfaceID& interfaceID() { return IID_ICalibTreeSvc; }
38
DeclareInterfaceID
(
ICalibTreeSvc
, 1, 0 );
39
/**
40
* Method to write a ROOT file corresponding to TDS object
41
*
42
* @param fileName the name of the file to be written
43
* @return the document issued from the parsing
44
*/
45
// virtual StatusCode writeToTree(const std::string& outputFile,
46
// const std::string& tdsPath) = 0;
47
// virtual StatusCode writeToTree(const std::string& outputFile,
48
// CalibData::CalibBase1 *calib) = 0;
49
virtual
std::string
getrootfile
() = 0;
50
// Do we also want a "reset" or "clearDocument" ? Can in any case
51
// do this internally when a new document is to be parsed so might not
52
// be necessary to have explicit public method.
53
};
54
55
#endif
CALIBTREE_StorageType
unsigned const char CALIBTREE_StorageType
Definition
Calibration/CalibSvc/CalibDataSvc/include/CalibDataSvc/ICalibTreeSvc.h:22
CalibBase
Definition
Mdc/MdcCalibAlg/share/distcalib/src/include/CalibBase.h:21
ICalibTreeSvc
Definition
Calibration/CalibSvc/CalibDataSvc/include/CalibDataSvc/ICalibTreeSvc.h:34
ICalibTreeSvc::getrootfile
virtual std::string getrootfile()=0
ICalibTreeSvc::DeclareInterfaceID
DeclareInterfaceID(ICalibTreeSvc, 1, 0)
CalibData
Definition
Calibration/CalibData/include/CalibData/CalibBase.h:28
8.0.0
BOSS_Source
Calibration
CalibSvc
CalibDataSvc
include
CalibDataSvc
ICalibTreeSvc.h
Generated by
1.16.1