8#include "CaloEvent/CaloClusterContainer.h"
9#include "GaudiKernel/MsgStream.h"
31 const std::string& name,
32 const IInterface* parent)
50 return StatusCode::SUCCESS;
67 clus_iterator iter1 = clusColl->
begin();
70 for( ;iter1!=clusColl->
end(); ) {
73 ATH_MSG_DEBUG(
" Removed cluster with energy below threshold, " << (*iter1)->e() <<
endmsg);
74 iter1 = clusColl->
erase(iter1);
83 return StatusCode::SUCCESS;
An STL vector of pointers that by default owns its pointed-to elements.
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
CaloClusterRemoveBad(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Gaudi::Property< float > m_eThreshold
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override
Execute on a single cluster.
DataModel_detail::iterator< DataVector > iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
iterator erase(iterator position)
Remove element at a given position.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.