ATLAS Offline Software
SGAccessAlg.h
Go to the documentation of this file.
1 // dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SGCOMPS_SGACCESSALG_H
8 #define SGCOMPS_SGACCESSALG_H 1
9 
16 #include "GaudiKernel/ServiceHandle.h"
17 #include "GaudiKernel/ToolHandle.h"
19 
20 class StoreGateSvc;
21 namespace SG {
22  class IFolder;
23 }
24 
36 class SGAccessAlg : public AthAlgorithm
37 {
38 public:
39  SGAccessAlg(const std::string& name, ISvcLocator*);
40  ~SGAccessAlg();
43 private:
49  ToolHandle<SG::IFolder> m_toLoad;
50 };
51 
52 #endif /* !SGCOMPS_SGACCESSALG_H */
53 
SGAccessAlg::m_targetStore
ServiceHandle< StoreGateSvc > m_targetStore
property: the store containing the object in ItemsToLoad
Definition: SGAccessAlg.h:45
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SGAccessAlg::execute
StatusCode execute()
loads the ItemsToLoad once per event
Definition: SGAccessAlg.cxx:39
SGAccessAlg::m_toLoad
ToolHandle< SG::IFolder > m_toLoad
property: this is a private Folder called ToLoad.
Definition: SGAccessAlg.h:49
AthAlgorithm.h
SGAccessAlg::initialize
StatusCode initialize()
Definition: SGAccessAlg.cxx:28
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
SGAccessAlg
an algorithm that loads data objects listed in a SG::Folder
Definition: SGAccessAlg.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SGAccessAlg::SGAccessAlg
SGAccessAlg(const std::string &name, ISvcLocator *)
Definition: SGAccessAlg.cxx:11
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SGAccessAlg::~SGAccessAlg
~SGAccessAlg()
Definition: SGAccessAlg.cxx:24
ServiceHandle< StoreGateSvc >