|
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.
|
Functions | |
| bool | hasCollection (EVENT::LCEvent *lc_event, const std::string &collection) |
| description | |
| Vertex * | buildVertex (EVENT::Vertex *lc_vertex) |
| description | |
| Particle * | buildParticle (EVENT::ReconstructedParticle *lc_particle, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data) |
| description | |
| Track * | buildTrack (EVENT::Track *lc_track, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data) |
| description | |
| bool | IsSameTrack (Track *trk1, Track *trk2) |
| description | |
| RawSvtHit * | buildRawHit (EVENT::TrackerRawData *rawTracker_hit, EVENT::LCCollection *raw_svt_hit_fits) |
| TrackerHit * | buildTrackerHit (IMPL::TrackerHitImpl *lc_trackerHit, bool rotate=true, int type=0) |
| description | |
| CalCluster * | buildCalCluster (EVENT::Cluster *lc_cluster) |
| description | |
| bool | addRawInfoTo3dHit (TrackerHit *tracker_hit, IMPL::TrackerHitImpl *lc_tracker_hit, EVENT::LCCollection *raw_svt_fits, std::vector< RawSvtHit * > *rawHits=nullptr, int type=0, bool storeRawHit=true) |
| description | |
| bool | isUsedByTrack (IMPL::TrackerHitImpl *lc_tracker_hit, EVENT::Track *lc_track) |
| description | |
| bool | isUsedByTrack (TrackerHit *tracker_hit, EVENT::Track *lc_track) |
| description | |
| bool | getParticlesFromVertex (Vertex *vtx, Particle *ele, Particle *pos) |
| description | |
| static UTIL::BitField64 | decoder ("system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12") |
| description | |
| double | getKalmanTrackL1Isolations (Track *track, std::vector< TrackerHit * > *siClusters) |
| description | |
| void | get2016KFMCTruthHitCodes (Track *ele_trk, Track *pos_trk, int &L1L2hitCode, int &L1hitCode, int &L2hitCode) |
| description | |
| double | v0_projection_to_target_significance (json v0proj_fits, int run, double &vtx_proj_x, double &vtx_proj_y, double &vtx_proj_x_signif, double &vtx_proj_y_signif, double &vtx_proj_x_centered, double &vtx_proj_y_centered, double vtx_x, double vtx_y, double vtx_z, double vtx_px, double vtx_py, double vtx_pz, bool debug=false) |
| description | |
| double | v0_projection_to_target_significance (json v0proj_fits, int run, double &vtx_proj_x, double &vtx_proj_y, double &vtx_proj_x_signif, double &vtx_proj_y_signif, Vertex *vtx, double &vtx_proj_x_err, double &vtx_proj_y_err, double &vtx_proj_x_centered, double &vtx_proj_y_centered, bool debug=false) |
| void | debug_target_projection (double target_pos, Vertex *vtx) |
| 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. | |
| bool addRawInfoTo3dHit | ( | TrackerHit * | tracker_hit, |
| IMPL::TrackerHitImpl * | lc_tracker_hit, | ||
| EVENT::LCCollection * | raw_svt_fits, | ||
| std::vector< RawSvtHit * > * | rawHits = nullptr, | ||
| int | type = 0, | ||
| bool | storeRawHit = true ) |
description
| tracker_hit | |
| lc_tracker_hit | |
| raw_svt_fits | |
| rawHits | |
| type |
Definition at line 457 of file utilities.cxx.
| CalCluster * buildCalCluster | ( | EVENT::Cluster * | lc_cluster | ) |
| Particle * buildParticle | ( | EVENT::ReconstructedParticle * | lc_particle, |
| std::string | trackstate_location, | ||
| EVENT::LCCollection * | gbl_kink_data, | ||
| EVENT::LCCollection * | track_data ) |
description
| lc_particle | |
| gbl_kink_data | |
| track_data |
Definition at line 47 of file utilities.cxx.
| RawSvtHit * buildRawHit | ( | EVENT::TrackerRawData * | rawTracker_hit, |
| EVENT::LCCollection * | raw_svt_hit_fits ) |
Definition at line 374 of file utilities.cxx.
| Track * buildTrack | ( | EVENT::Track * | lc_track, |
| std::string | trackstate_location, | ||
| EVENT::LCCollection * | gbl_kink_data, | ||
| EVENT::LCCollection * | track_data ) |
description
| lc_track | |
| gbl_kink_data | |
| track_data |
Definition at line 138 of file utilities.cxx.
| TrackerHit * buildTrackerHit | ( | IMPL::TrackerHitImpl * | lc_trackerHit, |
| bool | rotate = true, | ||
| int | type = 0 ) |
description
| lc_trackerHit | |
| rotate | |
| type |
Definition at line 427 of file utilities.cxx.
| Vertex * buildVertex | ( | EVENT::Vertex * | lc_vertex | ) |
| void debug_target_projection | ( | double | target_pos, |
| Vertex * | vtx ) |
Definition at line 1027 of file utilities.cxx.
|
static |
description
| double getKalmanTrackL1Isolations | ( | Track * | track, |
| std::vector< TrackerHit * > * | siClusters ) |
|
inline |
Get the PDG code of the truth particle best matching this track.
Finds the MC particle with the most hits on the track using two methods:
| trk | The track to match |
| mcParticles | Pointer to the MC particle collection |
| debug | Enable debug output |
Definition at line 27 of file TruthMatchingUtils.h.
| bool hasCollection | ( | EVENT::LCEvent * | lc_event, |
| const std::string & | collection ) |
description
| lc_event | |
| collection |
Definition at line 18 of file utilities.cxx.
|
inline |
Check if a track has a truth-matched electron/positron.
| trk | The track to check |
| mcParticles | Pointer to the MC particle collection |
| debug | Enable debug output |
Definition at line 113 of file TruthMatchingUtils.h.
| bool isUsedByTrack | ( | IMPL::TrackerHitImpl * | lc_tracker_hit, |
| EVENT::Track * | lc_track ) |
description
| lc_tracker_hit | |
| lc_track |
Definition at line 526 of file utilities.cxx.
| bool isUsedByTrack | ( | TrackerHit * | tracker_hit, |
| EVENT::Track * | lc_track ) |
description
| tracker_hit | |
| lc_track |
Definition at line 536 of file utilities.cxx.
| double v0_projection_to_target_significance | ( | json | v0proj_fits, |
| int | run, | ||
| double & | vtx_proj_x, | ||
| double & | vtx_proj_y, | ||
| double & | vtx_proj_x_signif, | ||
| double & | vtx_proj_y_signif, | ||
| double & | vtx_proj_x_centered, | ||
| double & | vtx_proj_y_centered, | ||
| double | vtx_x, | ||
| double | vtx_y, | ||
| double | vtx_z, | ||
| double | vtx_px, | ||
| double | vtx_py, | ||
| double | vtx_pz, | ||
| bool | debug = false ) |
| double v0_projection_to_target_significance | ( | json | v0proj_fits, |
| int | run, | ||
| double & | vtx_proj_x, | ||
| double & | vtx_proj_y, | ||
| double & | vtx_proj_x_signif, | ||
| double & | vtx_proj_y_signif, | ||
| Vertex * | vtx, | ||
| double & | vtx_proj_x_err, | ||
| double & | vtx_proj_y_err, | ||
| double & | vtx_proj_x_centered, | ||
| double & | vtx_proj_y_centered, | ||
| bool | debug = false ) |
Definition at line 937 of file utilities.cxx.