FCCAnalyses
Loading...
Searching...
No Matches
Classes | Functions
FCCAnalyses::SmearObjects Namespace Reference

Classes

struct  SmearedReconstructedParticle
 generates new reco particles, smeared by given parameters More...
 
struct  SmearedTracks
 generates new track states, by rescaling the covariance matrix of the tracks More...
 
struct  SmearedTracksdNdx
 generates new track dNdx, by rescaling the poisson error of the cluster count More...
 
struct  SmearedTracksTOF
 generates new tracker hits, by rescaling the timing measurement More...
 

Functions

TVectorD TrackParamFromMC_DelphesConv (edm4hep::MCParticleData aMCParticle)
 for a given MC particle, returns a "track state", i.e.
 
ROOT::VecOps::RVec< edm4hep::TrackState > 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 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.
 

Function Documentation

◆ CovSmear()

TVectorD FCCAnalyses::SmearObjects::CovSmear ( TVectorD  x,
TMatrixDSym  C,
TRandom *  ran,
bool  debug = false 
)

generates random values for a vector, given the covariance matrix of its components, using a Choleski decomposition.

Code from Franco Bedeschi

◆ mcTrackParameters()

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.

Stores the "MC-truth track states", in a collection that runs parallel to the full collection of tracks.

◆ TrackParamFromMC_DelphesConv()

TVectorD FCCAnalyses::SmearObjects::TrackParamFromMC_DelphesConv ( edm4hep::MCParticleData  aMCParticle)

for a given MC particle, returns a "track state", i.e.

a vector of 5 helix parameters, in Delphes convention