ATLAS Offline Software
EMVertexBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAALGS_EMVERTEXBUILDER_H
6 #define EGAMMAALGS_EMVERTEXBUILDER_H
7 
13 #include "GaudiKernel/ToolHandle.h"
14 #include "GaudiKernel/EventContext.h"
15 #include "GaudiKernel/ServiceHandle.h"
18 
46 
47  public:
48  EMVertexBuilder (const std::string& name, ISvcLocator* pSvcLocator);
49 
50  virtual StatusCode initialize() override final;
51  virtual StatusCode finalize() override final;
52  virtual StatusCode execute(const EventContext& ctx) const override final;
53 
54  private:
55 
57  Gaudi::Property<float> m_maxRadius {this, "MaxRadius", 800.,
58  "Maximum radius accepted for conversion vertices"};
59 
61  Gaudi::Property<float> m_minPtCut_DoubleTrack {this,
62  "minPCutDoubleTrackConversion", 2000,
63  "Minimum Pt, less than that TRT tracks pileup for double-track conversion"};
64 
65  Gaudi::Property<float> m_minPtCut_SingleTrack {this,
66  "minPCutSingleTrackConversion", 2000,
67  "Minimum Pt, less than that TRT track pileup for single-track conversion"};
68 
71  "InputTrackParticleContainerName", "GSFTrackParticles", "Input TrackParticles"};
72 
75  "OutputConversionContainerName", "GSFConversionVertices",
76  "Output conversion vertices"};
77 
79  ToolHandle<InDet::IVertexFinder> m_vertexFinderTool {this,
80  "VertexFinderTool", "InDetConversionFinderTools",
81  "The tool that does the converions finding"};
82 
84  ToolHandle<IEMExtrapolationTools> m_EMExtrapolationTool {this,
85  "ExtrapolationTool", "EMExtrapolationTools", "Handle of the extrapolation tool"};
86 
87 };
88 
89 #endif // EMVERTEXBUILDER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
EMVertexBuilder::m_outputConversionContainerKey
SG::WriteHandleKey< xAOD::VertexContainer > m_outputConversionContainerKey
conversion container output name
Definition: EMVertexBuilder.h:74
VertexContainerFwd.h
EMVertexBuilder::m_inputTrackParticleContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTrackParticleContainerKey
TrackParticle container input name.
Definition: EMVertexBuilder.h:70
EMVertexBuilder::EMVertexBuilder
EMVertexBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: EMVertexBuilder.cxx:29
EMVertexBuilder::m_minPtCut_DoubleTrack
Gaudi::Property< float > m_minPtCut_DoubleTrack
Minimum Pt, less than that TRT track are pileup for double/single track conversion.
Definition: EMVertexBuilder.h:61
SG::ReadHandleKey< xAOD::TrackParticleContainer >
IEMExtrapolationTools.h
IVertexFinder.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EMVertexBuilder::finalize
virtual StatusCode finalize() override final
Definition: EMVertexBuilder.cxx:50
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EMVertexBuilder
This tool builds ID vertices from a given TrackParticleContainer.
Definition: EMVertexBuilder.h:45
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EMVertexBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: EMVertexBuilder.cxx:54
EMVertexBuilder::m_maxRadius
Gaudi::Property< float > m_maxRadius
Maximum radius accepted for conversion vertices.
Definition: EMVertexBuilder.h:57
EMVertexBuilder::m_minPtCut_SingleTrack
Gaudi::Property< float > m_minPtCut_SingleTrack
Definition: EMVertexBuilder.h:65
EMVertexBuilder::m_EMExtrapolationTool
ToolHandle< IEMExtrapolationTools > m_EMExtrapolationTool
EMExtrapolationTool.
Definition: EMVertexBuilder.h:84
EMVertexBuilder::initialize
virtual StatusCode initialize() override final
Definition: EMVertexBuilder.cxx:35
EMVertexBuilder::m_vertexFinderTool
ToolHandle< InDet::IVertexFinder > m_vertexFinderTool
Tool to find vertices (creates double-track conversions)
Definition: EMVertexBuilder.h:79
TrackParticleContainerFwd.h