ATLAS Offline Software
CaloClusterDeleter.cxx
Go to the documentation of this file.
1 //
2 // Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 //
4 // Dear emacs, this is -*- c++ -*-
5 //
6 
7 #include "CaloClusterDeleter.h"
8 
9 CaloClusterDeleter::CaloClusterDeleter(const std::string & type, const std::string & name, const IInterface * parent):
11 {
12  declareInterface<CaloClusterCollectionProcessor> (this);
13 }
14 
15 StatusCode CaloClusterDeleter::execute (const EventContext &, xAOD::CaloClusterContainer * cluster_collection) const
16 {
17  cluster_collection->clear();
18 
19  return StatusCode::SUCCESS;
20 
21 }
22 
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloClusterDeleter::CaloClusterDeleter
CaloClusterDeleter(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloClusterDeleter.cxx:9
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector::clear
void clear()
Erase all the elements in the collection.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloClusterDeleter::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Execute on an entire collection of clusters.
Definition: CaloClusterDeleter.cxx:15
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloClusterDeleter.h
AthAlgTool
Definition: AthAlgTool.h:26