| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 2009

# Algorithm.cpp File Reference

`#include "GaudiKernel/Kernel.h"`
`#include "GaudiKernel/ISvcLocator.h"`
`#include "GaudiKernel/IMessageSvc.h"`
`#include "GaudiKernel/IJobOptionsSvc.h"`
`#include "GaudiKernel/IAlgManager.h"`
`#include "GaudiKernel/IAuditorSvc.h"`
`#include "GaudiKernel/IDataProviderSvc.h"`
`#include "GaudiKernel/IConversionSvc.h"`
`#include "GaudiKernel/IHistogramSvc.h"`
`#include "GaudiKernel/INTupleSvc.h"`
`#include "GaudiKernel/IRndmGenSvc.h"`
`#include "GaudiKernel/IToolSvc.h"`
`#include "GaudiKernel/IExceptionSvc.h"`
`#include "GaudiKernel/IProperty.h"`
`#include "GaudiKernel/Algorithm.h"`
`#include "GaudiKernel/PropertyMgr.h"`
`#include "GaudiKernel/MsgStream.h"`
`#include "GaudiKernel/Chrono.h"`
`#include "GaudiKernel/Stat.h"`
`#include "GaudiKernel/GaudiException.h"`
`#include "GaudiKernel/ServiceLocatorHelper.h"`
`#include "GaudiKernel/ThreadGaudi.h"`
`#include "GaudiKernel/Guards.h"`

Include dependency graph for Algorithm.cpp:

Go to the source code of this file.

## Defines
#define | serviceAccessor(METHOD, INTERFACE, NAME, MEMBER)
## Functions
| serviceAccessor (auditorSvc, IAuditorSvc,"AuditorSvc", m_pAuditorSvc) serviceAccessor(chronoSvc
m_CSS | serviceAccessor (detSvc, IDataProviderSvc,"DetectorDataSvc", m_DDS) serviceAccessor(detCnvSvc
m_CSS m_DCS | serviceAccessor (eventSvc, IDataProviderSvc,"EventDataSvc", m_EDS) serviceAccessor(eventCnvSvc
m_CSS m_DCS m_ECS | serviceAccessor (histoSvc, IHistogramSvc,"HistogramDataSvc", m_HDS) serviceAccessor(exceptionSvc
m_CSS m_DCS m_ECS m_EXS | serviceAccessor (ntupleSvc, INTupleSvc,"NTupleSvc", m_NTS) serviceAccessor(randSvc
m_CSS m_DCS m_ECS m_EXS m_RGS | serviceAccessor (toolSvc, IToolSvc,"ToolSvc", m_ptoolSvc) SmartIF< IChronoStatSvc > &Algorithm
## Variables
| IChronoStatSvc
| ChronoStatSvc
m_CSS | IConversionSvc
m_CSS | DetectorPersistencySvc
m_CSS m_DCS | EventPersistencySvc
m_CSS m_DCS m_ECS | IExceptionSvc
m_CSS m_DCS m_ECS | ExceptionSvc
m_CSS m_DCS m_ECS m_EXS | IRndmGenSvc
m_CSS m_DCS m_ECS m_EXS | RndmGenSvc

## Define Documentation

#define serviceAccessor | ( | METHOD,
|  | INTERFACE,
|  | NAME,
|  | MEMBER |  | ) |

Value:

    SmartIF<INTERFACE>& Algorithm::METHOD() const { \
      if ( !MEMBER.isValid() ) { \
        MEMBER = service(NAME); \
        if( !MEMBER.isValid() ) { \
          throw GaudiException("Service [" NAME  "] not found", name(), StatusCode::FAILURE); \
        } \
      } \
      return MEMBER; \
    }

Definition at line 789 of file Algorithm.cpp.

## Function Documentation

m_CSS m_DCS m_ECS m_EXS m_RGS serviceAccessor | ( | toolSvc | ,
|  | IToolSvc | ,
|  | "ToolSvc" | ,
|  | m_ptoolSvc |  |
| ) |  |  |

Type Constraints

Definition at line 824 of file Algorithm.cpp.

    00827                                                             {
    00828   return chronoSvc();
    00829 }

m_CSS m_DCS m_ECS m_EXS serviceAccessor | ( | ntupleSvc | ,
|  | INTupleSvc | ,
|  | "NTupleSvc" | ,
|  | m_NTS |  |
| ) |  |  |

Type Constraints

m_CSS m_DCS m_ECS serviceAccessor | ( | histoSvc | ,
|  | IHistogramSvc | ,
|  | "HistogramDataSvc" | ,
|  | m_HDS |  |
| ) |  |  |

Type Constraints

m_CSS m_DCS serviceAccessor | ( | eventSvc | ,
|  | IDataProviderSvc | ,
|  | "EventDataSvc" | ,
|  | m_EDS |  |
| ) |  |  |

Type Constraints

m_CSS serviceAccessor | ( | detSvc | ,
|  | IDataProviderSvc | ,
|  | "DetectorDataSvc" | ,
|  | m_DDS |  |
| ) |  |  |

Type Constraints

serviceAccessor | ( | auditorSvc | ,
|  | IAuditorSvc | ,
|  | "AuditorSvc" | ,
|  | m_pAuditorSvc |  |
| ) |  |  |

## Variable Documentation

ChronoStatSvc

Definition at line 814 of file Algorithm.cpp.

m_CSS DetectorPersistencySvc

Definition at line 816 of file Algorithm.cpp.

m_CSS m_DCS EventPersistencySvc

Definition at line 818 of file Algorithm.cpp.

m_CSS m_DCS m_ECS ExceptionSvc

Definition at line 820 of file Algorithm.cpp.

IChronoStatSvc

Definition at line 814 of file Algorithm.cpp.

m_CSS m_DCS IConversionSvc

Definition at line 816 of file Algorithm.cpp.

m_CSS m_DCS m_ECS IExceptionSvc

Definition at line 820 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS IRndmGenSvc

Definition at line 823 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS RndmGenSvc

Definition at line 823 of file Algorithm.cpp.