ATLAS Offline Software
Control
SGComps
src
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
16
#include "
AthenaBaseComps/AthAlgorithm.h
"
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
();
42
StatusCode
initialize
();
43
StatusCode
execute
();
44
private
:
46
ServiceHandle<StoreGateSvc>
m_targetStore
;
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 >
Generated on Thu Nov 7 2024 21:25:53 for ATLAS Offline Software by
1.8.18