FCCAnalyses
Loading...
Searching...
No Matches
VertexFitterSimple.cc File Reference
#include "FCCAnalyses/VertexFitterSimple.h"
#include "FCCAnalyses/MCParticle.h"
#include "edm4hep/EDM4hepVersion.h"
#include <iostream>
#include "TFile.h"
#include "TString.h"
#include <fcntl.h>
Include dependency graph for VertexFitterSimple.cc:

Namespaces

namespace  FCCAnalyses
 FCC analyzers collection.
 
namespace  FCCAnalyses::VertexFitterSimple
 Vertex interface using Franco Bedeshi's code.
 

Functions

int FCCAnalyses::VertexFitterSimple::supress_stdout ()
 
void FCCAnalyses::VertexFitterSimple::resume_stdout (int fd)
 
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.
 
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.
 
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.)
 
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.
 
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.
 
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