ATLAS Offline Software
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"
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 
42  bool & canUseSvxDirection,
44  const std::string & secVxFinderName,
45  const xAOD::Vertex & priVtx) const;
46 
47 
49  void getTrkFromV0FromSecondaryVertexInfo(std::vector<const xAOD::TrackParticle*> & TrkFromV0,
51  const std::string & secVxFinderName) const;
52 
53 
54  private:
55 
56  };
57 
58 
59 }// end namespace
60 
61 #endif
BTagging.h
Analysis::SVForIPTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: SVForIPTool.h:42
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
AthAlgTool.h
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
Vertex.h
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
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Analysis::SVForIPTool::~SVForIPTool
virtual ~SVForIPTool()=default
xAODType::BTag
@ BTag
The object is a b-tagging object.
Definition: ObjectType.h:60
AthAlgTool
Definition: AthAlgTool.h:26
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