ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkBPhys
src
Reco_Vertex.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Reco_Vertex.h
8
9
#ifndef DERIVATIONFRAMEWORK_Reco_Vertex_H
10
#define DERIVATIONFRAMEWORK_Reco_Vertex_H
11
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "
TrkVertexAnalysisUtils/V0Tools.h
"
15
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
16
#include "
JpsiUpsilonTools/ICandidateSearch.h
"
17
#include "
JpsiUpsilonTools/PrimaryVertexRefitter.h
"
18
#include "
xAODEventInfo/EventInfo.h
"
19
#include "
StoreGate/ReadHandleKeyArray.h
"
20
#include "
xAODTracking/TrackParticleContainerFwd.h
"
21
#include "
xAODMuon/MuonContainer.h
"
22
23
namespace
DerivationFramework
{
24
25
class
Reco_Vertex
:
public
extends<AthAlgTool, IAugmentationTool> {
26
public
:
27
Reco_Vertex
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
28
29
virtual
StatusCode
initialize
();
30
31
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
;
32
33
private
:
36
PublicToolHandle<Trk::V0Tools>
m_v0Tools
;
37
ToolHandle<Analysis::ICandidateSearch>
m_SearchTool
;
38
PublicToolHandle<Analysis::PrimaryVertexRefitter>
m_pvRefitter
;
39
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfo_key
{
this
,
"EventInfo"
,
"EventInfo"
,
"Input event information"
};
42
SG::WriteHandleKey<xAOD::VertexContainer>
m_outputVtxContainerName
;
43
SG::ReadHandleKey<xAOD::VertexContainer>
m_pvContainerName
;
44
SG::WriteHandleKey<xAOD::VertexContainer>
m_refPVContainerName
;
45
bool
m_refitPV
;
46
int
m_PV_max
;
47
int
m_DoVertexType
;
48
size_t
m_PV_minNTracks
;
49
bool
m_do3d
;
50
bool
m_checkCollections
;
51
SG::ReadHandleKeyArray<xAOD::VertexContainer>
m_CollectionsToCheck
;
52
SG::ReadHandleKeyArray<xAOD::TrackParticleContainer>
m_RelinkContainers
{
this
,
"RelinkTracks"
, {},
"Track Containers if they need to be relinked through indirect use"
};
53
SG::ReadHandleKeyArray<xAOD::MuonContainer>
m_RelinkMuons
{
this
,
"RelinkMuons"
, {},
"Muon Containers if they need to be relinked through indirect use"
};
54
};
55
}
56
57
#endif
// DERIVATIONFRAMEWORK_Reco_Vertex_H
AthAlgTool.h
MuonContainer.h
IAugmentationTool.h
ICandidateSearch.h
PrimaryVertexRefitter.h
ReadHandleKeyArray.h
TrackParticleContainerFwd.h
V0Tools.h
DerivationFramework::Reco_Vertex::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition
Reco_Vertex.h:39
DerivationFramework::Reco_Vertex::m_SearchTool
ToolHandle< Analysis::ICandidateSearch > m_SearchTool
Definition
Reco_Vertex.h:37
DerivationFramework::Reco_Vertex::m_refPVContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
Definition
Reco_Vertex.h:44
DerivationFramework::Reco_Vertex::m_v0Tools
PublicToolHandle< Trk::V0Tools > m_v0Tools
tools
Definition
Reco_Vertex.h:36
DerivationFramework::Reco_Vertex::m_checkCollections
bool m_checkCollections
Definition
Reco_Vertex.h:50
DerivationFramework::Reco_Vertex::m_DoVertexType
int m_DoVertexType
Definition
Reco_Vertex.h:47
DerivationFramework::Reco_Vertex::m_pvContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerName
Definition
Reco_Vertex.h:43
DerivationFramework::Reco_Vertex::m_RelinkContainers
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_RelinkContainers
Definition
Reco_Vertex.h:52
DerivationFramework::Reco_Vertex::m_RelinkMuons
SG::ReadHandleKeyArray< xAOD::MuonContainer > m_RelinkMuons
Definition
Reco_Vertex.h:53
DerivationFramework::Reco_Vertex::m_pvRefitter
PublicToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition
Reco_Vertex.h:38
DerivationFramework::Reco_Vertex::m_outputVtxContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_outputVtxContainerName
job options
Definition
Reco_Vertex.h:42
DerivationFramework::Reco_Vertex::Reco_Vertex
Reco_Vertex(const std::string &t, const std::string &n, const IInterface *p)
Definition
Reco_Vertex.cxx:21
DerivationFramework::Reco_Vertex::m_do3d
bool m_do3d
Definition
Reco_Vertex.h:49
DerivationFramework::Reco_Vertex::m_PV_minNTracks
size_t m_PV_minNTracks
Definition
Reco_Vertex.h:48
DerivationFramework::Reco_Vertex::m_PV_max
int m_PV_max
Definition
Reco_Vertex.h:46
DerivationFramework::Reco_Vertex::m_CollectionsToCheck
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_CollectionsToCheck
Definition
Reco_Vertex.h:51
DerivationFramework::Reco_Vertex::initialize
virtual StatusCode initialize()
Definition
Reco_Vertex.cxx:51
DerivationFramework::Reco_Vertex::m_refitPV
bool m_refitPV
Definition
Reco_Vertex.h:45
DerivationFramework::Reco_Vertex::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const
Definition
Reco_Vertex.cxx:81
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
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0