| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Defines | Functions | Variables

# 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/IAlgContextSvc.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) serviceAccessor(contextSvc
## 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
m_CSS m_DCS m_ECS m_EXS m_RGS | IAlgContextSvc
m_CSS m_DCS m_ECS m_EXS m_RGS | AlgContextSvc

## 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 883 of file Algorithm.cpp.

## Function Documentation

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

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

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

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

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

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

## Variable Documentation

m_CSS m_DCS m_ECS m_EXS m_RGS AlgContextSvc

Definition at line 919 of file Algorithm.cpp.

ChronoStatSvc

Definition at line 908 of file Algorithm.cpp.

m_CSS DetectorPersistencySvc

Definition at line 910 of file Algorithm.cpp.

m_CSS m_DCS EventPersistencySvc

Definition at line 912 of file Algorithm.cpp.

m_CSS m_DCS m_ECS ExceptionSvc

Definition at line 914 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS m_RGS IAlgContextSvc

Definition at line 919 of file Algorithm.cpp.

IChronoStatSvc

Definition at line 908 of file Algorithm.cpp.

m_CSS m_DCS IConversionSvc

Definition at line 910 of file Algorithm.cpp.

m_CSS m_DCS m_ECS IExceptionSvc

Definition at line 914 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS IRndmGenSvc

Definition at line 917 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS RndmGenSvc

Definition at line 917 of file Algorithm.cpp.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines