30 virtual public IIncidentListener{
32 VertexDbSvc(
const std::string& name, ISvcLocator* svcloc );
40 void handle(
const Incident&);
53 return (m_vdb) ? m_vdb : (m_vdb =
new VertexDbSvc());
56 const DatabaseSvc* GetDatabaseSvc()
const {
return m_dbsvc;}
58 void SetDbName(
const std::string& _dbName) {dbName = _dbName;}
59 std::string GetDbName()
const {
return dbName;}
60 void SetBossVer(
const std::string& _bossver) {m_bossver = _bossver;}
61 std::string GetBossVer()
const {
return m_bossver;}
62 void SetBossRelease(
const std::string& _bossrelease)
63 {m_bossRelease = _bossrelease;}
64 std::string GetBossRelease()
const {
return m_bossRelease;}
65 void SetVerPar(
const std::string& _verpar) {m_verpar = _verpar;}
66 std::string GetVerPar()
const {
return m_verpar;}
80 std::string m_bossver;
82 std::string m_bossRelease;
83 double m_primaryVertex[3];
84 double m_sigmaPrimaryVertex[3];
85 bool m_isRunNumberValid;
91 std::map<int, std::vector<double> > m_mapPrimaryVertex;
92 std::vector<int> m_runIdList;
100 unsigned int serialNo;
109 IDataProviderSvc* m_eventSvc;
112 StatusCode getVertexTableInfo();
118 void getVertexTableInfo(
int run);
121 bool getReadBunchInfo(
int run);
122 bool getReadBunchInfo(
int runFrom,
int runTo);