BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibSvc/CalibDataSvc/include/CalibDataSvc/IInstrumentName.h
Go to the documentation of this file.
1#ifndef CALIBDATASVC_IINSTRUMENTNAME_H
2#define CALIBDATASVC_IINSTRUMENTNAME_H
3
4#include "GaudiKernel/IInterface.h"
5#include <string>
6
7/** @class IInstrumentName
8 @brief Simple interface to keep track of which instrument (LAT,
9 EM, etc.) the process is concerned with. Modeled after
10 IDetDataSvc handling of event time.
11
12 Intention is to implement in CalibDataSvc.
13*/
14static const InterfaceID IID_IInstrumentName( "IInstrumentName", 1, 0 );
15
16class IInstrumentName : virtual public IInterface {
17public:
18 static const InterfaceID& interfaceID() { return IID_IInstrumentName; }
19
20 virtual const bool validInstrumentName() const = 0;
21 virtual const std::string& getInstrumentName() const = 0;
22 virtual void setInstrumentName( const std::string& name ) = 0;
23 // get the CalibType from CalibDataSvc, either MYSQL_StorageType or CALIBROOT_StorageType;
24 virtual int getsvctype() = 0;
25};
26
27#endif
Simple interface to keep track of which instrument (LAT, EM, etc.) the process is concerned with....
virtual void setInstrumentName(const std::string &name)=0
virtual int getsvctype()=0
virtual const bool validInstrumentName() const =0
virtual const std::string & getInstrumentName() const =0