BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/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
Definition:
Database/DatabaseSvc/DatabaseSvc-00-00-24/DatabaseSvc/IDatabaseSvc.h:15
ReadME
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:19
ReadME::getSampleName
int getSampleName()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:30
ReadME::getEcms
double getEcms()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:34
ReadME::getRunTo
int getRunTo()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:32
ReadME::getRunFrom
int getRunFrom()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:31
ReadME::getAveEcms
double getAveEcms()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:36
ReadME::~ReadME
virtual ~ReadME()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:27
ReadME::getAveEcmsErr
double getAveEcmsErr()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:37
ReadME::isRunNoValid
bool isRunNoValid()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:33
ReadME::getEcmsErr
double getEcmsErr()
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:35
ReadME::ReadME
ReadME(int runNo)
Definition:
Generator/BesEvtGen/BesEvtGen-00-03-58/EvtGen_i/ReadME.h:21
ReadME::readMeasuredEcms
void readMeasuredEcms(int runNo)
Definition:
BesEvtGen/BesEvtGen-00-03-58/src/ReadME.cxx:4
source
Generator
BesEvtGen
BesEvtGen-00-03-58
EvtGen_i
ReadME.h
Generated by
1.9.6