ATLAS Offline Software
Loading...
Searching...
No Matches
MuPlusDsCascade.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MuPlusDsCascade_H
5#define MuPlusDsCascade_H
6//*********************
7// MuPlusDsCascade header file
8//
9// Eva Bouhova <e.bouhova@cern.ch>
10// Adam Barton <abarton@cern.ch>
11
13#include "GaudiKernel/ToolHandle.h"
16#include <vector>
20// dummy EventContext for AnalysisBase
22
23namespace Trk {
24 class IVertexFitter;
25 class TrkVKalVrtFitter;
27 class VxCascadeInfo;
28 class V0Tools;
30
31}
32
33namespace DerivationFramework {
34 class CascadeTools;
35}
36
37namespace DerivationFramework {
38
39 class MuPlusDsCascade : public extends<AthAlgTool, IAugmentationTool>
40 {
41 public:
42 MuPlusDsCascade(const std::string& t, const std::string& n, const IInterface* p);
44 virtual StatusCode initialize() override;
45 StatusCode performSearch(std::vector<Trk::VxCascadeInfo*> *cascadeinfoContainer, const EventContext& ctx) const;
46 virtual StatusCode addBranches(const EventContext& ctx) const override;
47
49
50
51 private:
52
53 std::string m_vertexContainerKey; // FIXME Use Handles
54 std::string m_vertexDxContainerKey; // FIXME Use Handles
55 std::vector<std::string> m_cascadeOutputsKeys; // FIXME Use Handles
56
58
63 double m_vtx0MassHypo; // 1st vertex mass hypothesis
64 double m_vtx1MassHypo; // 2nd vertex mass hypothesis
65 double m_vtx0Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 0
66 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
67 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
68 double m_vtx1Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 1
69
72 double m_chi2cut;
73
74 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
75 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
76 PublicToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
77 PublicToolHandle < Trk::V0Tools > m_V0Tools;
78 PublicToolHandle < DerivationFramework::CascadeTools > m_CascadeTools;
79 std::unique_ptr<InDet::InDetTrackSelectionTool> m_trackSelectionTools;
80
82 std::string m_refPVContainerName; // FIXME Use Handles
83 std::string m_hypoName;
84 //This parameter will allow us to optimize the number of PVs under consideration as the probability
85 //of a useful primary vertex drops significantly the higher you go
89
91 ToolHandle < Trk::ITrackSelectorTool > m_trkSelector;
96
97
98
99 };
100}
101
102#endif
ToolHandle< Trk::ITrackSelectorTool > m_trkSelector
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
std::string m_VxPrimaryCandidateName
Name of primary vertex container.
std::vector< std::string > m_cascadeOutputsKeys
PublicToolHandle< DerivationFramework::CascadeTools > m_CascadeTools
virtual StatusCode addBranches(const EventContext &ctx) const override
PublicToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
virtual StatusCode initialize() override
PublicToolHandle< Trk::V0Tools > m_V0Tools
static xAOD::Vertex * FindVertexTrack(const xAOD::MuonContainer *c, xAOD::Vertex *v)
std::unique_ptr< InDet::InDetTrackSelectionTool > m_trackSelectionTools
MuPlusDsCascade(const std::string &t, const std::string &n, const IInterface *p)
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer, const EventContext &ctx) const
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
std::string m_hypoName
name of the mass hypothesis.
Property holding a SG store/key/clid from which a ReadHandle is made.
The abstract interface base class for track selector tools.
Interface class for vertex fitting AlgTools, for more detailed information, take a look at the header...
THE reconstruction tool.
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".