|
Jpp
15.0.1-rc.1-highQE
the software that should make you happy
|
Auxiliary methods for selection of reconstructed tracks. More...
#include <limits>#include <algorithm>#include "km3net-dataformat/offline/Hit.hh"#include "km3net-dataformat/offline/Vec.hh"#include "km3net-dataformat/offline/Trk.hh"#include "km3net-dataformat/offline/Evt.hh"#include "km3net-dataformat/offline/Exception.hh"#include "km3net-dataformat/definitions/reconstruction.hh"Go to the source code of this file.
Classes | |
| struct | rec_stages_range |
| Range of reconstruction stages. More... | |
| struct | quality_sorter< reconstruction_type > |
| Reconstruction type dependent comparison of track quality. More... | |
| struct | has_history |
| Auxiliary class to test whether given track has specified history. More... | |
Functions | |
| bool | has_jppmuon_prefit (const Trk &track) |
| Test whether given track has muon prefit in history. More... | |
| bool | has_jppmuon_simplex (const Trk &track) |
| Test whether given track has muon simplex fit in history. More... | |
| bool | has_jppmuon_gandalf (const Trk &track) |
| Test whether given track has muon gandalf fit in history. More... | |
| bool | has_jppmuon_energy (const Trk &track) |
| Test whether given track has muon energy fit in history. More... | |
| bool | has_jppmuon_start (const Trk &track) |
| Test whether given track has muon start fit in history. More... | |
| bool | has_jppmuon_fit (const Trk &track) |
| Test whether given track has default muon fit in history. More... | |
| bool | has_shower_prefit (const Trk &track) |
| Test whether given track has shower prefit in history. More... | |
| bool | has_shower_positionfit (const Trk &track) |
| Test whether given track has shower position fit in history. More... | |
| bool | has_shower_completefit (const Trk &track) |
| Test whether given track has shower complete fit in history. More... | |
| bool | has_shower_fit (const Trk &track) |
| Test whether given track has default shower fit in history. More... | |
| bool | has_aashower_fit (const Trk &track) |
| Test whether given track has default shower fit in history. More... | |
| template<class JTrackSelector_t > | |
| bool | has_reconstructed_track (const Evt &evt, JTrackSelector_t selector) |
| Test whether given event has a track according selection. More... | |
| template<int reconstruction_type> | |
| bool | has_reconstructed_track (const Evt &evt, const rec_stages_range range=rec_stages_range()) |
| Test whether given event has a track according selection. More... | |
| bool | has_reconstructed_jppmuon (const Evt &evt) |
| Test whether given event has a track with muon reconstruction. More... | |
| bool | has_reconstructed_jppshower (const Evt &evt) |
| Test whether given event has a track with shower reconstruction. More... | |
| bool | has_reconstructed_aashower (const Evt &evt) |
| Test whether given event has a track with aashower reconstruction. More... | |
| template<class JTrackSelector_t , class JQualitySorter_t > | |
| const Trk & | get_best_reconstructed_track (const Evt &evt, JTrackSelector_t selector, JQualitySorter_t comparator) |
| Get best reconstructed track. More... | |
| template<int reconstruction_type> | |
| const Trk & | get_best_reconstructed_track (const Evt &evt, const rec_stages_range range=rec_stages_range()) |
| Get best reconstructed track. More... | |
| const Trk & | get_best_reconstructed_jppmuon (const Evt &evt) |
| Get best reconstructed muon. More... | |
| const Trk & | get_best_reconstructed_jppshower (const Evt &evt) |
| Get best reconstructed shower. More... | |
| const Trk & | get_best_reconstructed_aashower (const Evt &evt) |
| Get best reconstructed aashower. More... | |
Auxiliary methods for selection of reconstructed tracks.
Definition in file tools/reconstruction.hh.
|
inline |
Test whether given track has muon prefit in history.
| track | track |
Definition at line 144 of file tools/reconstruction.hh.
|
inline |
Test whether given track has muon simplex fit in history.
| track | track |
Definition at line 156 of file tools/reconstruction.hh.
|
inline |
Test whether given track has muon gandalf fit in history.
| track | track |
Definition at line 168 of file tools/reconstruction.hh.
|
inline |
Test whether given track has muon energy fit in history.
| track | track |
Definition at line 180 of file tools/reconstruction.hh.
|
inline |
Test whether given track has muon start fit in history.
| track | track |
Definition at line 192 of file tools/reconstruction.hh.
|
inline |
Test whether given track has default muon fit in history.
| track | track |
Definition at line 204 of file tools/reconstruction.hh.
|
inline |
Test whether given track has shower prefit in history.
| track | track |
Definition at line 216 of file tools/reconstruction.hh.
|
inline |
Test whether given track has shower position fit in history.
| track | track |
Definition at line 228 of file tools/reconstruction.hh.
|
inline |
Test whether given track has shower complete fit in history.
| track | track |
Definition at line 240 of file tools/reconstruction.hh.
|
inline |
Test whether given track has default shower fit in history.
| track | track |
Definition at line 252 of file tools/reconstruction.hh.
|
inline |
Test whether given track has default shower fit in history.
| track | track |
Definition at line 264 of file tools/reconstruction.hh.
|
inline |
Test whether given event has a track according selection.
The track selector corresponds to the function operator bool selector(const Trk&);.
| evt | event |
| selector | track selector |
Definition at line 279 of file tools/reconstruction.hh.
|
inline |
Test whether given event has a track according selection.
| evt | event |
| range | range of application types |
Definition at line 293 of file tools/reconstruction.hh.
|
inline |
Test whether given event has a track with muon reconstruction.
| evt | event |
Definition at line 305 of file tools/reconstruction.hh.
|
inline |
Test whether given event has a track with shower reconstruction.
| evt | event |
Definition at line 317 of file tools/reconstruction.hh.
|
inline |
Test whether given event has a track with aashower reconstruction.
| evt | event |
Definition at line 329 of file tools/reconstruction.hh.
|
inline |
Get best reconstructed track.
The track selector corresponds to the function operator bool selector(const Trk&); and the track comparator to bool comparator(const Trk&, const Trk&);.
This method throws an exception in case no track is present.
The method has_reconstructed_track can be used to avoid this exception.
| evt | event |
| selector | track selector |
| comparator | track comparator |
Definition at line 348 of file tools/reconstruction.hh.
|
inline |
Get best reconstructed track.
| evt | event |
| range | range of application types |
Definition at line 375 of file tools/reconstruction.hh.
Get best reconstructed muon.
| evt | event |
Definition at line 387 of file tools/reconstruction.hh.
Get best reconstructed shower.
| evt | event |
Definition at line 399 of file tools/reconstruction.hh.
Get best reconstructed aashower.
| evt | event |
Definition at line 411 of file tools/reconstruction.hh.
1.8.5