|
ATLAS Offline Software
|
Go to the documentation of this file.
30 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
58 <<
" ===> cells cannot be written in AOD as requested ! " );
65 <<
" which is different from the cell container being thinned: "
75 if (
it.index() >=
cells->size()) {
77 <<
" is larger than the number of cells in "
86 double eta = clust->eta();
87 double phi = clust->phi();
88 double deta = clust->getClusterEtaSize() * 0.025;
89 double dphi = clust->getClusterPhiSize() * 0.025;
96 <<
", size of list = " << cell_list.
ncells()
99 <<
", deta = " << deta
100 <<
", dphi = " << dphi );
107 <<
" not found in cell container "
117 return StatusCode::SUCCESS;
130 <<
" is not a valid Calorimeter sampling name and will be ignored! " );
141 return StatusCode::SUCCESS;
static CaloSample getSampling(const std::string &name)
Return the sampling code for a given name.
virtual StatusCode initialize() override
Gaudi initialize method.
Scalar phi() const
phi method
void select(double eta, double phi, double deta, double dphi)
Handle for requesting thinning for a data object.
Scalar eta() const
pseudorapidity method
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusters
Clusters to read.
const ID_type & dataID() const
Get the key that we reference, as a string.
const_iterator begin() const
const begin method
const std::string & key() const
Return the StoreGate ID for the referenced object.
Handle for requesting thinning for a data object.
StatusCode initialize(const std::string &stream, const std::string &qualifier, bool used=true)
Should be called during the initialize phase.
const DataLink< CaloCellContainer > & getCellContainerLink() const
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
StringArrayProperty m_samplingNames
Description of a calorimeter cluster.
StatusCode decodeSamplings()
Decode the provided list of calorimeter samplings.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ThinningHandleKey< CaloCellContainer > m_cells
Cell container to thin.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode initialize(bool used=true)
const_iterator end() const
const end method
Thin calorimeter cells not associated with clusters.
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
StringProperty m_streamName
Name of the stream being thinned.
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
Handle class for reading from StoreGate.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const_iterator to loop over cells belonging to a cluster
std::vector< int > m_validSamplings
Decoded list of samplings.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey