9#include "CaloEvent/CaloClusterContainer.h"
17 ISvcLocator* pSvcLocator)
33 return StatusCode::SUCCESS;
40 return StatusCode::SUCCESS;
47 std::vector<std::string>::const_iterator it =
49 std::vector<std::string>::const_iterator it_e =
55 const std::string & clusterName = *it;
62 unsigned clusterCounter=0;
63 for(;it_cluster!=it_cluster_e;++it_cluster) {
67 for(;it_cell!=it_cell_e;++it_cell) {
70 std::cout <<
"NavTest: " << clusterName <<
"[" << clusterCounter <<
"]: Cell "
71 <<
id.get_compact() <<
", Weight:" << weight << std::endl;
78 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
Storable container for CaloCluster.
CaloClusterNavTest(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize()
virtual StatusCode finalize()
virtual ~CaloClusterNavTest()
virtual StatusCode execute()
std::vector< std::string > m_clusterContainerNames
CaloCompositeCellBase< CaloClusterNavigable >::cell_iterator cell_iterator
Iterator on CaloCell s.
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
RPAR getParameter() const