ATLAS Offline Software
Loading...
Searching...
No Matches
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
19#include "xAODTracking/Vertex.h"
21
22#include <vector>
23#include <string>
24
25namespace 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
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
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.
SVForIPTool(const std::string &name, const std::string &n, const IInterface *p)
virtual ~SVForIPTool()=default
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition SVForIPTool.h:34
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.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Eigen::Matrix< double, 3, 1 > Vector3D
The namespace of all packages in PhysicsAnalysis/JetTagging.
static const InterfaceID IID_SVForIPTool("Analysis::SVForIPTool", 1, 0)
BTagging_v1 BTagging
Definition of the current "BTagging version".
Definition BTagging.h:17
Vertex_v1 Vertex
Define the latest version of the vertex class.