ATLAS Offline Software
Loading...
Searching...
No Matches
PsiPlusPsiSingleVertex.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 PSIPLUSPSISINGLEVERTEX_H
5#define PSIPLUSPSISINGLEVERTEX_H
6// Xin Chen <xin.chen@cern.ch>
7
9#include "GaudiKernel/ToolHandle.h"
10#include "GaudiKernel/IPartPropSvc.h"
15#include <vector>
16
17namespace Trk {
18 class TrkVKalVrtFitter;
19 class V0Tools;
20}
21
22namespace DerivationFramework {
23
24 class PsiPlusPsiSingleVertex : public extends<AthAlgTool, IAugmentationTool>
25 {
26 public:
27 PsiPlusPsiSingleVertex(const std::string& t, const std::string& n, const IInterface* p);
28 virtual ~PsiPlusPsiSingleVertex() = default;
29 virtual StatusCode initialize() override;
30 virtual StatusCode addBranches(const EventContext& ctx) const override;
31
32 private:
35 std::vector<std::string> m_vertexPsi1HypoNames;
36 std::vector<std::string> m_vertexPsi2HypoNames;
41
57 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
58 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
59 double m_vtx1Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 1
60 double m_vtx1Daug4MassHypo; // mass hypothesis of 4th daughter from vertex 1
62 double m_vtx2Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 2
63 double m_vtx2Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 2
64 double m_vtx2Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 2
65 double m_vtx2Daug4MassHypo; // mass hypothesis of 4th daughter from vertex 2
66 unsigned int m_maxCandidates;
67
80 double m_chi2cut;
81
82 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
83 ToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
84 ToolHandle < Trk::V0Tools > m_V0Tools;
85 ServiceHandle<IPartPropSvc> m_partPropSvc{this, "PartPropSvc", "PartPropSvc"};
86
89 std::string m_hypoName;
93 };
94}
95
96#endif
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
virtual StatusCode addBranches(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainerName
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
SG::ReadHandleKey< xAOD::VertexContainer > m_VxPrimaryCandidateName
Name of primary vertex container.
SG::WriteHandleKeyArray< xAOD::VertexContainer > m_outputsKeys
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexPsi2ContainerKey
PsiPlusPsiSingleVertex(const std::string &t, const std::string &n, const IInterface *p)
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexPsi1ContainerKey
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
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.
THE reconstruction tool.
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
Ensure that the ATLAS eigen extensions are properly loaded.