BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TofQElecSvc/TofQElecSvc/TofQElecSvc.h
Go to the documentation of this file.
1// TofQElecSvc
2// Sun Shengsen 2009-9-17
3//
4#ifndef TOFQELECSVC_H
5#define TOFQELECSVC_H
6
7#include "GaudiKernel/Service.h"
8#include "GaudiKernel/IInterface.h"
9#include "GaudiKernel/Property.h"
10#include "GaudiKernel/IIncidentListener.h"
11#include "GaudiKernel/IDataProviderSvc.h"
12#include "TofQElecSvc/ITofQElecSvc.h"
13#include "CalibData/Tof/TofElecData.h"
14#include "CalibData/Tof/BarrelElec.h"
15#include "CalibData/Tof/EndcapElec.h"
16
17class TofQElecSvc : public Service, virtual public ITofQElecSvc,virtual public IIncidentListener
18{
19public:
20 // Constructors and destructors
21 TofQElecSvc( const std::string& name, ISvcLocator* svcloc );
23
24 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
25 virtual StatusCode initialize ( );
26 virtual StatusCode finalize ( );
27
28 void handle(const Incident&);
29
30 const unsigned int Board( bool barrel, int id, bool eastEnd );
31 const unsigned int Crate( bool barrel, int id, bool eastEnd );
32 const unsigned int Fee( bool barrel, int id, bool eastEnd );
33 const unsigned int Channel( bool barrel, int id, bool eastEnd );
34 const double BQTC1(int id, double q);
35 const double BQTC2(int id, double q);
36 const double EQTC(int id, double q);
37 const double BQChannel1(int id, double qtc);
38 const double BQChannel2(int id, double qtc);
39 const double EQChannel(int id, double qtc);
40
41private:
42 StatusCode FillfromDatabase();
43 bool m_hasbeeninitialized;
44
45private:
46 IDataProviderSvc* m_pCalibDataSvc;
47 IntegerProperty m_run;
48
50
51 // std::vector<CalibData::BarrelElec*> fBarrelElec;
52 // std::vector<CalibData::EndcapElec*> fEndcapElec;
53
54};
55
56#endif // TOFQELECSVC_H
****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
const double EQTC(int id, double q)
const double BQChannel2(int id, double qtc)
const double BQChannel1(int id, double qtc)
const unsigned int Channel(bool barrel, int id, bool eastEnd)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: TofQElecSvc.cxx:27
virtual StatusCode finalize()
Definition: TofQElecSvc.cxx:69
void handle(const Incident &)
const double BQTC1(int id, double q)
const unsigned int Fee(bool barrel, int id, bool eastEnd)
virtual StatusCode initialize()
Definition: TofQElecSvc.cxx:37
const double EQChannel(int id, double qtc)
const unsigned int Crate(bool barrel, int id, bool eastEnd)
const unsigned int Board(bool barrel, int id, bool eastEnd)
const double BQTC2(int id, double q)