|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "CaloEvent/CaloClusterContainer.h"
9 #include "GaudiKernel/MsgStream.h"
31 const std::string&
name,
37 "Energy threshold for cluster removal.");
53 return StatusCode::SUCCESS;
70 clus_iterator iter1 = clusColl->
begin();
73 for( ;iter1!=clusColl->
end(); ) {
76 ATH_MSG_DEBUG(
" Removed cluster with energy below threshold, " << (*iter1)->e() <<
endmsg);
77 iter1 = clusColl->
erase(iter1);
86 return StatusCode::SUCCESS;
DataModel_detail::iterator< DataVector > iterator
Standard iterator.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
An STL vector of pointers that by default owns its pointed-to elements.
iterator erase(iterator position)
Remove element at a given position.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override
Execute on a single cluster.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.