Skip to content
Snippets Groups Projects
Commit 70d47780 authored by Luke McElhinney's avatar Luke McElhinney Committed by Jackson Carl Burzynski
Browse files

Addition of eFrac & minDstMat

Add an estimation of vertex
parent 03c33472
No related branches found
No related tags found
2 merge requests!707622024-04-22: merge of 24.0 into main,!63422Add tool for fitting GN2 vertices
......@@ -77,6 +77,7 @@ namespace Trk {
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/ToolHandle.h"
#include "TrkVKalVrtFitter/TrkVKalVrtFitter.h"
#include "TrkVKalVrtCore/TrkVKalVrtCore.h"
#include "VxSecVertex/VxSecVertexInfo.h"
#include "xAODEventInfo/EventInfo.h"
#include "xAODJet/JetContainer.h"
......@@ -84,13 +85,21 @@ namespace Trk {
#include "xAODTracking/Vertex.h"
#include "xAODTracking/VertexContainer.h"
#include <vector>
class TH2D;
class TH1F;
class TProfile;
class TTree;
class ITHistSvc;
namespace Trk {
class TrkVKalVrtFitter;
class IVertexFitter;
class IVKalState;
class VxSecVKalVertexInfo;
class TrkVKalVrtFitter;
class IVertexFitter;
class IVKalState;
class VxSecVKalVertexInfo;
} // namespace Trk
namespace Rec {
......@@ -155,7 +164,7 @@ private:
struct WrkVrt {
bool Good = true;
std::deque<long int> selTrk;
// std::deque<long int> selTrk;
Amg::Vector3D vertex;
TLorentzVector vertexMom;
long int vertexCharge{};
......
......@@ -232,6 +232,9 @@ StatusCode GNNVertexConstructorTool::performVertexFit(const xAOD::JetContainer *
xAODwrk->listSelTracks.clear();
xAODwrk->listSelTracks.clear();
// //newvrt.selTrk.clear();
//Retrieve the tracks and push to working xAOD
for (auto i = elements.first; i != elements.second; ++i) {
xAODwrk->listSelTracks.push_back(*(i->second));
......@@ -359,6 +362,7 @@ StatusCode GNNVertexConstructorTool::performVertexFit(const xAOD::JetContainer *
}//end of 2 Track requirement
}
delete xAODwrk;
//delete WrkVrt;
} // end loop over jets
return StatusCode::SUCCESS;
} // end performVertexFit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment