Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IEFAlgorithm Class Reference

#include <IEFAlgorithm.h>

Inheritance diagram for IEFAlgorithm:

EFChargedTrack EFChargedTrack EFDetectorHits EFDetectorHits EFFlightTime EFFlightTime EFGlobalEnergy EFGlobalEnergy EFProcessCluster EFProcessCluster EFSectorHits EFSectorHits List of all members.

Public Member Functions

 IEFAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 IEFAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize ()
virtual StatusCode initialize ()
virtual void reset ()=0
virtual void reset ()=0
virtual ~IEFAlgorithm ()
virtual ~IEFAlgorithm ()

Protected Attributes

float m_beam
EFResultm_ef
EFResultm_ef
HltStoreSvcm_HltStoreSvc
HltStoreSvcm_HltStoreSvc
int m_output
PropertyMgr m_propMgr
IRawDataProviderSvcm_rawDigiSvc
IRawDataProviderSvcm_rawDigiSvc
bool m_run

Constructor & Destructor Documentation

IEFAlgorithm::IEFAlgorithm const std::string &  name,
ISvcLocator *  pSvcLocator
 

00009                                                                          :
00010   Algorithm(name, pSvcLocator){
00011   m_propMgr.declareProperty("OutputLevel",m_output = 7777777);
00012   m_propMgr.declareProperty("BeamEnergy",m_beam = 1.89);
00013   //cout << "OutputLevel="<<m_output<<";  name="<<name<<endl;
00014   // Get a pointer to the Job Options Service
00015   IJobOptionsSvc* jobSvc;
00016   Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);  
00017   jobSvc->setMyProperties("EFAlgorithm", &m_propMgr);
00018 
00019   //cout << "OutputLevel="<<m_output<<";  name="<<name<<endl;
00020   //MsgStream log(msgSvc(), name);
00021   //msgSvc()->setOutputLevel(name,m_output);
00022 }

virtual IEFAlgorithm::~IEFAlgorithm  )  [inline, virtual]
 

00012 {};

IEFAlgorithm::IEFAlgorithm const std::string &  name,
ISvcLocator *  pSvcLocator
 

virtual IEFAlgorithm::~IEFAlgorithm  )  [inline, virtual]
 

00012 {};


Member Function Documentation

virtual StatusCode IEFAlgorithm::initialize  )  [virtual]
 

Reimplemented in EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, EFSectorHits, EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, and EFSectorHits.

StatusCode IEFAlgorithm::initialize  )  [virtual]
 

Reimplemented in EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, EFSectorHits, EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, and EFSectorHits.

00024                                    {
00025   MsgStream log(msgSvc(), name());
00026   log << MSG::INFO << "in initialize()" << endreq;
00027  
00028   m_run=0;
00029 
00030   StatusCode sc = service( "HltStoreSvc", m_HltStoreSvc);
00031   if( sc.isFailure() ) {
00032     log << MSG::FATAL << name() << ": Unable to locate Service HltStoreSvc" << endreq;
00033     return sc;
00034   }
00035 
00036   sc = m_HltStoreSvc->get("EFResult", m_ef);
00037   if ( sc.isFailure() ) {
00038     log << MSG::ERROR << "m_HltStoreSvc->get(EFResult) wrong" << endreq;
00039     return sc;
00040   }  
00041 
00042   sc = service("RawDataProviderSvc", m_rawDigiSvc);
00043   if (sc ==  StatusCode::SUCCESS) {
00044     log << MSG::INFO << "Raw Data Service Sucessfully!! " << endreq;
00045   }
00046   else {
00047     log << MSG::ERROR << "Raw Data Service Failed !! " << endreq;
00048     return StatusCode::FAILURE;
00049   }
00050   
00051   log << MSG::DEBUG << "finish initialize()" << endreq;
00052   return StatusCode::SUCCESS;
00053 }

virtual void IEFAlgorithm::reset  )  [pure virtual]
 

Implemented in EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, EFSectorHits, EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, and EFSectorHits.

virtual void IEFAlgorithm::reset  )  [pure virtual]
 

Implemented in EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, EFSectorHits, EFChargedTrack, EFDetectorHits, EFFlightTime, EFGlobalEnergy, EFProcessCluster, and EFSectorHits.


Member Data Documentation

float IEFAlgorithm::m_beam [protected]
 

EFResult* IEFAlgorithm::m_ef [protected]
 

EFResult* IEFAlgorithm::m_ef [protected]
 

HltStoreSvc* IEFAlgorithm::m_HltStoreSvc [protected]
 

HltStoreSvc* IEFAlgorithm::m_HltStoreSvc [protected]
 

int IEFAlgorithm::m_output [protected]
 

PropertyMgr IEFAlgorithm::m_propMgr [protected]
 

IRawDataProviderSvc* IEFAlgorithm::m_rawDigiSvc [protected]
 

IRawDataProviderSvc* IEFAlgorithm::m_rawDigiSvc [protected]
 

bool IEFAlgorithm::m_run [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:17:57 2011 for BOSS6.5.5 by  doxygen 1.3.9.1