BOSS
7.1.2
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"
12
#include "
DatabaseSvc/IDatabaseSvc.h
"
13
#include <iostream>
14
#include <fstream>
15
#include <string>
16
#include <iomanip>
17
#include <mysql.h>
18
#include <string.h>
19
class
ReadME
{
20
public
:
21
ReadME
(
int
runNo
){
22
if
(
runNo
!=preRunNo){
23
preRunNo=
runNo
;
24
readMeasuredEcms
(
runNo
);
25
}
26
}
27
virtual
~ReadME
(){}
28
/******/
29
void
readMeasuredEcms
(
int
runNo
);
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
runNo
int runNo
Definition
DQA_TO_DB.cxx:12
IDatabaseSvc.h
IDatabaseSvc
Definition
IDatabaseSvc.h:15
ReadME
Definition
BesEvtGen/BesEvtGen-00-04-30/EvtGen_i/ReadME.h:19
ReadME::getSampleName
int getSampleName()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:30
ReadME::getEcms
double getEcms()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:34
ReadME::getRunTo
int getRunTo()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:32
ReadME::getRunFrom
int getRunFrom()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:31
ReadME::getAveEcms
double getAveEcms()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:36
ReadME::~ReadME
virtual ~ReadME()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:27
ReadME::getAveEcmsErr
double getAveEcmsErr()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:37
ReadME::isRunNoValid
bool isRunNoValid()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:33
ReadME::getEcmsErr
double getEcmsErr()
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:35
ReadME::ReadME
ReadME(int runNo)
Definition
KKMC/KKMC-00-01-02/KKMC/ReadME.h:21
ReadME::readMeasuredEcms
void readMeasuredEcms(int runNo)
Definition
BesEvtGen/BesEvtGen-00-04-30/src/ReadME.cxx:4
7.1.2
Generator
KKMC
KKMC-00-01-02
KKMC
ReadME.h
Generated by
1.12.0