|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "CaloEvent/CaloClusterBadChannelData.h"
23 const std::string&
name,
26 m_badChannelTool(
"CaloBadChanTool", this)
28 declareProperty(
"badChannelTool",
m_badChannelTool,
"Tool handle for bad channel");
49 for( ;cellIter!=cellIterEnd;cellIter++) {
53 bool isBad =
cell->badcell();
60 if (isBad && !
status.dead()) {
64 <<
eta <<
" " <<
phi <<
" " <<
layer <<
" " << myword);
68 cluster->setBadChannelList(badChanList);
Scalar phi() const
phi method
Helper class to provide type-safe access to aux data.
Scalar eta() const
pseudorapidity method
const EventContext & ctx() const
cell_iterator cell_end() const
Retrieve a STL-type end() iterator for the cell store.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
virtual StatusCode initialize() override
Initialize method.
ToolHandle< ICaloBadChanTool > m_badChannelTool
CaloCompositeCellBase< CaloClusterNavigable >::cell_iterator cell_iterator
Iterator on CaloCell s.
std::vector< CaloClusterBadChannelData > CaloClusterBadChannelList
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode initialize() override
Initialize method.
Principal data class for CaloCell clusters.
CaloClusterBadChannelList(const std::string &type, const std::string &name, const IInterface *parent)
#define CHECK(...)
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
cell_iterator cell_begin() const
Retrieve a STL-type begin() iterator for the cell store.
static void setBit(ProblemType pb, BitWord &word, bool value=true)
Sets the bit corresponding to "pb" inside the word passed as second argument to "value".
Data object for each calorimeter readout cell.
Context object for retrieving ToolConstant values.