ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagTools
JetTagTools
SVForIPTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JetTagTools_SVForIPTool_H
6
#define JetTagTools_SVForIPTool_H
7
8
/******************************************************
9
@class SVForIPTool
10
Package : JetTagTools
11
Created : 23 February 2008
12
DESCRIPTION:
13
This class computes the secondary vertex direction or gives back the tracks
14
coming from V0s, the way depending on the Tagger used.
15
@author Giacinto Piacquadio (giacinto.piacquadio AT physik.uni-freiburg.de)
16
********************************************************/
17
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
#include "
xAODTracking/Vertex.h
"
20
#include "
xAODBTagging/BTagging.h
"
21
22
#include <vector>
23
#include <string>
24
25
namespace
Analysis
{
26
27
static
const
InterfaceID
IID_SVForIPTool
(
"Analysis::SVForIPTool"
, 1, 0);
28
29
class
SVForIPTool
:
public
AthAlgTool
{
30
31
public
:
32
34
static
const
InterfaceID&
interfaceID
() {
return
IID_SVForIPTool
; };
35
36
SVForIPTool
(
const
std::string& name,
37
const
std::string& n,
const
IInterface* p);
38
virtual
~SVForIPTool
() =
default
;
39
41
void
getDirectionFromSecondaryVertexInfo
(
Amg::Vector3D
& SvxDirection,
42
bool
& canUseSvxDirection,
43
xAOD::BTagging
* BTag,
44
const
std::string & secVxFinderName,
45
const
xAOD::Vertex
& priVtx)
const
;
46
47
49
void
getTrkFromV0FromSecondaryVertexInfo
(std::vector<const xAOD::TrackParticle*> & TrkFromV0,
50
xAOD::BTagging
* BTag,
51
const
std::string & secVxFinderName)
const
;
52
53
54
private
:
55
56
};
57
58
59
}
// end namespace
60
61
#endif
AthAlgTool.h
BTagging.h
Vertex.h
Analysis::SVForIPTool::getTrkFromV0FromSecondaryVertexInfo
void getTrkFromV0FromSecondaryVertexInfo(std::vector< const xAOD::TrackParticle * > &TrkFromV0, xAOD::BTagging *BTag, const std::string &secVxFinderName) const
Method to get the tracks from V0 from the secondary vertex info.
Definition
SVForIPTool.cxx:43
Analysis::SVForIPTool::SVForIPTool
SVForIPTool(const std::string &name, const std::string &n, const IInterface *p)
Definition
SVForIPTool.cxx:12
Analysis::SVForIPTool::~SVForIPTool
virtual ~SVForIPTool()=default
Analysis::SVForIPTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition
SVForIPTool.h:34
Analysis::SVForIPTool::getDirectionFromSecondaryVertexInfo
void getDirectionFromSecondaryVertexInfo(Amg::Vector3D &SvxDirection, bool &canUseSvxDirection, xAOD::BTagging *BTag, const std::string &secVxFinderName, const xAOD::Vertex &priVtx) const
Method to get the B flight direction from the secondary vertex info.
Definition
SVForIPTool.cxx:19
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Analysis::IID_SVForIPTool
static const InterfaceID IID_SVForIPTool("Analysis::SVForIPTool", 1, 0)
xAOD::BTagging
BTagging_v1 BTagging
Definition of the current "BTagging version".
Definition
BTagging.h:17
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Generated on
for ATLAS Offline Software by
1.17.0