FCCAnalyses
Loading...
Searching...
No Matches
SmearObjects.cc File Reference
#include "FCCAnalyses/SmearObjects.h"
#include <iostream>
#include "TDecompChol.h"
#include "edm4hep/EDM4hepVersion.h"
#include "FCCAnalyses/VertexFitterSimple.h"
#include "FCCAnalyses/VertexingUtils.h"
Include dependency graph for SmearObjects.cc:

Namespaces

namespace  FCCAnalyses
 FCC analyzers collection.
 
namespace  FCCAnalyses::SmearObjects
 

Functions

TVectorD FCCAnalyses::SmearObjects::TrackParamFromMC_DelphesConv (edm4hep::MCParticleData aMCParticle)
 for a given MC particle, returns a "track state", i.e.
 
ROOT::VecOps::RVec< edm4hep::TrackState > FCCAnalyses::SmearObjects::mcTrackParameters (const ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &allRecoParticles, const ROOT::VecOps::RVec< edm4hep::TrackState > &alltracks, const ROOT::VecOps::RVec< int > &RP2MC_indices, const ROOT::VecOps::RVec< edm4hep::MCParticleData > &mcParticles)
 used to validate the method above.
 
TVectorD FCCAnalyses::SmearObjects::CovSmear (TVectorD x, TMatrixDSym C, TRandom *ran, bool debug)
 generates random values for a vector, given the covariance matrix of its components, using a Choleski decomposition.