BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TofQCorrSvc.h
Go to the documentation of this file.
1// $Id: TofQCorrSvc.h,v 1.4 2011/02/18 04:20:02 maqm Exp $ // -*-c++-*-
2// header file for a class called "TofQCorrSvc"
3#ifndef TOFQCORRSVC_H
4#define TOFQCORRSVC_H
5
6#include "GaudiKernel/Service.h"
7#include "GaudiKernel/IInterface.h"
8#include "GaudiKernel/Property.h"
9#include "GaudiKernel/IIncidentListener.h"
10#include "GaudiKernel/IDataProviderSvc.h"
12#include <mysql.h>
13#include <vector>
15
16class TofQCorrSvc : public Service, virtual public ITofQCorrSvc,virtual public IIncidentListener
17{
18public:
19 // Constructors and destructors
20 TofQCorrSvc( const std::string& name, ISvcLocator* svcloc );
22
23 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
24 virtual StatusCode initialize ( );
25 virtual StatusCode finalize ( );
26
27 void handle(const Incident&);
28 void getTofQCorrInfo();
29
30 const double getBarEast(int layer,int no);
31 const double getBarWest(int layer,int no);
32 const double getEndcap(int layer,int no);
33
34 const double BQRaw1(int id, double q);
35 const double BQRaw2(int id, double q);
36 const double EQRaw(int id, double q);
37
38private:
39
40 double m_Bar_East[176][3];
41 double m_Bar_West[176][3];
42 double m_Endcap[96][3];
43
44 MYSQL *conn;
45 IDataProviderSvc* m_eventSvc;
46 int m_runNo;
47 IDatabaseSvc* m_dbsvc;
48};
49
50#endif
const int no
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
Definition: KKsem.h:33
struct st_mysql MYSQL
const double getEndcap(int layer, int no)
virtual StatusCode initialize()
Definition: TofQCorrSvc.cxx:45
void getTofQCorrInfo()
const double getBarEast(int layer, int no)
Definition: TofQCorrSvc.cxx:92
const double getBarWest(int layer, int no)
Definition: TofQCorrSvc.cxx:97
virtual StatusCode finalize()
Definition: TofQCorrSvc.cxx:81
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: TofQCorrSvc.cxx:34
const double BQRaw2(int id, double q)
const double BQRaw1(int id, double q)
void handle(const Incident &)
const double EQRaw(int id, double q)