BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
KKMC/KKMC-00-01-02/KKMC/ReadME.h
Go to the documentation of this file.
1/****** Write By Lianjin WU <[email protected]> ******/
2/****** Reading offline beam information ******/
3#ifndef Analysis_ReadME_H
4#define Analysis_ReadME_H
5/******/
6#include "GaudiKernel/IDataProviderSvc.h"
7#include "GaudiKernel/ISvcLocator.h"
8#include "GaudiKernel/PropertyMgr.h"
9#include "GaudiKernel/MsgStream.h"
10#include "GaudiKernel/Bootstrap.h"
11#include "GaudiKernel/AlgFactory.h"
13#include <iostream>
14#include <fstream>
15#include <string>
16#include <iomanip>
17#include <mysql.h>
18#include <string.h>
19class ReadME{
20 public:
22 if(runNo!=preRunNo){
23 preRunNo=runNo;
25 }
26 }
27 virtual ~ReadME(){}
28 /******/
30 int getSampleName(){return m_sampleName;}
31 int getRunFrom(){return m_runFrom;}
32 int getRunTo(){return m_runTo;}
33 bool isRunNoValid(){return m_runNoValid;}
34 double getEcms(){return m_ecms;}
35 double getEcmsErr(){return m_ecmsErr;}
36 double getAveEcms(){return m_aveEcms;}
37 double getAveEcmsErr(){return m_aveEcmsErr;}
38 private:
39 IDatabaseSvc* m_dbSvc;
40 static int preRunNo;
41 int m_sampleName, m_runFrom, m_runTo;
42 double m_ecms, m_ecmsErr, m_aveEcms, m_aveEcmsErr;
43 bool m_runNoValid;
44};
45#endif
int runNo
Definition: DQA_TO_DB.cxx:12