ATLAS Offline Software
Loading...
Searching...
No Matches
Reco_4mu.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Reco_4mu.h
8
9#ifndef DERIVATIONFRAMEWORK_Reco_4mu_H
10#define DERIVATIONFRAMEWORK_Reco_4mu_H
11
12#include <string>
13
16#include "FourMuonTool.h"
19
22namespace Trk {
23 class V0Tools;
24}
25
26namespace xAOD {
27 class BPhysHypoHelper;
28}
29
32namespace DerivationFramework {
33
34 class Reco_4mu : public extends<AthAlgTool, IAugmentationTool> {
35 public:
36 Reco_4mu(const std::string& t, const std::string& n, const IInterface* p);
37
38 virtual StatusCode initialize() override final;
39
40 virtual StatusCode addBranches(const EventContext& ctx) const override final;
41
42 private:
45 void ProcessVertex(xAOD::BPhysHypoHelper&, xAOD::BPhysHelper::pv_type, std::vector<double> trackMasses) const;
46 PublicToolHandle<Trk::V0Tools> m_v0Tools{this, "V0Tools", "Trk::V0Tools"};
47 ToolHandle<DerivationFramework::FourMuonTool> m_fourMuonTool{this, "FourMuonTool", "DerivationFramework::FourMuonTool"};
48 ToolHandle<Analysis::PrimaryVertexRefitter> m_pvRefitter{this, "PVRefitter", "Analysis::PrimaryVertexRefitter"};
49
52 SG::WriteHandleKey<xAOD::VertexContainer> m_pairName{this, "PairContainerName", "Pairs"};
53 SG::WriteHandleKey<xAOD::VertexContainer> m_quadName{this, "QuadrupletContainerName", "Quadruplets"};
54 SG::ReadHandleKey<xAOD::VertexContainer> m_pvContainerName{this, "PVContainerName", "PrimaryVertices"};
55 SG::WriteHandleKey<xAOD::VertexContainer> m_refPVContainerName{this, "RefPVContainerName", "RefittedPrimaryVertices"};
56 Gaudi::Property<bool> m_refitPV{this, "RefitPV", false};
57 Gaudi::Property<int> m_PV_max{this, "MaxPVrefit", 1};
58 Gaudi::Property<int> m_DoVertexType{this, "DoVertexType", 1};
59 };
60}
61
62#endif // DERIVATIONFRAMEWORK_Reco_4mu_H
: B-physics xAOD helpers.
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition Reco_4mu.cxx:53
ToolHandle< DerivationFramework::FourMuonTool > m_fourMuonTool
Definition Reco_4mu.h:47
Gaudi::Property< bool > m_refitPV
Definition Reco_4mu.h:56
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition Reco_4mu.h:48
Reco_4mu(const std::string &t, const std::string &n, const IInterface *p)
Definition Reco_4mu.cxx:21
SG::WriteHandleKey< xAOD::VertexContainer > m_pairName
job options
Definition Reco_4mu.h:52
PublicToolHandle< Trk::V0Tools > m_v0Tools
Definition Reco_4mu.h:46
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerName
Definition Reco_4mu.h:54
Gaudi::Property< int > m_PV_max
Definition Reco_4mu.h:57
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
Definition Reco_4mu.h:55
Gaudi::Property< int > m_DoVertexType
Definition Reco_4mu.h:58
virtual StatusCode initialize() override final
Definition Reco_4mu.cxx:30
void ProcessVertex(xAOD::BPhysHypoHelper &, xAOD::BPhysHelper::pv_type, std::vector< double > trackMasses) const
tools
Definition Reco_4mu.cxx:176
SG::WriteHandleKey< xAOD::VertexContainer > m_quadName
Definition Reco_4mu.h:53
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
pv_type
: Enum type of the PV
THE reconstruction tool.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.