BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/CalibDataSvc/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
19 static const InterfaceID& interfaceID() { return IID_IInstrumentName; }
20
21 virtual const bool validInstrumentName() const = 0;
22 virtual const std::string& getInstrumentName() const = 0;
23 virtual void setInstrumentName(const std::string& name) = 0;
24 //get the CalibType from CalibDataSvc, either MYSQL_StorageType or CALIBROOT_StorageType;
25 virtual int getsvctype() = 0;
26
27};
28
29#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