ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkBPhys
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
#include "
JpsiUpsilonTools/PrimaryVertexRefitter.h
"
12
#include "
xAODTracking/VertexContainer.h
"
13
#include "
xAODEventInfo/EventInfo.h
"
14
#include <vector>
15
16
namespace
Trk
{
17
class
TrkVKalVrtFitter
;
18
class
V0Tools
;
19
}
20
21
namespace
DerivationFramework
{
22
23
class
PsiPlusPsiSingleVertex
:
public
extends<AthAlgTool, IAugmentationTool>
24
{
25
public
:
26
PsiPlusPsiSingleVertex
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
27
virtual
~PsiPlusPsiSingleVertex
() =
default
;
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const override
;
30
31
private
:
32
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexPsi1ContainerKey
;
33
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexPsi2ContainerKey
;
34
std::vector<std::string>
m_vertexPsi1HypoNames
;
35
std::vector<std::string>
m_vertexPsi2HypoNames
;
36
SG::WriteHandleKeyArray<xAOD::VertexContainer>
m_outputsKeys
;
// StoreGate/WriteHandleKeyArray.h
37
SG::ReadHandleKey<xAOD::VertexContainer>
m_VxPrimaryCandidateName
;
38
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackContainerName
;
39
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfo_key
;
40
41
double
m_jpsi1MassLower
;
42
double
m_jpsi1MassUpper
;
43
double
m_diTrack1MassLower
;
44
double
m_diTrack1MassUpper
;
45
double
m_psi1MassLower
;
46
double
m_psi1MassUpper
;
47
double
m_jpsi2MassLower
;
48
double
m_jpsi2MassUpper
;
49
double
m_diTrack2MassLower
;
50
double
m_diTrack2MassUpper
;
51
double
m_psi2MassLower
;
52
double
m_psi2MassUpper
;
53
double
m_MassLower
;
54
double
m_MassUpper
;
55
int
m_vtx1Daug_num
;
56
double
m_vtx1Daug1MassHypo
;
// mass hypothesis of 1st daughter from vertex 1
57
double
m_vtx1Daug2MassHypo
;
// mass hypothesis of 2nd daughter from vertex 1
58
double
m_vtx1Daug3MassHypo
;
// mass hypothesis of 3rd daughter from vertex 1
59
double
m_vtx1Daug4MassHypo
;
// mass hypothesis of 4th daughter from vertex 1
60
int
m_vtx2Daug_num
;
61
double
m_vtx2Daug1MassHypo
;
// mass hypothesis of 1st daughter from vertex 2
62
double
m_vtx2Daug2MassHypo
;
// mass hypothesis of 2nd daughter from vertex 2
63
double
m_vtx2Daug3MassHypo
;
// mass hypothesis of 3rd daughter from vertex 2
64
double
m_vtx2Daug4MassHypo
;
// mass hypothesis of 4th daughter from vertex 2
65
unsigned
int
m_maxCandidates
;
66
67
double
m_mass_jpsi1
;
68
double
m_mass_diTrk1
;
69
double
m_mass_psi1
;
70
double
m_mass_jpsi2
;
71
double
m_mass_diTrk2
;
72
double
m_mass_psi2
;
73
bool
m_constrJpsi1
;
74
bool
m_constrDiTrk1
;
75
bool
m_constrPsi1
;
76
bool
m_constrJpsi2
;
77
bool
m_constrDiTrk2
;
78
bool
m_constrPsi2
;
79
double
m_chi2cut
;
80
81
ToolHandle < Trk::TrkVKalVrtFitter >
m_iVertexFitter
;
82
PublicToolHandle < Analysis::PrimaryVertexRefitter >
m_pvRefitter
;
83
PublicToolHandle < Trk::V0Tools >
m_V0Tools
;
84
85
bool
m_refitPV
;
86
SG::WriteHandleKey<xAOD::VertexContainer>
m_refPVContainerName
;
87
std::string
m_hypoName
;
88
int
m_PV_max
;
89
int
m_DoVertexType
;
90
size_t
m_PV_minNTracks
;
91
};
92
}
93
94
#endif
AthAlgTool.h
IAugmentationTool.h
PrimaryVertexRefitter.h
VertexContainer.h
DerivationFramework::PsiPlusPsiSingleVertex::initialize
virtual StatusCode initialize() override
Definition
PsiPlusPsiSingleVertex.cxx:130
DerivationFramework::PsiPlusPsiSingleVertex::m_diTrack2MassLower
double m_diTrack2MassLower
Definition
PsiPlusPsiSingleVertex.h:49
DerivationFramework::PsiPlusPsiSingleVertex::m_refitPV
bool m_refitPV
Definition
PsiPlusPsiSingleVertex.h:85
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_jpsi2
double m_mass_jpsi2
Definition
PsiPlusPsiSingleVertex.h:70
DerivationFramework::PsiPlusPsiSingleVertex::m_refPVContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
Definition
PsiPlusPsiSingleVertex.h:86
DerivationFramework::PsiPlusPsiSingleVertex::m_diTrack1MassLower
double m_diTrack1MassLower
Definition
PsiPlusPsiSingleVertex.h:43
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx2Daug3MassHypo
double m_vtx2Daug3MassHypo
Definition
PsiPlusPsiSingleVertex.h:63
DerivationFramework::PsiPlusPsiSingleVertex::m_MassUpper
double m_MassUpper
Definition
PsiPlusPsiSingleVertex.h:54
DerivationFramework::PsiPlusPsiSingleVertex::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override
Definition
PsiPlusPsiSingleVertex.cxx:167
DerivationFramework::PsiPlusPsiSingleVertex::m_DoVertexType
int m_DoVertexType
Definition
PsiPlusPsiSingleVertex.h:89
DerivationFramework::PsiPlusPsiSingleVertex::m_constrJpsi2
bool m_constrJpsi2
Definition
PsiPlusPsiSingleVertex.h:76
DerivationFramework::PsiPlusPsiSingleVertex::m_constrDiTrk2
bool m_constrDiTrk2
Definition
PsiPlusPsiSingleVertex.h:77
DerivationFramework::PsiPlusPsiSingleVertex::m_PV_max
int m_PV_max
Definition
PsiPlusPsiSingleVertex.h:88
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx1Daug3MassHypo
double m_vtx1Daug3MassHypo
Definition
PsiPlusPsiSingleVertex.h:58
DerivationFramework::PsiPlusPsiSingleVertex::m_jpsi1MassLower
double m_jpsi1MassLower
Definition
PsiPlusPsiSingleVertex.h:41
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx1Daug1MassHypo
double m_vtx1Daug1MassHypo
Definition
PsiPlusPsiSingleVertex.h:56
DerivationFramework::PsiPlusPsiSingleVertex::m_trackContainerName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainerName
Definition
PsiPlusPsiSingleVertex.h:38
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx2Daug_num
int m_vtx2Daug_num
Definition
PsiPlusPsiSingleVertex.h:60
DerivationFramework::PsiPlusPsiSingleVertex::m_PV_minNTracks
size_t m_PV_minNTracks
Definition
PsiPlusPsiSingleVertex.h:90
DerivationFramework::PsiPlusPsiSingleVertex::m_diTrack1MassUpper
double m_diTrack1MassUpper
Definition
PsiPlusPsiSingleVertex.h:44
DerivationFramework::PsiPlusPsiSingleVertex::m_diTrack2MassUpper
double m_diTrack2MassUpper
Definition
PsiPlusPsiSingleVertex.h:50
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_diTrk2
double m_mass_diTrk2
Definition
PsiPlusPsiSingleVertex.h:71
DerivationFramework::PsiPlusPsiSingleVertex::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition
PsiPlusPsiSingleVertex.h:39
DerivationFramework::PsiPlusPsiSingleVertex::m_V0Tools
PublicToolHandle< Trk::V0Tools > m_V0Tools
Definition
PsiPlusPsiSingleVertex.h:83
DerivationFramework::PsiPlusPsiSingleVertex::m_vertexPsi1HypoNames
std::vector< std::string > m_vertexPsi1HypoNames
Definition
PsiPlusPsiSingleVertex.h:34
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx2Daug1MassHypo
double m_vtx2Daug1MassHypo
Definition
PsiPlusPsiSingleVertex.h:61
DerivationFramework::PsiPlusPsiSingleVertex::m_jpsi1MassUpper
double m_jpsi1MassUpper
Definition
PsiPlusPsiSingleVertex.h:42
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_psi2
double m_mass_psi2
Definition
PsiPlusPsiSingleVertex.h:72
DerivationFramework::PsiPlusPsiSingleVertex::m_jpsi2MassLower
double m_jpsi2MassLower
Definition
PsiPlusPsiSingleVertex.h:47
DerivationFramework::PsiPlusPsiSingleVertex::m_VxPrimaryCandidateName
SG::ReadHandleKey< xAOD::VertexContainer > m_VxPrimaryCandidateName
Name of primary vertex container.
Definition
PsiPlusPsiSingleVertex.h:37
DerivationFramework::PsiPlusPsiSingleVertex::m_hypoName
std::string m_hypoName
Definition
PsiPlusPsiSingleVertex.h:87
DerivationFramework::PsiPlusPsiSingleVertex::m_pvRefitter
PublicToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition
PsiPlusPsiSingleVertex.h:82
DerivationFramework::PsiPlusPsiSingleVertex::~PsiPlusPsiSingleVertex
virtual ~PsiPlusPsiSingleVertex()=default
DerivationFramework::PsiPlusPsiSingleVertex::m_constrPsi1
bool m_constrPsi1
Definition
PsiPlusPsiSingleVertex.h:75
DerivationFramework::PsiPlusPsiSingleVertex::m_chi2cut
double m_chi2cut
Definition
PsiPlusPsiSingleVertex.h:79
DerivationFramework::PsiPlusPsiSingleVertex::m_outputsKeys
SG::WriteHandleKeyArray< xAOD::VertexContainer > m_outputsKeys
Definition
PsiPlusPsiSingleVertex.h:36
DerivationFramework::PsiPlusPsiSingleVertex::m_vertexPsi2ContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexPsi2ContainerKey
Definition
PsiPlusPsiSingleVertex.h:33
DerivationFramework::PsiPlusPsiSingleVertex::PsiPlusPsiSingleVertex
PsiPlusPsiSingleVertex(const std::string &t, const std::string &n, const IInterface *p)
Definition
PsiPlusPsiSingleVertex.cxx:25
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_psi1
double m_mass_psi1
Definition
PsiPlusPsiSingleVertex.h:69
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx1Daug_num
int m_vtx1Daug_num
Definition
PsiPlusPsiSingleVertex.h:55
DerivationFramework::PsiPlusPsiSingleVertex::m_psi2MassLower
double m_psi2MassLower
Definition
PsiPlusPsiSingleVertex.h:51
DerivationFramework::PsiPlusPsiSingleVertex::m_jpsi2MassUpper
double m_jpsi2MassUpper
Definition
PsiPlusPsiSingleVertex.h:48
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx2Daug2MassHypo
double m_vtx2Daug2MassHypo
Definition
PsiPlusPsiSingleVertex.h:62
DerivationFramework::PsiPlusPsiSingleVertex::m_maxCandidates
unsigned int m_maxCandidates
Definition
PsiPlusPsiSingleVertex.h:65
DerivationFramework::PsiPlusPsiSingleVertex::m_MassLower
double m_MassLower
Definition
PsiPlusPsiSingleVertex.h:53
DerivationFramework::PsiPlusPsiSingleVertex::m_constrPsi2
bool m_constrPsi2
Definition
PsiPlusPsiSingleVertex.h:78
DerivationFramework::PsiPlusPsiSingleVertex::m_vertexPsi1ContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexPsi1ContainerKey
Definition
PsiPlusPsiSingleVertex.h:32
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx1Daug2MassHypo
double m_vtx1Daug2MassHypo
Definition
PsiPlusPsiSingleVertex.h:57
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_jpsi1
double m_mass_jpsi1
Definition
PsiPlusPsiSingleVertex.h:67
DerivationFramework::PsiPlusPsiSingleVertex::m_iVertexFitter
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
Definition
PsiPlusPsiSingleVertex.h:81
DerivationFramework::PsiPlusPsiSingleVertex::m_psi1MassLower
double m_psi1MassLower
Definition
PsiPlusPsiSingleVertex.h:45
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx1Daug4MassHypo
double m_vtx1Daug4MassHypo
Definition
PsiPlusPsiSingleVertex.h:59
DerivationFramework::PsiPlusPsiSingleVertex::m_constrDiTrk1
bool m_constrDiTrk1
Definition
PsiPlusPsiSingleVertex.h:74
DerivationFramework::PsiPlusPsiSingleVertex::m_vertexPsi2HypoNames
std::vector< std::string > m_vertexPsi2HypoNames
Definition
PsiPlusPsiSingleVertex.h:35
DerivationFramework::PsiPlusPsiSingleVertex::m_vtx2Daug4MassHypo
double m_vtx2Daug4MassHypo
Definition
PsiPlusPsiSingleVertex.h:64
DerivationFramework::PsiPlusPsiSingleVertex::m_psi1MassUpper
double m_psi1MassUpper
Definition
PsiPlusPsiSingleVertex.h:46
DerivationFramework::PsiPlusPsiSingleVertex::m_psi2MassUpper
double m_psi2MassUpper
Definition
PsiPlusPsiSingleVertex.h:52
DerivationFramework::PsiPlusPsiSingleVertex::m_constrJpsi1
bool m_constrJpsi1
Definition
PsiPlusPsiSingleVertex.h:73
DerivationFramework::PsiPlusPsiSingleVertex::m_mass_diTrk1
double m_mass_diTrk1
Definition
PsiPlusPsiSingleVertex.h:68
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Trk::TrkVKalVrtFitter
Definition
TrkVKalVrtFitter.h:67
Trk::V0Tools
Definition
V0Tools.h:36
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::WriteHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
Definition
WriteHandleKeyArray.h:32
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0