| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

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

## Function Documentation

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

Type Constraints

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

m_CSS m_DCS m_ECS m_EXS m_RGS AlgContextSvc

Definition at line 918 of file Algorithm.cpp.

ChronoStatSvc

Definition at line 907 of file Algorithm.cpp.

m_CSS DetectorPersistencySvc

Definition at line 909 of file Algorithm.cpp.

m_CSS m_DCS EventPersistencySvc

Definition at line 911 of file Algorithm.cpp.

m_CSS m_DCS m_ECS ExceptionSvc

Definition at line 913 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS m_RGS IAlgContextSvc

Definition at line 918 of file Algorithm.cpp.

IChronoStatSvc

Definition at line 907 of file Algorithm.cpp.

m_CSS m_DCS IConversionSvc

Definition at line 909 of file Algorithm.cpp.

m_CSS m_DCS m_ECS IExceptionSvc

Definition at line 913 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS IRndmGenSvc

Definition at line 916 of file Algorithm.cpp.

m_CSS m_DCS m_ECS m_EXS RndmGenSvc

Definition at line 916 of file Algorithm.cpp.