ATLAS Offline Software
VP1AthenaPtrs.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1AthenaPtrs //
9 // //
10 // Description: Static access to athena pointers //
11 // //
12 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13 // Initial version: July 2008 //
14 // //
16 
17 #ifndef VP1ATHENAPTRS_H
18 #define VP1ATHENAPTRS_H
19 
20 class StoreGateSvc;
21 class ISvcLocator;
22 class IToolSvc;
23 
25 public:
26 
27  static StoreGateSvc * eventStore() { return m_eventStore; }
29  static ISvcLocator * serviceLocator() { return m_serviceLocator; }
30  static IToolSvc * toolSvc() { return m_toolSvc; }
31 
32 private:
37  static ISvcLocator * m_serviceLocator;
38  static IToolSvc * m_toolSvc;
39  friend class VP1ExecutionScheduler;
40  static void setPointers( StoreGateSvc * eventStore,
42  ISvcLocator * , IToolSvc *);
43 
44 
45 };
46 
47 #endif
VP1AthenaPtrs::~VP1AthenaPtrs
~VP1AthenaPtrs()
VP1AthenaPtrs::VP1AthenaPtrs
VP1AthenaPtrs()
VP1AthenaPtrs::m_toolSvc
static IToolSvc * m_toolSvc
Definition: VP1AthenaPtrs.h:38
VP1AthenaPtrs
Definition: VP1AthenaPtrs.h:24
VP1AthenaPtrs::setPointers
static void setPointers(StoreGateSvc *eventStore, StoreGateSvc *detectorStore, ISvcLocator *, IToolSvc *)
Definition: VP1AthenaPtrs.cxx:23
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
VP1AthenaPtrs::m_detectorStore
static StoreGateSvc * m_detectorStore
Definition: VP1AthenaPtrs.h:36
VP1AthenaPtrs::m_serviceLocator
static ISvcLocator * m_serviceLocator
Definition: VP1AthenaPtrs.h:37
VP1AthenaPtrs::m_eventStore
static StoreGateSvc * m_eventStore
Definition: VP1AthenaPtrs.h:35
VP1AthenaPtrs::serviceLocator
static ISvcLocator * serviceLocator()
Definition: VP1AthenaPtrs.h:29
VP1ExecutionScheduler
Definition: VP1ExecutionScheduler.h:42
VP1AthenaPtrs::eventStore
static StoreGateSvc * eventStore()
Definition: VP1AthenaPtrs.h:27
VP1AthenaPtrs::toolSvc
static IToolSvc * toolSvc()
Definition: VP1AthenaPtrs.h:30
VP1AthenaPtrs::detectorStore
static StoreGateSvc * detectorStore()
Definition: VP1AthenaPtrs.h:28