ATLAS Offline Software
|
A tool which specifies whether a cluster passes a selection. More...
#include <egammaCaloClusterSelector.h>
Public Member Functions | |
egammaCaloClusterSelector (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual StatusCode | initialize () override final |
virtual StatusCode | finalize () override final |
bool | passSelection (const xAOD::CaloCluster *cluster, const CaloDetDescrManager &cmgr) const override final |
pass the selection described in the class egammaCaloClusterSelector More... | |
Private Attributes | |
SG::ReadHandleKey< CaloCellContainer > | m_cellsKey |
Name of the cluster intput collection. More... | |
ToolHandle< IegammaCheckEnergyDepositTool > | m_egammaCheckEnergyDepositTool |
Pointer to the egammaCheckEnergyDepositTool. More... | |
ToolHandle< IegammaIso > | m_HadronicLeakageTool |
Tool for hadronic leakage calculation; onlud used if cuts needing are defined. More... | |
Gaudi::Property< double > | m_ClusterEtCut |
Gaudi::Property< double > | m_EMEtCut |
Gaudi::Property< double > | m_EMEtSplittingFraction |
Gaudi::Property< double > | m_EMFCut |
Gaudi::Property< double > | m_RetaCut |
Gaudi::Property< double > | m_HadLeakCut |
bool | m_doReta {false} |
bool | m_doHadLeak {false} |
Static Private Attributes | |
static constexpr double | RETA_DEFAULT_NO_CUT = 0.0 |
static constexpr double | HAD_LEAK_DEFAULT_NO_CUT = 999. |
A tool which specifies whether a cluster passes a selection.
The tool implements the IegammaCaloClusterSelector interface which provides the passSelection method. It selects xAOD::CaloCluster based on their properties in this order:
Several selection can be disabled. The cut on Reta and hadronic fraction are done if cut values are specified. The cut on the fraction of the energy is done only if egammaCheckEnergyDepositTool is spefified. See ATLASRECTS-5765.
The tool is generic, but it is used in egamma reconstruction by CaloClusterROI_Selector and egammaSelectedTrackCopy
Definition at line 47 of file egammaCaloClusterSelector.h.
egammaCaloClusterSelector::egammaCaloClusterSelector | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 15 of file egammaCaloClusterSelector.cxx.
|
finaloverridevirtual |
Definition at line 45 of file egammaCaloClusterSelector.cxx.
|
finaloverridevirtual |
Definition at line 22 of file egammaCaloClusterSelector.cxx.
|
finaloverride |
pass the selection described in the class egammaCaloClusterSelector
Definition at line 50 of file egammaCaloClusterSelector.cxx.
|
staticconstexprprivate |
Definition at line 90 of file egammaCaloClusterSelector.h.
|
private |
Name of the cluster intput collection.
Definition at line 60 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 74 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 96 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 95 of file egammaCaloClusterSelector.h.
|
private |
Pointer to the egammaCheckEnergyDepositTool.
Definition at line 65 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 77 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 80 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 83 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 91 of file egammaCaloClusterSelector.h.
|
private |
Tool for hadronic leakage calculation; onlud used if cuts needing are defined.
Definition at line 70 of file egammaCaloClusterSelector.h.
|
private |
Definition at line 87 of file egammaCaloClusterSelector.h.
|
staticconstexprprivate |
Definition at line 86 of file egammaCaloClusterSelector.h.