|
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 <TrackBiasingTool.h>
Classes | |
| struct | Z0CalibParams |
| struct | Z0CalibSet |
Public Member Functions | |
| TrackBiasingTool (const std::string &biasingfile, const std::string &tracks="KalmanFullTracks") | |
| double | biasTrackP (const Track &track) |
| double | getCorrection (const double &p, const double tanL, const int q) |
| void | updateVertexWithBiasP (Vertex *vtx) |
| void | updateWithBiasP (Track &trk, double scaleFactor) |
| void | updateWithBiasP (Track &trk) |
| void | loadZ0Calibration (const std::string &jsonFile) |
| void | setRun (int run) |
| void | updateWithCalibrateZ0 (Track &trk) |
| void | setDebug (bool debug) |
Private Attributes | |
| std::shared_ptr< TFile > | biasingfile_ |
| TH1D * | eop_h_top_ |
| TH1D * | eop_h_bot_ |
| std::map< int, Z0CalibSet > | z0CalibByRun_ |
| Z0CalibSet | z0CalibActive_ |
| bool | z0CalibLoaded_ {false} |
| int | z0CalibCurrentRun_ {-1} |
| bool | debug_ {false} |
Definition at line 29 of file TrackBiasingTool.h.
| TrackBiasingTool | ( | const std::string & | biasingfile, |
| const std::string & | tracks = "KalmanFullTracks" ) |
Definition at line 9 of file TrackBiasingTool.cxx.
| double biasTrackP | ( | const Track & | track | ) |
Definition at line 45 of file TrackBiasingTool.cxx.
| double getCorrection | ( | const double & | p, |
| const double | tanL, | ||
| const int | q ) |
Definition at line 33 of file TrackBiasingTool.cxx.
| void loadZ0Calibration | ( | const std::string & | jsonFile | ) |
Definition at line 92 of file TrackBiasingTool.cxx.
|
inline |
Definition at line 62 of file TrackBiasingTool.h.
| void setRun | ( | int | run | ) |
Definition at line 124 of file TrackBiasingTool.cxx.
| void updateVertexWithBiasP | ( | Vertex * | vtx | ) |
Definition at line 179 of file TrackBiasingTool.cxx.
| void updateWithBiasP | ( | Track & | trk | ) |
Definition at line 66 of file TrackBiasingTool.cxx.
| void updateWithBiasP | ( | Track & | trk, |
| double | scaleFactor ) |
Definition at line 81 of file TrackBiasingTool.cxx.
| void updateWithCalibrateZ0 | ( | Track & | trk | ) |
Definition at line 152 of file TrackBiasingTool.cxx.
|
private |
Definition at line 66 of file TrackBiasingTool.h.
|
private |
Definition at line 85 of file TrackBiasingTool.h.
|
private |
Definition at line 72 of file TrackBiasingTool.h.
|
private |
Definition at line 71 of file TrackBiasingTool.h.
|
private |
Definition at line 80 of file TrackBiasingTool.h.
|
private |
Definition at line 79 of file TrackBiasingTool.h.
|
private |
Definition at line 82 of file TrackBiasingTool.h.
|
private |
Definition at line 81 of file TrackBiasingTool.h.