#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 28 of file PhiBorderFinder.h.
typedef DetRod PhiBorderFinder::Det |
Definition at line 31 of file PhiBorderFinder.h.
typedef geomsort::ExtractPhi<Det,float> PhiBorderFinder::DetPhi |
Definition at line 32 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, plotBeamSpotDB::first, mps_fire::i, isPhiOverlapping_, isPhiPeriodic_, LogTrace, SiStripPI::mean, metname, phi, phimax, phimin, Geom::pi(), position, positiveRange(), precomputed_value_sort(), EnergyCorrector::pt, SiStripPI::rms, edm::second(), stat_RMS(), AlCaHLTBitMon_QueryRunRegistry::string, std::swap(), theNbins, thePhiBins, thePhiBorders, and Geom::Phi< T >::value().
|
inlinevirtual |
Definition at line 37 of file PhiBorderFinder.h.
|
inlineprivate |
Definition at line 69 of file PhiBorderFinder.h.
References createfilelist::int.
Referenced by PhiBorderFinder().
|
inline |
Returns true if any 2 of the Det overlap in phi.
Definition at line 45 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 42 of file PhiBorderFinder.h.
References isPhiPeriodic_.
Referenced by MTDTrayBarrelLayer::MTDTrayBarrelLayer(), and MuRodBarrelLayer::MuRodBarrelLayer().
|
inline |
|
inline |
The centers of the Dets.
Definition at line 52 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 49 of file PhiBorderFinder.h.
References thePhiBorders.
Referenced by GeneralBinFinderInPhi< T >::GeneralBinFinderInPhi().
|
inlineprivate |
Definition at line 64 of file PhiBorderFinder.h.
References Geom::twoPi().
Referenced by PhiBorderFinder().
|
private |
Definition at line 60 of file PhiBorderFinder.h.
Referenced by isPhiOverlapping(), and PhiBorderFinder().
|
private |
Definition at line 59 of file PhiBorderFinder.h.
Referenced by isPhiPeriodic(), and PhiBorderFinder().
|
private |
Definition at line 58 of file PhiBorderFinder.h.
Referenced by nBins(), and PhiBorderFinder().
|
private |
Definition at line 62 of file PhiBorderFinder.h.
Referenced by phiBins(), and PhiBorderFinder().
|
private |
Definition at line 61 of file PhiBorderFinder.h.
Referenced by PhiBorderFinder(), and phiBorders().