|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EGAMMAALGS_EGAMMAFORWARDBUILDER_H
6 #define EGAMMAALGS_EGAMMAFORWARDBUILDER_H
24 #include <Gaudi/Accumulators.h>
27 #include "GaudiKernel/EventContext.h"
28 #include "GaudiKernel/ServiceHandle.h"
29 #include "GaudiKernel/ToolHandle.h"
94 "Name of the object quality tool (empty tool name ignored)"
100 "TrackMatchBuilderTool",
101 "EMTrackMatchBuilder",
102 "Tool that matches tracks to egammaRecs (Fwd)"
110 "Name of the input cluster collection"
116 "CaloDetDescrManager",
117 "CaloDetDescrManager",
118 "SG Key for CaloDetDescrManager in the Condition Store"
124 "ElectronOutputName",
126 "Name of Electron Container to be created"
132 "ClusterContainerName",
134 "Name of the output EM cluster container"
145 "Boolean to do track matching"
153 "Boolean to do cookie cutting"
159 "MaxWindowDelEtaCells",
161 "Size of maximum search window in eta"
167 "MaxWindowDelPhiCells",
169 "Size of maximum search window in phi"
177 "Cone size to collect cells around hottest-cell FCAL"
191 "forwardelectronIsEMselectors",
193 "The selectors that we need to apply to the FwdElectron object"
198 "forwardelectronIsEMselectorResultNames",
200 "The selector result names"
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandleArray< IAsgForwardElectronIsEMSelector > m_forwardElectronIsEMSelectors
Handle to the selectors.
egammaForwardBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Accumulators::Counter m_AllClusters
Gaudi::Property< bool > m_doCookieCutting
Private member flag to do cookie cutting.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
StatusCode RetrieveEMTrackMatchBuilder()
StatusCode ExecObjectQualityTool(const EventContext &ctx, xAOD::Egamma *eg) const
bool const RAWDATA *ch2 const
Gaudi::Property< std::vector< std::string > > m_forwardElectronIsEMSelectorResultNames
Definition of CaloDetDescrManager.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< float > m_maxDelR
Size of cone to cookie cut on FCal.
~egammaForwardBuilder()=default
Destructor.
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_outClusterContainerCellLinkKey
Output cluster container cell links: name taken from containter name.
virtual StatusCode initialize() override final
Initialize method.
virtual StatusCode execute(const EventContext &ctx) const override final
Execute method.
Object reference supporting deferred reading from StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_doTrackMatching
Private member flag to do the track matching.
void setAllTrackCaloMatchValues(xAOD::Electron *el, const std::array< xAOD::EgammaParameters::TrackCaloMatchType, 4 > &match_parameters, const std::array< double, 4 > &match_values) const
Convinience wrapper to set track match values in all samplings.
Gaudi::Property< int > m_maxDelPhiCells
Size of maximum search window in phi.
Principal data class for CaloCell clusters.
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outClusterContainerKey
Output cluster container.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode finalize() override final
Finalize method.
ToolHandle< IEMTrackMatchBuilder > m_trackMatchBuilder
Tool to perform track-cluster matching.
std::unique_ptr< xAOD::CaloCluster > cookieCut(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &mgr, const DataLink< CaloCellContainer > &cellCont) const
Remove cells that are too far from the center of mass.
Container class for CaloCell.
This class provides the client interface for accessing the detector description information common to...
Class describing an electron.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_topoClusterKey
Input topo cluster type.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Calorimeter description.
Gaudi::Accumulators::Counter m_MatchedClusters
ToolHandle< IegammaOQFlagsBuilder > m_objectQualityTool
Tool to perform object quality.
Gaudi::Property< int > m_maxDelEtaCells
Size of maximum search window in eta.
SG::WriteHandleKey< xAOD::ElectronContainer > m_electronOutputKey
Output electron container.