#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 29 of file PhiBorderFinder.h.
typedef geomsort::ExtractPhi<Det, float> PhiBorderFinder::DetPhi |
Definition at line 30 of file PhiBorderFinder.h.
PhiBorderFinder::PhiBorderFinder | ( | const std::vector< const Det * > & | utheDets | ) |
Definition at line 3 of file PhiBorderFinder.cc.
References binIndex(), BoundingBox::corners(), Exception, first, mps_fire::i, isPhiOverlapping_, isPhiPeriodic_, LogTrace, SiStripPI::mean, metname, phi, phimax, phimin, Geom::pi(), position, positiveRange(), precomputed_value_sort(), DiDispStaMuonMonitor_cfi::pt, SiStripPI::rms, edm::second(), stat_RMS(), AlCaHLTBitMon_QueryRunRegistry::string, std::swap(), theNbins, thePhiBins, thePhiBorders, and Geom::Phi< T1, Range >::value().
|
inlinevirtual |
Definition at line 34 of file PhiBorderFinder.h.
|
inlineprivate |
Definition at line 63 of file PhiBorderFinder.h.
References mps_fire::i, createfilelist::int, and theNbins.
Referenced by PhiBorderFinder().
|
inline |
Returns true if any 2 of the Det overlap in phi.
Definition at line 42 of file PhiBorderFinder.h.
References isPhiOverlapping_.
Referenced by MTDTrayBarrelLayer::MTDTrayBarrelLayer(), and MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
Returns true if the Dets are periodic in phi.
Definition at line 39 of file PhiBorderFinder.h.
References isPhiPeriodic_.
Referenced by MTDTrayBarrelLayer::MTDTrayBarrelLayer(), and MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
|
inline |
The centers of the Dets.
Definition at line 49 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 46 of file PhiBorderFinder.h.
References thePhiBorders.
Referenced by GeneralBinFinderInPhi< T >::GeneralBinFinderInPhi().
|
inlineprivate |
Definition at line 61 of file PhiBorderFinder.h.
References phi, and Geom::twoPi().
Referenced by PhiBorderFinder().
|
private |
Definition at line 57 of file PhiBorderFinder.h.
Referenced by isPhiOverlapping(), and PhiBorderFinder().
|
private |
Definition at line 56 of file PhiBorderFinder.h.
Referenced by isPhiPeriodic(), and PhiBorderFinder().
|
private |
Definition at line 55 of file PhiBorderFinder.h.
Referenced by binIndex(), nBins(), and PhiBorderFinder().
|
private |
Definition at line 59 of file PhiBorderFinder.h.
Referenced by phiBins(), and PhiBorderFinder().
|
private |
Definition at line 58 of file PhiBorderFinder.h.
Referenced by PhiBorderFinder(), and phiBorders().