![]() |
ATLAS Offline Software
|
container for phi sorted ROIs defined by phi, r and z. More...
#include <ROIPhiRZContainer.h>
Public Member Functions | |
| bool | hasMatchingROI (float phi, double eta, double r, double z, float roi_phi_width, double roi_eta_width) const |
| Test whether there is a matching ROI for the given phi and r,z corrected eta. | |
| const_iterator | lowerPhiBound (float phi, float roi_phi_width) const |
| void | addROI (const Amg::Vector3D &global_position, float roi_phi_width) |
| void | sort () |
Static Public Member Functions | |
| static double | eta (const ROIPhiRZ &roi) |
| static double | theta (const ROIPhiRZ &roi) |
| static float | phi (const ROIPhiRZ &roi) |
Public Attributes | |
| T | elements |
| STL member. | |
Static Protected Member Functions | |
| static double | sqr (double a) |
| static double | deltaEta (const ROIPhiRZ &roi, double other_r, double other_z, double other_eta) |
| Helper function to compute a z position corrected delta eta. | |
| static bool | order (const ROIPhiRZ &a, const ROIPhiRZ &b) |
| Helper function to order ROIs defined by phi,r,z by phi. | |
| static ROIPhiRZContainer::const_iterator | lowerPhiBound (const ROIPhiRZContainer &rois, float phi, float roi_phi_width) |
| Helper function to find the lower bound of ROIs which match |phi - ROI_phi| < ROI_width;. | |
| static bool | hasMatchingROI (const ROIPhiRZContainer &rois, float phi, double eta, double r, double z, float roi_phi_width, double roi_eta_width) |
container for phi sorted ROIs defined by phi, r and z.
Collection to hold a phi sorted array containing ROIs defined by phi, r and z, entries with close to 2 pi will also be stored with negaitve phi Thus the lower bound of ROIs with |phi - ROI_phi| < ROI_width, is can be obtained by a binary search for phi-ROI_width
Definition at line 49 of file ROIPhiRZContainer.h.
|
inline |
Definition at line 63 of file ROIPhiRZContainer.h.
|
inlinestaticprotected |
Helper function to compute a z position corrected delta eta.
Definition at line 101 of file ROIPhiRZContainer.h.
Definition at line 84 of file ROIPhiRZContainer.h.
|
inlinestaticprotected |
Definition at line 129 of file ROIPhiRZContainer.h.
|
inline |
Test whether there is a matching ROI for the given phi and r,z corrected eta.
Definition at line 55 of file ROIPhiRZContainer.h.
|
inlinestaticprotected |
Helper function to find the lower bound of ROIs which match |phi - ROI_phi| < ROI_width;.
| rois | the phi sorted roi container |
| phi | the phi value for which the lower bound of ROIs is desired. |
| ROI | width the width of the ROI in phi (must be smaller or equal the width that was used during the creation of the ROI container. |
| the | lower phi bound of ROIs matching |phi - ROI_phi| < ROI_width or rois.end() if there are no matching rois. |
Definition at line 120 of file ROIPhiRZContainer.h.
|
inline |
Definition at line 59 of file ROIPhiRZContainer.h.
Helper function to order ROIs defined by phi,r,z by phi.
Definition at line 112 of file ROIPhiRZContainer.h.
Definition at line 92 of file ROIPhiRZContainer.h.
|
inline |
Definition at line 79 of file ROIPhiRZContainer.h.
|
inlinestaticprotected |
Definition at line 97 of file ROIPhiRZContainer.h.
Definition at line 89 of file ROIPhiRZContainer.h.
|
inherited |
STL member.