FCCAnalyses 0.13.1
Loading...
Searching...
No Matches
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., bool ComputeMomentaAtVertex=true)
 Vertex (code from Franco Bedeschi): passing the recoparticles.
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., bool ComputeMomentaAtVertex=true)
 Vertex (code from Franco Bedeschi): passing the tracks.
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., bool ComputeMomentaAtVertex=true)
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
int supress_stdout ()
void resume_stdout (int fd)

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

◆ resume_stdout()

void FCCAnalyses::VertexFitterSimple::resume_stdout ( int fd)

◆ supress_stdout()

int FCCAnalyses::VertexFitterSimple::supress_stdout ( )

◆ 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.,
bool ComputeMomentaAtVertex = true )

Vertex (code from Franco Bedeschi): passing the recoparticles.

Units for the beamspot constraint: mum. See VertexFitter_Tk() below for what ComputeMomentaAtVertex controls.

◆ 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.,
bool ComputeMomentaAtVertex = true )

Vertex (code from Franco Bedeschi): passing the tracks.

Units for the beamspot constraint: mum. ComputeMomentaAtVertex controls whether updated_track_momentum_at_vertex is filled: it requires building a Delphes VertexMore object, whose cost scales as O(ntracks^3) and dominates the total runtime for events with many tracks. Set to false when only the vertex position/chi2 is needed (e.g. FCCAnalysesVertex::vertex via VertexingUtils::get_VertexData) – see https://github.com/HEP-FCC/FCCAnalyses/issues/378.

◆ 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.,
bool ComputeMomentaAtVertex = true )