ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
DiTauRec
DiTauRec
VertexFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DITAUREC_VERTEXFINDER_H
6
#define DITAUREC_VERTEXFINDER_H
7
8
#include "
DiTauToolBase.h
"
9
#include "
AsgTools/PropertyWrapper.h
"
10
#include "
JetEDM/TrackVertexAssociation.h
"
11
#include "
xAODTracking/VertexContainer.h
"
12
#include "
xAODTracking/TrackParticle.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
15
class
VertexFinder
:
public
DiTauToolBase
{
16
public
:
17
18
//-------------------------------------------------------------
20
//-------------------------------------------------------------
21
VertexFinder
(
const
std::string&
type
,
22
const
std::string& name,
23
const
IInterface * parent);
24
25
//-------------------------------------------------------------
27
//-------------------------------------------------------------
28
virtual
~VertexFinder
();
29
30
virtual
StatusCode
initialize
()
override
;
31
32
virtual
StatusCode
execute
(
DiTauCandidateData
* data,
33
const
EventContext& ctx)
const override
;
34
35
ElementLink<xAOD::VertexContainer>
getPV_TJVA
(
const
xAOD::DiTauJet
*,
const
xAOD::VertexContainer
*,
36
float
& maxJVF,
37
const
EventContext& ctx)
const
;
38
39
static
float
getJetVertexFraction
(
const
xAOD::Vertex
*,
const
std::vector<const xAOD::TrackParticle*>&,
const
jet::TrackVertexAssociation
*) ;
40
41
42
private
:
43
SG::ReadHandleKey<xAOD::VertexContainer>
m_primVtxContainerName
44
{
this
,
"PrimVtxContainerName"
,
"PrimaryVertices"
,
""
};
45
SG::ReadHandleKey<jet::TrackVertexAssociation>
m_trackVertexAssocName
46
{
this
,
"TrackVertexAssociation"
,
"JetTrackVtxAssoc_forDiTaus"
,
""
};
47
48
Gaudi::Property<std::string>
m_assocTracksName
{
this
,
"AssociatedTracks"
,
"GhostTrack"
};
49
Gaudi::Property<bool>
m_useTJVA
{
this
,
"UseTJVA"
,
true
};
50
51
};
52
53
#endif
// DITAUREC_VERTEXFINDER_H
DiTauToolBase.h
TrackParticle.h
PropertyWrapper.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrackVertexAssociation.h
VertexContainer.h
DiTauCandidateData
Definition
DiTauCandidateData.h:20
DiTauToolBase::DiTauToolBase
DiTauToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
DiTauToolBase.cxx:14
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
VertexFinder::execute
virtual StatusCode execute(DiTauCandidateData *data, const EventContext &ctx) const override
Execute - called for each Ditau candidate.
Definition
VertexFinder.cxx:30
VertexFinder::~VertexFinder
virtual ~VertexFinder()
Destructor.
VertexFinder::m_trackVertexAssocName
SG::ReadHandleKey< jet::TrackVertexAssociation > m_trackVertexAssocName
Definition
VertexFinder.h:46
VertexFinder::m_assocTracksName
Gaudi::Property< std::string > m_assocTracksName
Definition
VertexFinder.h:48
VertexFinder::m_useTJVA
Gaudi::Property< bool > m_useTJVA
Definition
VertexFinder.h:49
VertexFinder::getPV_TJVA
ElementLink< xAOD::VertexContainer > getPV_TJVA(const xAOD::DiTauJet *, const xAOD::VertexContainer *, float &maxJVF, const EventContext &ctx) const
Definition
VertexFinder.cxx:87
VertexFinder::VertexFinder
VertexFinder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
VertexFinder.cxx:9
VertexFinder::getJetVertexFraction
static float getJetVertexFraction(const xAOD::Vertex *, const std::vector< const xAOD::TrackParticle * > &, const jet::TrackVertexAssociation *)
Definition
VertexFinder.cxx:132
VertexFinder::m_primVtxContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_primVtxContainerName
Definition
VertexFinder.h:44
VertexFinder::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition
VertexFinder.cxx:21
jet::TrackVertexAssociation
Class to hold N-to-one aassociations between tracks and vertices.
Definition
TrackVertexAssociation.h:23
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
xAOD::DiTauJet
DiTauJet_v1 DiTauJet
Definition of the current version.
Definition
DiTauJet.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0