DedxCurAlg Class Reference

Simple algorithm to test functioning of "the other" TDS. More...

#include <DedxCurAlg.h>

List of all members.

Public Member Functions

 DedxCurAlg (const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize ()
StatusCode execute ()
StatusCode finalize ()

Private Attributes

IDataProviderSvc * m_pCalibDataSvc


Detailed Description

Simple algorithm to test functioning of "the other" TDS.

Definition at line 10 of file DedxCurAlg.h.


Constructor & Destructor Documentation

DedxCurAlg::DedxCurAlg ( const std::string name,
ISvcLocator *  pSvcLocator 
)

Definition at line 7 of file DedxCurAlg.cxx.

00009   : Algorithm     ( name, pSvcLocator ), m_pCalibDataSvc(0)
00010 {
00011   // Declare properties here.
00012 
00013 }


Member Function Documentation

StatusCode DedxCurAlg::execute (  ) 

Definition at line 29 of file DedxCurAlg.cxx.

References IDedxCurSvc::getCurve(), IDedxCurSvc::getSigma(), genRecEmupikp::i, and msgSvc().

00029                                 {
00030    
00031   MsgStream log(msgSvc(), name());
00032 
00033     IDedxCurSvc*  vtxsvc;
00034   Gaudi::svcLocator()->service("DedxCurSvc", vtxsvc);
00035   for(int i=0;i<5;i++){
00036   std::cout<<"vtxsvc->getSigma(i)"<<vtxsvc->getSigma(i)<<std::endl;
00037   std::cout<<"vtxsvc->getCurve(i)"<<vtxsvc->getCurve(i)<<std::endl;
00038 }
00039 
00040    return StatusCode::SUCCESS;
00041 }

StatusCode DedxCurAlg::finalize (  ) 

Definition at line 43 of file DedxCurAlg.cxx.

References Bes_Common::INFO, and msgSvc().

00043                                  {
00044 
00045   MsgStream log(msgSvc(), name());
00046   log << MSG::INFO 
00047       << "        DedxCurAlg FINALIZE!! "
00048       << endreq;
00049   
00050   return StatusCode::SUCCESS;
00051 }

StatusCode DedxCurAlg::initialize (  ) 

Definition at line 16 of file DedxCurAlg.cxx.

References Bes_Common::INFO, and msgSvc().

00016                                   {
00017   StatusCode sc;
00018   MsgStream log(msgSvc(), name());
00019   log << MSG::INFO << "Initialize()" << endreq;
00020 
00021   // So far don't have any properties, but in case we do some day..
00022 //  setProperties();
00023 
00024  return StatusCode::SUCCESS;
00025 
00026 }


Member Data Documentation

IDataProviderSvc* DedxCurAlg::m_pCalibDataSvc [private]

Definition at line 22 of file DedxCurAlg.h.


Generated on Tue Nov 29 23:18:15 2016 for BOSS_7.0.2 by  doxygen 1.4.7