ATLAS Offline Software
SGDeleteAlg.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_FOLDERRESETALG_H
8 #define SGCOMPS_FOLDERRESETALG_H 1
9 
17 
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "GaudiKernel/ToolHandle.h"
20 
21 class StoreGateSvc;
22 namespace SG {
23  class IFolder;
24 }
25 
37 class SGDeleteAlg : public AthAlgorithm
38 {
39 public:
40  SGDeleteAlg(const std::string& name, ISvcLocator*);
41  ~SGDeleteAlg();
44 private:
50  ToolHandle<SG::IFolder> m_toDelete;
51 };
52 #endif
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SGDeleteAlg::SGDeleteAlg
SGDeleteAlg(const std::string &name, ISvcLocator *)
Definition: SGDeleteAlg.cxx:14
SGDeleteAlg
an algorithm that resets the data objects listed in a SG::Folder
Definition: SGDeleteAlg.h:38
SGDeleteAlg::~SGDeleteAlg
~SGDeleteAlg()
Definition: SGDeleteAlg.cxx:25
AthAlgorithm.h
SGDeleteAlg::m_targetStore
ServiceHandle< StoreGateSvc > m_targetStore
property: the store containing the object in ItemsToDelete
Definition: SGDeleteAlg.h:46
SGDeleteAlg::execute
StatusCode execute()
reset the ItemsToDelete once per event
Definition: SGDeleteAlg.cxx:38
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SGDeleteAlg::m_toDelete
ToolHandle< SG::IFolder > m_toDelete
property: this is a private Folder called ToDelete.
Definition: SGDeleteAlg.h:50
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SGDeleteAlg::initialize
StatusCode initialize()
Definition: SGDeleteAlg.cxx:29
ServiceHandle< StoreGateSvc >