#include <PhiBorderFinder.h>
Public Types | |
typedef DetRod | Det |
typedef geomsort::ExtractPhi < Det, float > | DetPhi |
Public Member Functions | |
bool | isPhiOverlapping () const |
Returns true if any 2 of the Det overlap in phi. More... | |
bool | isPhiPeriodic () const |
Returns true if the Dets are periodic in phi. More... | |
unsigned int | nBins () |
const std::vector< double > & | phiBins () const |
The centers of the Dets. More... | |
PhiBorderFinder (std::vector< const Det * > theDets) | |
const std::vector< double > & | phiBorders () const |
virtual | ~PhiBorderFinder () |
Private Member Functions | |
int | binIndex (int i) const |
double | positiveRange (double phi) const |
Private Attributes | |
bool | isPhiOverlapping_ |
bool | isPhiPeriodic_ |
unsigned int | theNbins |
std::vector< double > | thePhiBins |
std::vector< double > | thePhiBorders |
Find the phi binning of a list of detector according to several definitions.
Definition at line 29 of file PhiBorderFinder.h.
typedef DetRod PhiBorderFinder::Det |
Definition at line 32 of file PhiBorderFinder.h.
typedef geomsort::ExtractPhi<Det,float> PhiBorderFinder::DetPhi |
Definition at line 33 of file PhiBorderFinder.h.
|
inline |
Definition at line 36 of file PhiBorderFinder.h.
References binIndex(), BoundingBox::corners(), edm::hlt::Exception, first, i, isPhiOverlapping_, isPhiPeriodic_, LogTrace, timingPdfMaker::mean, metname, phi, phimax, phimin, Geom::pi(), position, positiveRange(), precomputed_value_sort(), plotscripts::rms(), edm::second(), stat_RMS(), launcher::step, std::swap(), theNbins, thePhiBins, thePhiBorders, and Geom::Phi< T >::value().
|
inlinevirtual |
Definition at line 129 of file PhiBorderFinder.h.
|
inlineprivate |
Definition at line 161 of file PhiBorderFinder.h.
References theNbins.
Referenced by PhiBorderFinder().
|
inline |
Returns true if any 2 of the Det overlap in phi.
Definition at line 137 of file PhiBorderFinder.h.
References isPhiOverlapping_.
Referenced by MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
Returns true if the Dets are periodic in phi.
Definition at line 134 of file PhiBorderFinder.h.
References isPhiPeriodic_.
Referenced by MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
|
inline |
The centers of the Dets.
Definition at line 144 of file PhiBorderFinder.h.
References thePhiBins.
Referenced by GeneralBinFinderInPhi< T >::GeneralBinFinderInPhi().
|
inline |
The borders, defined for each det as the middle between its lower edge and the previous Det's upper edge.
Definition at line 141 of file PhiBorderFinder.h.
References thePhiBorders.
Referenced by GeneralBinFinderInPhi< T >::GeneralBinFinderInPhi().
|
inlineprivate |
Definition at line 156 of file PhiBorderFinder.h.
References Geom::twoPi().
Referenced by PhiBorderFinder().
|
private |
Definition at line 152 of file PhiBorderFinder.h.
Referenced by isPhiOverlapping(), and PhiBorderFinder().
|
private |
Definition at line 151 of file PhiBorderFinder.h.
Referenced by isPhiPeriodic(), and PhiBorderFinder().
|
private |
Definition at line 150 of file PhiBorderFinder.h.
Referenced by binIndex(), nBins(), and PhiBorderFinder().
|
private |
Definition at line 154 of file PhiBorderFinder.h.
Referenced by phiBins(), and PhiBorderFinder().
|
private |
Definition at line 153 of file PhiBorderFinder.h.
Referenced by PhiBorderFinder(), and phiBorders().