ATLAS Offline Software
Loading...
Searching...
No Matches
MuPlusDpstCascade.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 MuPlusDpstCascade_H
5#define MuPlusDpstCascade_H
6//*********************
7// MuPlusDpstCascade 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>
19#include "GaudiKernel/IPartPropSvc.h"
20// dummy EventContext for AnalysisBase
22
23namespace Trk {
24 class IVertexFitter;
25 class TrkVKalVrtFitter;
27 class VxCascadeInfo;
28 class V0Tools;
29 class VxTrackAtVertex;
30}
31
32namespace DerivationFramework {
33 class CascadeTools;
34}
35
36namespace DerivationFramework {
37
38 class MuPlusDpstCascade : public extends<AthAlgTool, IAugmentationTool>
39 {
40 public:
41 MuPlusDpstCascade(const std::string& t, const std::string& n, const IInterface* p);
43 virtual StatusCode initialize() override;
44 StatusCode performSearch(std::vector<Trk::VxCascadeInfo*> *cascadeinfoContainer, const EventContext& ctx ) const;
45 virtual StatusCode addBranches(const EventContext& ctx) const override;
46
47 private:
48 std::string m_vertexContainerKey; // FIXME Use Handles
49 std::string m_vertexD0ContainerKey; // FIXME Use Handles
50 std::vector<std::string> m_cascadeOutputsKeys; // FIXME Use Handles
51
53
60 double m_DstMassUpperAft; //mass cut after cascade fit
63 double m_vtx0MassHypo; // mass hypothesis of vertex 0
64 double m_vtx1MassHypo; // mass hypothesis of vertex 1
65 double m_vtx0Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 0
66 double m_vtx0Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 0
67 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
68 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
69
70
74 double m_chi2cut;
75
76 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
77 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
78 ToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
79 ToolHandle < Trk::V0Tools > m_V0Tools;
80 ToolHandle < DerivationFramework::CascadeTools > m_CascadeTools;
81 std::unique_ptr<InDet::InDetTrackSelectionTool> m_trackSelectionTools;
82 ServiceHandle<IPartPropSvc> m_partPropSvc{this, "PartPropSvc", "PartPropSvc"};
83
86 std::string m_hypoName;
87 //This parameter will allow us to optimize the number of PVs under consideration as the probability
88 //of a useful primary vertex drops significantly the higher you go
92
93 };
94}
95
96#endif
std::string m_VxPrimaryCandidateName
Name of primary vertex container // FIXME Use Handles.
ServiceHandle< IPartPropSvc > m_partPropSvc
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
virtual StatusCode initialize() override
ToolHandle< DerivationFramework::CascadeTools > m_CascadeTools
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
MuPlusDpstCascade(const std::string &t, const std::string &n, const IInterface *p)
std::vector< std::string > m_cascadeOutputsKeys
std::string m_hypoName
name of the mass hypothesis.
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer, const EventContext &ctx) const
std::unique_ptr< InDet::InDetTrackSelectionTool > m_trackSelectionTools
virtual StatusCode addBranches(const EventContext &ctx) const override
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
Property holding a SG store/key/clid from which a ReadHandle is made.
Interface class for vertex fitting AlgTools, for more detailed information, take a look at the header...
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
THE reconstruction tool.
Ensure that the ATLAS eigen extensions are properly loaded.