|
Jpp
18.2.1
the software that should make you happy
|
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 JRange< double > &Z=JRange< double >()) | |
| Constructor. More... | |
| JDetectorSubset (const JDetector &detector, const JAxis3D &track, const double Rmax=std::numeric_limits< double >::max(), const JRange< double > &Z=JRange< double >()) | |
| 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 119 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 162 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 185 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 207 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 228 of file JDetectorSubset.hh.
|
inline |
|
inline |
Find first module after given value according specified comparator.
| value | value |
Definition at line 255 of file JDetectorSubset.hh.
|
inline |
Get range of modules between given values according specified comparator.
| xmin | minimal value |
| xmax | maximal value |
Definition at line 268 of file JDetectorSubset.hh.
|
protected |
Definition at line 276 of file JDetectorSubset.hh.
1.8.5