ATLAS Offline Software
CaloClusterDeleter.cxx
Go to the documentation of this file.
1 //
2 // Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 //
4 // Dear emacs, this is -*- c++ -*-
5 //
6 
7 #include "CaloClusterDeleter.h"
8 
9 
10 StatusCode CaloClusterDeleter::execute (const EventContext &, xAOD::CaloClusterContainer * cluster_collection) const
11 {
12  cluster_collection->clear();
13 
14  return StatusCode::SUCCESS;
15 
16 }
17 
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
DataVector::clear
void clear()
Erase all the elements in the collection.
CaloClusterDeleter::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Definition: CaloClusterDeleter.cxx:10
CaloClusterDeleter.h