|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    4 #include "CaloEvent/CaloCluster.h" 
   13   return StatusCode::SUCCESS;
 
   19     if (!clusterContainerWidthEta.isValid()) {
 
   21       return StatusCode::SUCCESS;
 
   25     if (!clusterContainerWidthPhi.isValid()) {
 
   27       return StatusCode::SUCCESS;
 
   30     for (
const auto *
const thisCluster : *clusterContainerWidthEta) {
 
   37         std::vector<double> 
eta,
phi;
 
   45         clusterContainerWidthEta(*thisCluster) = 
width.first;
 
   46         clusterContainerWidthPhi(*thisCluster) = 
width.second;
 
   50   return StatusCode::SUCCESS;
 
  
StatusCode execute() override
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
const_iterator begin() const
const begin method
StatusCode initialize() override
PFClusterWidthDecorator(const std::string &name, ISvcLocator *pSvcLocator)
PFClusterWidthCalculator m_clusterWidthCalculator
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterContainerWidthEtaKey
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterContainerWidthPhiKey
size_t size() const
size method
const_iterator end() const
const end method
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
const_iterator to loop over cells belonging to a cluster
std::pair< double, double > getPFClusterCoordinateWidth(const std::vector< double > &eta, const std::vector< double > &phi, const double &clusterEta, const double &clusterPhi, unsigned int nCells)