|
ATLAS Offline Software
|
Go to the documentation of this file.
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) {
68 double weight = it_cell.getParameter();
70 std::cout <<
"NavTest: " << clusterName <<
"[" << clusterCounter <<
"]: Cell "
71 <<
id.get_compact() <<
", Weight:" <<
weight << std::endl;
78 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< std::string > m_clusterContainerNames
Storable container for CaloCluster.
virtual StatusCode finalize()
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
CaloCompositeCellBase< CaloClusterNavigable >::cell_iterator cell_iterator
Iterator on CaloCell s.
virtual ~CaloClusterNavTest()
::StatusCode StatusCode
StatusCode definition for legacy code.
CaloClusterNavTest(const std::string &name, ISvcLocator *pSvcLocator)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual StatusCode initialize()
virtual StatusCode execute()
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.