hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
TruthMatchingUtils.h File Reference
#include <vector>
#include <map>
#include <iostream>
#include <cmath>
#include "Track.h"
#include "MCParticle.h"
#include "TrackerHit.h"
#include "TRefArray.h"

Go to the source code of this file.

Namespaces

namespace  utils

Functions

int getTruthPDG (Track &trk, const std::vector< MCParticle * > *mcParticles, bool debug=false)
 Get the PDG code of the truth particle best matching this track.
bool hasTruthMatch (Track &trk, const std::vector< MCParticle * > *mcParticles, bool debug=false)
 Check if a track has a truth-matched electron/positron.