FCCAnalyses
Loading...
Searching...
No Matches
Functions
FCCAnalyses::VertexFitterSimple Namespace Reference

Vertex interface using Franco Bedeshi's code. More...

Functions

VertexingUtils::FCCAnalysesVertex VertexFitter (int Primary, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > recoparticles, ROOT::VecOps::RVec< edm4hep::TrackState > alltracks, bool BeamSpotConstraint=false, double sigmax=0., double sigmay=0., double sigmaz=0., double bsc_x=0., double bsc_y=0., double bsc_z=0.)
 Vertex (code from Franco Bedeschi): passing the recoparticles. Units for the beamspot constraint: mum.
 
VertexingUtils::FCCAnalysesVertex VertexFitter_Tk (int Primary, ROOT::VecOps::RVec< edm4hep::TrackState > tracks, bool BeamSpotConstraint=false, double sigmax=0., double sigmay=0., double sigmaz=0., double bsc_x=0., double bsc_y=0., double bsc_z=0.)
 Vertex (code from Franco Bedeschi): passing the tracks. Units for the beamspot constraint: mum.
 
VertexingUtils::FCCAnalysesVertex VertexFitter_Tk (int Primary, ROOT::VecOps::RVec< edm4hep::TrackState > tracks, const ROOT::VecOps::RVec< edm4hep::TrackState > &alltracks, bool BeamSpotConstraint=false, double sigmax=0., double sigmay=0., double sigmaz=0., double bsc_x=0., double bsc_y=0., double bsc_z=0.)
 
ROOT::VecOps::RVec< edm4hep::TrackState > get_PrimaryTracks (ROOT::VecOps::RVec< edm4hep::TrackState > tracks, bool BeamSpotConstraint, double bsc_sigmax, double bsc_sigmay, double bsc_sigmaz, double bsc_x, double bsc_y, double bsc_z)
 Return the tracks that are flagged as coming from the primary vertex.
 
ROOT::VecOps::RVec< edm4hep::TrackState > get_NonPrimaryTracks (ROOT::VecOps::RVec< edm4hep::TrackState > allTracks, ROOT::VecOps::RVec< edm4hep::TrackState > primaryTracks)
 Return the tracks that are NOT flagged as coming from the primary vertex.
 
ROOT::VecOps::RVec< bool > IsPrimary_forTracks (ROOT::VecOps::RVec< edm4hep::TrackState > allTracks, ROOT::VecOps::RVec< edm4hep::TrackState > primaryTracks)
 for an input vector of tracks, return a vector of bools that tell if the track was identified as a primary track
 

Detailed Description

Vertex interface using Franco Bedeshi's code.

This represents a set functions and utilities to perform vertexing from a list of tracks.

Function Documentation

◆ get_NonPrimaryTracks()

ROOT::VecOps::RVec< edm4hep::TrackState > FCCAnalyses::VertexFitterSimple::get_NonPrimaryTracks ( ROOT::VecOps::RVec< edm4hep::TrackState >  allTracks,
ROOT::VecOps::RVec< edm4hep::TrackState >  primaryTracks 
)

Return the tracks that are NOT flagged as coming from the primary vertex.

◆ get_PrimaryTracks()

ROOT::VecOps::RVec< edm4hep::TrackState > FCCAnalyses::VertexFitterSimple::get_PrimaryTracks ( ROOT::VecOps::RVec< edm4hep::TrackState >  tracks,
bool  BeamSpotConstraint,
double  bsc_sigmax,
double  bsc_sigmay,
double  bsc_sigmaz,
double  bsc_x,
double  bsc_y,
double  bsc_z 
)

Return the tracks that are flagged as coming from the primary vertex.

◆ IsPrimary_forTracks()

ROOT::VecOps::RVec< bool > FCCAnalyses::VertexFitterSimple::IsPrimary_forTracks ( ROOT::VecOps::RVec< edm4hep::TrackState >  allTracks,
ROOT::VecOps::RVec< edm4hep::TrackState >  primaryTracks 
)

for an input vector of tracks, return a vector of bools that tell if the track was identified as a primary track

◆ VertexFitter()

VertexingUtils::FCCAnalysesVertex FCCAnalyses::VertexFitterSimple::VertexFitter ( int  Primary,
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData >  recoparticles,
ROOT::VecOps::RVec< edm4hep::TrackState >  alltracks,
bool  BeamSpotConstraint = false,
double  sigmax = 0.,
double  sigmay = 0.,
double  sigmaz = 0.,
double  bsc_x = 0.,
double  bsc_y = 0.,
double  bsc_z = 0. 
)

Vertex (code from Franco Bedeschi): passing the recoparticles. Units for the beamspot constraint: mum.

◆ VertexFitter_Tk() [1/2]

VertexingUtils::FCCAnalysesVertex FCCAnalyses::VertexFitterSimple::VertexFitter_Tk ( int  Primary,
ROOT::VecOps::RVec< edm4hep::TrackState >  tracks,
bool  BeamSpotConstraint = false,
double  sigmax = 0.,
double  sigmay = 0.,
double  sigmaz = 0.,
double  bsc_x = 0.,
double  bsc_y = 0.,
double  bsc_z = 0. 
)

Vertex (code from Franco Bedeschi): passing the tracks. Units for the beamspot constraint: mum.

◆ VertexFitter_Tk() [2/2]

VertexingUtils::FCCAnalysesVertex FCCAnalyses::VertexFitterSimple::VertexFitter_Tk ( int  Primary,
ROOT::VecOps::RVec< edm4hep::TrackState >  tracks,
const ROOT::VecOps::RVec< edm4hep::TrackState > &  alltracks,
bool  BeamSpotConstraint = false,
double  sigmax = 0.,
double  sigmay = 0.,
double  sigmaz = 0.,
double  bsc_x = 0.,
double  bsc_y = 0.,
double  bsc_z = 0. 
)