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.
|
#include <TrackSmearingTool.h>
Public Member Functions | |
TrackSmearingTool (const std::string &smearingfile, const bool relSmearing=true, const int seed=42, const std::string &tracks="KalmanFullTracks") | |
double | smearTrackP (const Track &trk) |
void | updateWithSmearP (Track &trk) |
Private Attributes | |
std::shared_ptr< std::default_random_engine > | generator_ |
std::shared_ptr< std::normal_distribution< double > > | normal_ |
std::shared_ptr< TFile > | smearingfile_ |
TH1D * | smearing_histo_top_ |
TH1D * | smearing_histo_bot_ |
bool | debug_ {false} |
bool | relSmearing_ {false} |
Definition at line 19 of file TrackSmearingTool.h.
TrackSmearingTool | ( | const std::string & | smearingfile, |
const bool | relSmearing = true , |
||
const int | seed = 42 , |
||
const std::string & | tracks = "KalmanFullTracks" |
||
) |
Definition at line 7 of file TrackSmearingTool.cxx.
double smearTrackP | ( | const Track & | trk | ) |
Definition at line 36 of file TrackSmearingTool.cxx.
void updateWithSmearP | ( | Track & | trk | ) |
Definition at line 78 of file TrackSmearingTool.cxx.
|
private |
Definition at line 48 of file TrackSmearingTool.h.
|
private |
Definition at line 35 of file TrackSmearingTool.h.
|
private |
Definition at line 39 of file TrackSmearingTool.h.
|
private |
Definition at line 49 of file TrackSmearingTool.h.
|
private |
Definition at line 45 of file TrackSmearingTool.h.
|
private |
Definition at line 44 of file TrackSmearingTool.h.
|
private |
Definition at line 41 of file TrackSmearingTool.h.