#include <test_read.h>
Public Member Functions | |
StatusCode | execute () |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | finalize () |
StatusCode | initialize () |
StatusCode | initialize () |
test_read (const std::string &name, ISvcLocator *pSvcLocator) | |
test_read (const std::string &name, ISvcLocator *pSvcLocator) | |
Private Attributes | |
IMdcTunningSvc * | m_mdc |
|
00010 : Algorithm ( name, pSvcLocator )
00011 {
00012 // Declare properties here.
00013
00014 }
|
|
|
|
|
|
00039 { 00040 00041 MsgStream log(msgSvc(), name()); 00042 // ReadPara* a1 = m_mdc->getReadPara(); 00043 IVertexDbSvc* vtxsvc; 00044 Gaudi::svcLocator()->service("VertexDbSvc", vtxsvc); 00045 // service("VertexDbSvc", vtxsvc, true); 00046 bool aa = vtxsvc->isVertexValid(); 00047 std::cout<<" status: "<< aa <<std::endl; 00048 double* a1 = vtxsvc->PrimaryVertex(); 00049 double* a2 = vtxsvc->SigmaPrimaryVertex(); 00050 std::cout<<" vx: "<<a1[0]<<" vy: "<<a1[1] <<" vz: " << a1[2] <<std::endl; 00051 std::cout<<" vx sigma: "<<a2[0]<<" vy sigma: "<<a2[1] <<" vz sigma: " << a2[2] <<std::endl; 00052 return StatusCode::SUCCESS; 00053 }
|
|
|
|
00055 {
00056 return StatusCode::SUCCESS;
00057 }
|
|
|
|
00017 { 00018 StatusCode sc; 00019 MsgStream log(msgSvc(), name()); 00020 log << MSG::INFO << "Initialize()" << endreq; 00021 00022 // So far don't have any properties, but in case we do some day.. 00023 // setProperties(); 00024 /*sc = service("VertexDbSvc", m_mdc, true); 00025 if ( !sc.isSuccess() ) { 00026 log << MSG::ERROR 00027 << "Could not get ICalibRootSvc interface of CalibRootCnvSvc" 00028 << endreq; 00029 return sc; 00030 } 00031 */ 00032 // Get properties from the JobOptionsSvc 00033 00034 return StatusCode::SUCCESS; 00035 00036 }
|
|
|