BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Utilities/MeasuredEcmsSvc/MeasuredEcmsSvc-00-00-15/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 virtual double getPx(int runNo)=0;
47 virtual double getPy(int runNo)=0;
48 virtual double getPz(int runNo)=0;
49 virtual void readInfo(int runNo, char *tab, char *col)=0;
50 virtual double getInfo(int runNo, char *tab, char *col)=0;
51 virtual bool isReadDBValid(int runNo, char *tab, char *col)=0;
52 virtual bool isReadDBValid(int runNo)=0;
53 virtual void readInfo(int runNo)=0;
54 virtual double getInfo(int runNo)=0;
55// protected:
56// static std::string g_serviceInUse;
57};
58#endif
int runNo
Definition: DQA_TO_DB.cxx:12
virtual double getPz(int runNo)=0
virtual double getEcmsErr(int runNo)=0
virtual bool isReadDBValid(int runNo, char *tab, char *col)=0
virtual double getPx(int runNo)=0
virtual void readInfo(int runNo, char *tab, char *col)=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 bool isReadDBValid(int runNo)=0
virtual void readDB(int runNo)=0
virtual double getInfo(int runNo, char *tab, char *col)=0
virtual double getAveEcms(int runNo)=0
virtual int getSampleName(int runNo)=0
virtual bool isRunNoValid(int runNo)=0
virtual void readInfo(int runNo)=0
virtual double getPy(int runNo)=0
virtual void readMeasuredEcms(int runNo)=0
virtual double getEcms(int runNo)=0
virtual double getInfo(int runNo)=0