ATLAS Offline Software
Loading...
Searching...
No Matches
InDetJetFitterVxFinder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 InDetJetFitterVxFinder.cxx - Description
7 -------------------
8
9 begin : March 2007
10 authors: Giacinto Piacquadio (University of Freiburg),
11 Christian Weiser (University of Freiburg)
12 email : nicola.giacinto.piacquadio@cern.ch,
13 christian.weiser@cern.ch
14 changes: new!
15
16 2007 (c) Atlas Detector Software
17
18 This class implements the finder functionality for using
19 the JetFitter algorithm. It uses as input a ParticleJet and
20 then gives the VxJetCandidate out after having performed the
21 fit.
22
23 ***************************************************************************/
24
25#ifndef TrkJetVxFitter_InDetJetFitterVxFinder_H
26#define TrkJetVxFitter_InDetJetFitterVxFinder_H
27
28#include "GaudiKernel/ToolHandle.h"
34
35namespace Trk {
36 class VxSecVertexInfo;
37 class VxJetCandidate;
38 class RecVertex;
40 class JetFitterHelper;
43}
44
45namespace xAOD
46{
47 class IParticle;
48}
49
50namespace InDet {
51
52
54 {
55
56 public:
57
58
59 virtual StatusCode initialize() override;
60
61 InDetJetFitterVxFinder(const std::string& t, const std::string& n, const IInterface* p);
62
64
65 virtual
67 const TLorentzVector & /*jetMomentum*/,
68 const std::vector<const xAOD::IParticle*> & /*inputTracks*/ ) const override
69 {
70 /* not implemented */
71 return 0;
72 }
73
74 const Trk::VxSecVertexInfo* findSecVertex(const Trk::RecVertex & primaryVertex,
75 const TLorentzVector & jetMomentum,
76 const std::vector<const Trk::TrackParticleBase*> & inputTracks) const;
77
78 const Trk::VxSecVertexInfo* findSecVertex(const Trk::RecVertex & primaryVertex,
79 const TLorentzVector & jetMomentum,
80 const std::vector<const Trk::TrackParticleBase*> & firstInputTracks,
81 const std::vector<const Trk::TrackParticleBase*> & secondInputTracks,
82 const Amg::Vector3D & vtxSeedDirection) const;
83
84 private:
85
86 void doTheFit(Trk::VxJetCandidate* myJetCandidate,
87 bool performClustering=true) const;
88
89 ToolHandle< Trk::JetFitterInitializationHelper > m_initializationHelper {this,"JetFitterInitializationHelper","Trk::JetFitterInitializationHelper",""};
90 ToolHandle< Trk::JetFitterHelper > m_helper {this,"JetFitterHelper","Trk::JetFitterHelper",""};
91 ToolHandle< Trk::JetFitterRoutines > m_routines {this,"JetFitterRoutines","Trk::JetFitterRoutines",""};
92 ToolHandle< Trk::ITrackSelectorTool > m_trkFilter {this,"TrackSelector","InDet::InDetDetailedTrackSelectorTool",""};
93
94
95 Gaudi::Property< int > m_maxNumDeleteIterations {this,"MaxNumDeleteIterations",30,""};
96 Gaudi::Property< float > m_vertexProbCut {this,"VertexProbCut",0.01,""};
97 Gaudi::Property< int > m_maxClusteringIterations {this,"MaxClusteringIterations",30,""};
98 Gaudi::Property< float > m_vertexClusteringProbabilityCut {this,"VertexClusteringProbabilityCut",0.01,""};
99 Gaudi::Property< bool > m_useFastClustering {this,"UseFastClustering",false,""};
100
101 Gaudi::Property< int > m_maxTracksToFitAtOnce {this,"MaxTracksToFitAtOnce",15,""};
102
103 };//end class declaration
104
105}//end namespace Rec
106
107
108#endif
109
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
void doTheFit(Trk::VxJetCandidate *myJetCandidate, bool performClustering=true) const
Gaudi::Property< float > m_vertexClusteringProbabilityCut
virtual Trk::VxSecVertexInfo * findSecVertex(const xAOD::Vertex &, const TLorentzVector &, const std::vector< const xAOD::IParticle * > &) const override
Gaudi::Property< int > m_maxClusteringIterations
ToolHandle< Trk::JetFitterInitializationHelper > m_initializationHelper
ToolHandle< Trk::ITrackSelectorTool > m_trkFilter
Gaudi::Property< float > m_vertexProbCut
ToolHandle< Trk::JetFitterRoutines > m_routines
InDetJetFitterVxFinder(const std::string &t, const std::string &n, const IInterface *p)
ToolHandle< Trk::JetFitterHelper > m_helper
Gaudi::Property< int > m_maxNumDeleteIterations
Gaudi::Property< bool > m_useFastClustering
Gaudi::Property< int > m_maxTracksToFitAtOnce
virtual StatusCode initialize() override
The abstract interface base class for track selector tools.
Februar 2007 (c) Atlas Detector Reconstruction Software.
Februar 2007 (c) Atlas Detector Reconstruction Software.
Februar 2007 (c) Atlas Detector Reconstruction Software.
Trk::RecVertex inherits from Trk::Vertex.
Definition RecVertex.h:44
Class providing the definition of the 4-vector interface.
Eigen::Matrix< double, 3, 1 > Vector3D
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Vertex_v1 Vertex
Define the latest version of the vertex class.