5#include "GaudiKernel/IInterface.h"
6#include "GaudiKernel/Kernel.h"
7#include "GaudiKernel/Service.h"
8#include "GaudiKernel/IIncidentListener.h"
9#include "GaudiKernel/IDataProviderSvc.h"
10#include "VertexFit/IVertexDbSvc.h"
14#include "DatabaseSvc/IDatabaseSvc.h"
15#include "GaudiKernel/IService.h"
18#include "CLHEP/Matrix/Vector.h"
19#include "DatabaseSvc/IDatabaseSvc.h"
20using CLHEP::HepVector;
23#include "DatabaseSvc/DatabaseSvc.h"
28 virtual public IIncidentListener{
33 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvUnknown);
50 return (m_vdb) ? m_vdb : (m_vdb =
new VertexDbSvc());
53 const DatabaseSvc* GetDatabaseSvc()
const {
return m_dbsvc;}
55 void SetDbName(
const std::string& _dbName) {dbName = _dbName;}
56 std::string GetDbName()
const {
return dbName;}
57 void SetBossVer(
const std::string& _bossver) {m_bossver = _bossver;}
58 std::string GetBossVer()
const {
return m_bossver;}
59 void SetBossRelease(
const std::string& _bossrelease)
60 {m_bossRelease = _bossrelease;}
61 std::string GetBossRelease()
const {
return m_bossRelease;}
62 void SetVerPar(
const std::string& _verpar) {m_verpar = _verpar;}
63 std::string GetVerPar()
const {
return m_verpar;}
76 std::string m_bossver;
78 std::string m_bossRelease;
79 double m_primaryVertex[3];
80 double m_sigmaPrimaryVertex[3];
81 bool m_isRunNumberValid;
88 unsigned int serialNo;
97 IDataProviderSvc* m_eventSvc;
100 StatusCode getVertexTableInfo();
106 void getVertexTableInfo(
int run);
109 bool getReadBunchInfo(
int run);
VertexDbSvc(const std::string &name, ISvcLocator *svcloc)
void handle(const Incident &)
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
virtual StatusCode initialize()
double * SigmaPrimaryVertex()