|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ASG_ANALYSIS_ALGORITHMS__ELECTRON_LRT_MERGING_ALGORITHM__H
13 #define ASG_ANALYSIS_ALGORITHMS__ELECTRON_LRT_MERGING_ALGORITHM__H
37 ISvcLocator *pSvcLocator);
50 Gaudi::Property<bool>
m_createViewCollection{
this,
"CreateViewCollection",
true,
"Create a view to avoid deep copy"};
52 Gaudi::Property<bool>
m_doRemoval{
this,
"doRemoval",
true,
"Remove overlapping electrons from output collection."};
54 Gaudi::Property<float>
m_ORThreshold{
this,
"ORThreshold", 0.001,
"Delta R threshold for matching in overlap removal."};
60 Gaudi::Property<bool>
m_isDAOD{
this,
"isDAOD",
true,
"Switch for running on AOD (false) or DAOD (true)"};
68 ToolHandle<CP::IElectronLRTOverlapRemovalTool>
m_overlapRemovalTool{
this,
"overlapRemovalTool",
"",
"Tool used to check overlaps between standard and LRT electrons"};
77 const std::set<const xAOD::Electron *> &LRTElectronsToRemove)
const;
82 const std::set<const xAOD::Electron *> &LRTElectronsToRemove)
const;
this wraps the Electron LRT collection merger in a CP algorithm
Gaudi::Property< bool > m_isDAOD
StatusCode initialize() override
SG::ReadHandleKey< xAOD::ElectronContainer > m_lrtElectronLocation
Standard electron collection to be merged.
Gaudi::Property< bool > m_createViewCollection
Protected data:
DataVector adapter that acts like it holds const pointers.
Gaudi::Property< bool > m_doRemoval
Create a view to avoid deep copy.
Select isolated Photons, Electrons and Muons.
Gaudi::Property< int > m_ORstrategy
Delta R threshold for matching in overlap removal.
the (new) base class for EventLoop algorithms
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteHandleKey< xAOD::ElectronContainer > m_outElectronLocation
LRT electron collection to be merged.
Gaudi::Property< float > m_ORThreshold
Remove overlapping electrons from output collection.
ElectronLRTMergingAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
ToolHandle< CP::IElectronLRTOverlapRemovalTool > m_overlapRemovalTool
Combined electron collection.
StatusCode execute() override
void mergeElectron(const xAOD::ElectronContainer &electronCol, xAOD::ElectronContainer *outputCol, const std::set< const xAOD::Electron * > &LRTElectronsToRemove) const
The lrt electron overlap removal tool.
DataVector adapter that acts like it holds const pointers.
SG::ReadHandleKey< xAOD::ElectronContainer > m_promptElectronLocation
Switches method for retrieving electron ID.