|
Jpp
|
Detector subset with binary search functionality. More...
#include <JDetectorSubset.hh>
Classes | |
| struct | range_type |
| Auxiliary class for range of iterators. More... | |
Public Member Functions | |
| JDetectorSubset (const JDetector &detector, const JAxis3D &track, const JComparator_t &comparator, const double Rmax=std::numeric_limits< double >::max(), const JRangeZ Z=JRangeZ()) | |
| Constructor. More... | |
| JDetectorSubset (const JDetector &detector, const JAxis3D &track, const double Rmax=std::numeric_limits< double >::max(), const JRangeZ Z=JRangeZ()) | |
| Constructor. More... | |
| JDetectorSubset (const JDetector &detector, const JVector3D &position, const JComparator_t &comparator, const double Dmax=std::numeric_limits< double >::max()) | |
| Constructor. More... | |
| JDetectorSubset (const JDetector &detector, const JVector3D &position, const double Dmax=std::numeric_limits< double >::max()) | |
| Constructor. More... | |
| const JComparator_t & | getComparator () const |
| Get comparator. More... | |
| const_iterator | lower_bound (const double value) const |
| Find first module after given value according specified comparator. More... | |
| range_type | getRange (const double xmin, const double xmax) const |
| Get range of modules between given values according specified comparator. More... | |
Protected Attributes | |
| const JComparator_t | compare |
Detector subset with binary search functionality.
Definition at line 118 of file JDetectorSubset.hh.
|
inline |
Constructor.
See constructor JDetectorSubset_t::JDetectorSubset_t. The modules are sorted according the specified comparator.
| detector | detector |
| track | particle track |
| comparator | comparator |
| Rmax | maximal distance of approach [m] |
| Z | range of positions along z-axis [m] |
Definition at line 161 of file JDetectorSubset.hh.
|
inline |
Constructor.
See constructor JDetectorSubset_t::JDetectorSubset_t. The modules are sorted according the default comparator.
| detector | detector |
| track | particle track |
| Rmax | maximal distance of approach [m] |
| Z | range of positions along z-axis [m] |
Definition at line 184 of file JDetectorSubset.hh.
|
inline |
Constructor.
See constructor JDetectorSubset_t::JDetectorSubset_t. The modules are sorted according the specified comparator.
| detector | detector |
| position | position of vertex |
| comparator | comparator |
| Dmax | maximal distance [m] |
Definition at line 206 of file JDetectorSubset.hh.
|
inline |
Constructor.
See constructor JDetectorSubset_t::JDetectorSubset_t. The modules are sorted according the default comparator.
| detector | detector |
| position | position of vertex |
| Dmax | maximal distance [m] |
Definition at line 227 of file JDetectorSubset.hh.
|
inline |
|
inline |
Find first module after given value according specified comparator.
| value | value |
Definition at line 254 of file JDetectorSubset.hh.
|
inline |
Get range of modules between given values according specified comparator.
| xmin | minimal value |
| xmax | maximal value |
Definition at line 267 of file JDetectorSubset.hh.
|
protected |
Definition at line 275 of file JDetectorSubset.hh.
1.8.5