ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Rec::MuSAVtxFitterTool::WrkVrt Struct Reference

Represents a working vertex structure used in VKalVrt fitting. More...

#include <MuSAVtxFitterTool.h>

Collaboration diagram for Rec::MuSAVtxFitterTool::WrkVrt:

Public Member Functions

double ndof () const
 stores the value of some observable to the closest WrkVrt ( observable = e.g. significance ) – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS More...
 
double ndofCore () const
 
unsigned nTracksTotal () const
 
double fitQuality () const
 

Public Attributes

bool isGood = true
 
std::deque< long int > selectedTrackIndices
 flagged true for good vertex candidates More...
 
std::deque< long int > associatedTrackIndices
 list if indices in TrackParticleContainer for selectedBaseTracks – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS More...
 
std::vector< std::shared_ptr< const xAOD::TrackParticle > > newExtrapolatedTracks
 list if indices in TrackParticleContainer for associatedTracks – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS More...
 
std::vector< const xAOD::Muon * > muonCandidates
 list of associated new extrapolated tracks More...
 
Amg::Vector3D pos
 list of associated muon candidates More...
 
TLorentzVector mom
 VKalVrt fit vertex position. More...
 
std::vector< double > cov
 VKalVrt fit vertex 4-momentum. More...
 
double chi2 = 0
 VKalVrt fit covariance. More...
 
double chi2Core = 0
 VKalVrt fit chi2 result. More...
 
std::vector< double > chi2PerTrk
 VKalVrt fit chi2 result. More...
 
long int charge = 0
 list of VKalVrt fit chi2 for each track More...
 
std::vector< std::vector< double > > trkAtVrt
 total charge of the vertex More...
 
double minOpAng = 0
 list of track parameters wrt the reconstructed vertex More...
 
int closestWrkVrtIndex = 0
 minimum opening angle between tracks More...
 
double closestWrkVrtValue = 0
 stores the index of the closest WrkVrt in std::vector<WrkVrt> – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS More...
 

Detailed Description

Represents a working vertex structure used in VKalVrt fitting.

This structure contains information about a fitted vertex candidate, including its position, momentum, associated tracks, and fit quality metrics.

It is used to temporarily store vertex information during the finding+fitting process for further selection and manipulation, before a vertex candidate is accepted and saved to the output container in xAOD format

Note
Quantities noted by "selected" are those used in the initial vertex-finding "seeding" step, while those with "associated" are tracks unused in the seeding step but used in the final fit via an additional "inclusive" attachment step. Currently the algorithm performs a simple 2 track fit to "selected" tracks and there are no "associated" tracks, but this will be added in future developments.

Definition at line 47 of file MuSAVtxFitterTool.h.

Member Function Documentation

◆ fitQuality()

double Rec::MuSAVtxFitterTool::WrkVrt::fitQuality ( ) const
inline

Definition at line 69 of file MuSAVtxFitterTool.h.

69 { return chi2 / ndof(); }

◆ ndof()

double Rec::MuSAVtxFitterTool::WrkVrt::ndof ( ) const
inline

stores the value of some observable to the closest WrkVrt ( observable = e.g. significance ) – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS

Definition at line 66 of file MuSAVtxFitterTool.h.

66 { return 2.0*( selectedTrackIndices.size() + associatedTrackIndices.size() ) - 3.0; } //currently always 1, because only 2trk fit, but left for future developments.

◆ ndofCore()

double Rec::MuSAVtxFitterTool::WrkVrt::ndofCore ( ) const
inline

Definition at line 67 of file MuSAVtxFitterTool.h.

67 { return 2.0*( selectedTrackIndices.size() ) - 3.0; } //currently always 1, because only 2trk fit, but left for future developments. Uses only seeding MSTPs ("core")

◆ nTracksTotal()

unsigned Rec::MuSAVtxFitterTool::WrkVrt::nTracksTotal ( ) const
inline

Definition at line 68 of file MuSAVtxFitterTool.h.

68 { return selectedTrackIndices.size() + associatedTrackIndices.size(); }

Member Data Documentation

◆ associatedTrackIndices

std::deque<long int> Rec::MuSAVtxFitterTool::WrkVrt::associatedTrackIndices

list if indices in TrackParticleContainer for selectedBaseTracks – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS

Definition at line 51 of file MuSAVtxFitterTool.h.

◆ charge

long int Rec::MuSAVtxFitterTool::WrkVrt::charge = 0

list of VKalVrt fit chi2 for each track

Definition at line 60 of file MuSAVtxFitterTool.h.

◆ chi2

double Rec::MuSAVtxFitterTool::WrkVrt::chi2 = 0

VKalVrt fit covariance.

Definition at line 57 of file MuSAVtxFitterTool.h.

◆ chi2Core

double Rec::MuSAVtxFitterTool::WrkVrt::chi2Core = 0

VKalVrt fit chi2 result.

Definition at line 58 of file MuSAVtxFitterTool.h.

◆ chi2PerTrk

std::vector<double> Rec::MuSAVtxFitterTool::WrkVrt::chi2PerTrk

VKalVrt fit chi2 result.

Definition at line 59 of file MuSAVtxFitterTool.h.

◆ closestWrkVrtIndex

int Rec::MuSAVtxFitterTool::WrkVrt::closestWrkVrtIndex = 0

minimum opening angle between tracks

Definition at line 63 of file MuSAVtxFitterTool.h.

◆ closestWrkVrtValue

double Rec::MuSAVtxFitterTool::WrkVrt::closestWrkVrtValue = 0

stores the index of the closest WrkVrt in std::vector<WrkVrt> – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS

Definition at line 64 of file MuSAVtxFitterTool.h.

◆ cov

std::vector<double> Rec::MuSAVtxFitterTool::WrkVrt::cov

VKalVrt fit vertex 4-momentum.

Definition at line 56 of file MuSAVtxFitterTool.h.

◆ isGood

bool Rec::MuSAVtxFitterTool::WrkVrt::isGood = true

Definition at line 49 of file MuSAVtxFitterTool.h.

◆ minOpAng

double Rec::MuSAVtxFitterTool::WrkVrt::minOpAng = 0

list of track parameters wrt the reconstructed vertex

Definition at line 62 of file MuSAVtxFitterTool.h.

◆ mom

TLorentzVector Rec::MuSAVtxFitterTool::WrkVrt::mom

VKalVrt fit vertex position.

Definition at line 55 of file MuSAVtxFitterTool.h.

◆ muonCandidates

std::vector<const xAOD::Muon*> Rec::MuSAVtxFitterTool::WrkVrt::muonCandidates

list of associated new extrapolated tracks

Definition at line 53 of file MuSAVtxFitterTool.h.

◆ newExtrapolatedTracks

std::vector<std::shared_ptr<const xAOD::TrackParticle> > Rec::MuSAVtxFitterTool::WrkVrt::newExtrapolatedTracks

list if indices in TrackParticleContainer for associatedTracks – CURRENTLY UNUSED, LEFT FOR FUTURE DEVELOPMENTS

Definition at line 52 of file MuSAVtxFitterTool.h.

◆ pos

Amg::Vector3D Rec::MuSAVtxFitterTool::WrkVrt::pos

list of associated muon candidates

Definition at line 54 of file MuSAVtxFitterTool.h.

◆ selectedTrackIndices

std::deque<long int> Rec::MuSAVtxFitterTool::WrkVrt::selectedTrackIndices

flagged true for good vertex candidates

Definition at line 50 of file MuSAVtxFitterTool.h.

◆ trkAtVrt

std::vector< std::vector<double> > Rec::MuSAVtxFitterTool::WrkVrt::trkAtVrt

total charge of the vertex

Definition at line 61 of file MuSAVtxFitterTool.h.


The documentation for this struct was generated from the following file:
Rec::MuSAVtxFitterTool::WrkVrt::associatedTrackIndices
std::deque< long int > associatedTrackIndices
list if indices in TrackParticleContainer for selectedBaseTracks – CURRENTLY UNUSED,...
Definition: MuSAVtxFitterTool.h:51
Rec::MuSAVtxFitterTool::WrkVrt::selectedTrackIndices
std::deque< long int > selectedTrackIndices
flagged true for good vertex candidates
Definition: MuSAVtxFitterTool.h:50
Rec::MuSAVtxFitterTool::WrkVrt::chi2
double chi2
VKalVrt fit covariance.
Definition: MuSAVtxFitterTool.h:57
Rec::MuSAVtxFitterTool::WrkVrt::ndof
double ndof() const
stores the value of some observable to the closest WrkVrt ( observable = e.g. significance ) – CURREN...
Definition: MuSAVtxFitterTool.h:66