ATLAS Offline Software
Loading...
Searching...
No Matches
CVFAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4
5/******************************************************************************
6 * @package Trigger/TrigAlgorithms/TrigEFMissingET
7 * @class CVFAlg
8 * @brief Algorithm class to calculate CVF
9 * @author Jon Burr
10 *****************************************************************************/
11
12#ifndef TRIGEFMISSINGET_CVFALG_H
13#define TRIGEFMISSINGET_CVFALG_H
14
16#include "AsgTools/ToolHandle.h"
25#include "Gaudi/Property.h"
26
27namespace HLT
28{
29 namespace MET
30 {
32 {
33 public:
35 CVFAlg(const std::string &name, ISvcLocator *pSvcLocator);
36
38 virtual StatusCode initialize() override;
39
41 virtual StatusCode execute(const EventContext &ctx) const override;
42
43 private:
44 ToolHandle<IExtendTrackToLayerTool> m_extensionTool{
45 this, "ExtensionTool", "", "The extension tool"};
46 ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelTool{
47 this, "TrackSelectionTool", "", "An optional track selection tool to filter tracks"};
48 ToolHandle<CP::ITrackVertexAssociationTool> m_tvaTool{
49 this, "TVATool", "", "Track -> vertex associationTool"};
51 this, "InputClusterKey", "", "Input cluster container"};
53 this, "InputTrackKey", "", "Input track container"};
55 this, "InputVertexKey", "", "Input vertex container"};
57 this, "OutputCVFKey", "", "Output CVF name"};
58 Gaudi::Property<double> m_clusterMatchDR{
59 this, "ClusterMatchDR", 0.1, "Max DR to match clusters to extrapolated tracks"};
60 Gaudi::Property<bool> m_useCompatible{
61 this, "UseCompatible", true,
62 "Use the track -> vertex compatibility over unique matching."};
63
64 // Internal
66 bool m_useTrackSelTool{false};
67 }; //> end class CVFAlg
68 } // namespace MET
69} // namespace HLT
70
71#endif //> !TRIGEFMISSINGET_CVFALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition CVFAlg.h:46
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterKey
Definition CVFAlg.h:50
Gaudi::Property< bool > m_useCompatible
Definition CVFAlg.h:60
ToolHandle< IExtendTrackToLayerTool > m_extensionTool
Definition CVFAlg.h:44
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_outputCVFKey
Definition CVFAlg.h:56
ToolHandle< CP::ITrackVertexAssociationTool > m_tvaTool
Definition CVFAlg.h:48
CVFAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition CVFAlg.cxx:37
Gaudi::Property< double > m_clusterMatchDR
Definition CVFAlg.h:58
bool m_useTrackSelTool
Is a track selection tool being used?
Definition CVFAlg.h:66
virtual StatusCode execute(const EventContext &ctx) const override
Run the algorithm.
Definition CVFAlg.cxx:66
SG::ReadHandleKey< xAOD::VertexContainer > m_inputVertexKey
Definition CVFAlg.h:54
virtual StatusCode initialize() override
Initialise the algorithm.
Definition CVFAlg.cxx:42
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTrackKey
Definition CVFAlg.h:52
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...