BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MeasuredEcmsSvc/MeasuredEcmsSvc/IMeasuredEcmsSvc.h
Go to the documentation of this file.
1//Lianjin WU <[email protected]> 2015.11.28
2#ifndef Utilities_IMeasuredEcmsSvc_H
3#define Utilities_IMeasuredEcmsSvc_H
4#include "GaudiKernel/IDataProviderSvc.h"
5#include "GaudiKernel/Kernel.h"
6#include "GaudiKernel/Service.h"
7#include "GaudiKernel/IService.h"
8#include "GaudiKernel/IInterface.h"
9#include "GaudiKernel/Incident.h"
10#include "GaudiKernel/IIncidentSvc.h"
11#include "GaudiKernel/IIncidentListener.h"
12#include "GaudiKernel/ISvcLocator.h"
13#include "GaudiKernel/StatusCode.h"
14#include "GaudiKernel/PropertyMgr.h"
15#include "GaudiKernel/MsgStream.h"
16#include "GaudiKernel/SmartDataPtr.h"
17#include "GaudiKernel/AlgFactory.h"
18#include "GaudiKernel/Bootstrap.h"
19#include "GaudiKernel/Algorithm.h"
20#include "GaudiKernel/IHistogramSvc.h"
21#include "EventModel/EventModel.h"
22#include "EventModel/EventHeader.h"
23#include "DatabaseSvc/IDatabaseSvc.h"
24#include <iostream>
25#include <fstream>
26#include <string>
27#include <iomanip>
28#include <mysql.h>
29static const InterfaceID IID_IMeasuredEcmsSvc("IMeasuredEcmsSvc", 1, 0);
30class IMeasuredEcmsSvc : virtual public IService{
31 public:
32 static const InterfaceID& interfaceID() { return IID_IMeasuredEcmsSvc; }
33// static const std::string& serviceInUse() { return g_serviceInUse;}
35 virtual void readMeasuredEcms(int runNo)=0;
36 virtual void readRunParams(int runNo)=0;
37 virtual void readDB(int runNo)=0;
38 virtual int getSampleName(int runNo)=0;
39 virtual int getRunFrom(int runNo)=0;
40 virtual int getRunTo(int runNo)=0;
41 virtual bool isRunNoValid(int runNo)=0;
42 virtual double getEcms(int runNo)=0;
43 virtual double getEcmsErr(int runNo)=0;
44 virtual double getAveEcms(int runNo)=0;
45 virtual double getAveEcmsErr(int runNo)=0;
46// protected:
47// static std::string g_serviceInUse;
48};
49#endif
int runNo
Definition: DQA_TO_DB.cxx:12
virtual double getEcmsErr(int runNo)=0
virtual void readRunParams(int runNo)=0
virtual int getRunTo(int runNo)=0
virtual double getAveEcmsErr(int runNo)=0
virtual int getRunFrom(int runNo)=0
virtual void readDB(int runNo)=0
virtual double getAveEcms(int runNo)=0
virtual int getSampleName(int runNo)=0
virtual bool isRunNoValid(int runNo)=0
virtual void readMeasuredEcms(int runNo)=0
virtual double getEcms(int runNo)=0