#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 (const std::vector< const Det * > &utheDets) | |
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 27 of file PhiBorderFinder.h.
typedef DetRod PhiBorderFinder::Det |
Definition at line 30 of file PhiBorderFinder.h.
typedef geomsort::ExtractPhi<Det,float> PhiBorderFinder::DetPhi |
Definition at line 31 of file PhiBorderFinder.h.
|
inline |
Definition at line 34 of file PhiBorderFinder.h.
References binIndex(), BoundingBox::corners(), Exception, plotBeamSpotDB::first, i, isPhiOverlapping_, isPhiPeriodic_, LogTrace, timingPdfMaker::mean, metname, phi, phimax, phimin, Geom::pi(), position, positiveRange(), precomputed_value_sort(), EnergyCorrector::pt, plotscripts::rms(), edm::second(), stat_RMS(), relval_parameters_module::step, AlCaHLTBitMon_QueryRunRegistry::string, std::swap(), theNbins, thePhiBins, thePhiBorders, and Geom::Phi< T >::value().
|
inlinevirtual |
Definition at line 128 of file PhiBorderFinder.h.
|
inlineprivate |
Definition at line 160 of file PhiBorderFinder.h.
References theNbins.
Referenced by PhiBorderFinder().
|
inline |
Returns true if any 2 of the Det overlap in phi.
Definition at line 136 of file PhiBorderFinder.h.
References isPhiOverlapping_.
Referenced by MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
Returns true if the Dets are periodic in phi.
Definition at line 133 of file PhiBorderFinder.h.
References isPhiPeriodic_.
Referenced by MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
|
inline |
The centers of the Dets.
Definition at line 143 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 140 of file PhiBorderFinder.h.
References thePhiBorders.
Referenced by GeneralBinFinderInPhi< T >::GeneralBinFinderInPhi().
|
inlineprivate |
Definition at line 155 of file PhiBorderFinder.h.
References Geom::twoPi().
Referenced by PhiBorderFinder().
|
private |
Definition at line 151 of file PhiBorderFinder.h.
Referenced by isPhiOverlapping(), and PhiBorderFinder().
|
private |
Definition at line 150 of file PhiBorderFinder.h.
Referenced by isPhiPeriodic(), and PhiBorderFinder().
|
private |
Definition at line 149 of file PhiBorderFinder.h.
Referenced by binIndex(), nBins(), and PhiBorderFinder().
|
private |
Definition at line 153 of file PhiBorderFinder.h.
Referenced by phiBins(), and PhiBorderFinder().
|
private |
Definition at line 152 of file PhiBorderFinder.h.
Referenced by PhiBorderFinder(), and phiBorders().