/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Calibration/CalibSvc/CalibDataSvc/CalibDataSvc-00-01-04/CalibDataSvc/ICalibMetaCnvSvc.h

Go to the documentation of this file.
00001 //$Header: /bes/bes/BossCvs/Calibration/CalibSvc/CalibDataSvc/CalibDataSvc/ICalibMetaCnvSvc.h,v 1.1 2006/04/06 03:04:46 maqm Exp $
00002 #ifndef ICalibMetaCnvSvc_h
00003 #define ICalibMetaCnvSvc_h 1
00004 
00005 #include "GaudiKernel/IInterface.h"
00006 
00007 // External constants
00008 #include "GaudiKernel/ClassID.h"
00009 
00010 // Type definition
00012 
00013 static const InterfaceID IID_ICalibMetaCnvSvc ("ICalibMetaCnvSvc", 1, 0);
00014 
00015 // Forward declarations
00016 class DataObject;
00017 // class IConditionsDBGate;
00018 class IRegistry;
00019 class ITime;
00020 
00021 namespace calibUtil {
00022   class Metadata;
00023 }
00024 
00025 
00040 class ICalibMetaCnvSvc : virtual public IInterface
00041 {
00042 
00043  public:
00044 
00045   // Re-implemented from IInterface
00046 
00048   static const InterfaceID& interfaceID() { return IID_ICalibMetaCnvSvc; }
00049 
00050  public:
00051   
00052   // Create/update condition MetadataObject not necessarily registered in 
00053   // the TDS.
00057   //  [was folder name, tag and time for IConditionsDBCnvSvc]
00061   virtual StatusCode createCalib(DataObject*& refpObject,
00062                                   const std::string& fullpath,
00063                                   const CLID&        classID,
00064                                   IRegistry*         entry=0) = 0;
00065    
00071    virtual StatusCode updateCalib(DataObject*        pObject,
00072                                   const std::string& fullpath,
00073                                    const CLID&        classID,
00074                                   IRegistry*         entry=0) = 0;
00075    
00076    
00077    
00078   // Get handle for metadata access from calibUtil.
00079   virtual calibUtil::Metadata* getMeta() = 0;
00080 
00081   /*maqm remove
00082    virtual StatusCode getValidInterval(unsigned int& serNo,
00083                                        ITime** pvStart, ITime** pvEnd) = 0;
00084   */
00085    // Might want to add additional methods which will return certain metadata
00086   // in a convenient form, given a serial number.  Would be used
00087   // by the bulk data conversion services to get some standard set
00088   // of information which would go in every calib data object --
00089   // except a "bad channel" list composed from dead + hot doesn't
00090   // correspond to any single metadata row.  
00091 };
00092 
00093 #endif
00094 

Generated on Tue Nov 29 22:57:50 2016 for BOSS_7.0.2 by  doxygen 1.4.7