|
ATLAS Offline Software
|
Go to the documentation of this file.
21 ISvcLocator* pSvcLocator)
23 , m_egTypeForCalibration(
xAOD::EgammaParameters::
electron)
39 return StatusCode::FAILURE;
52 std::vector<std::size_t>
54 std::size_t seedIndex,
56 std::vector<bool>& isUsed)
const
59 std::vector<std::size_t> secondaryIndices;
61 const auto*
const seedEgammaRec = (*egammaRecs)[seedIndex];
65 int nWindowClusters = 0;
67 for (std::size_t
i = 0;
i < egammaRecs->
size(); ++
i) {
72 const auto*
const secEgammaRec = (*egammaRecs)[
i];
76 "The potentially secondary egammaRec does not have a cluster");
79 bool addCluster =
false;
82 <<
" matched in window");
88 secondaryIndices.push_back(
i);
92 ATH_MSG_DEBUG(
"Found: " << secondaryIndices.size() <<
" secondaries");
94 return secondaryIndices;
virtual StatusCode initialize() override final
should be called by the derived class in the initialize phase
virtual StatusCode initialize() override
should be called by the derived class in the initialize phase
virtual std::vector< std::size_t > searchForSecondaryClusters(std::size_t egammaInd, const EgammaRecContainer *egammaRecs, std::vector< bool > &isUsed) const override final
Return extra clusters that can be added to make supercluster.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
egammaSuperClusterBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition of CaloDetDescrManager.
Handle class for recording to StoreGate.
bool matchesInWindow(const xAOD::CaloCluster *ref, const xAOD::CaloCluster *clus) const
Is clus in window center around ref?
Description of a calorimeter cluster.
Gaudi::Property< std::string > m_calibrationType
type to be assumed for calibration
::StatusCode StatusCode
StatusCode definition for legacy code.
xAOD::EgammaParameters::EgammaType m_egTypeForCalibration
#define ATH_MSG_WARNING(x)
virtual xAOD::EgammaParameters::EgammaType getEgammaRecType(const egammaRec *egRec) const override final
Base class for electronSuperClusterBuilder photonSuperClusterBuilder egammaSuperClusterBuilder This c...
Handle class for reading from StoreGate.
size_type size() const noexcept
Returns the number of elements in the collection.