#include <MagBLayer.h>
Public Member Functions | |
virtual int | binIndex (T phi) const |
returns an index in the valid range for the bin that contains phi More... | |
virtual int | binIndex (int i) const |
returns an index in the valid range, modulo Nbins More... | |
virtual T | binPosition (int ind) const |
the middle of the bin in radians More... | |
PeriodicBinFinderInPhi () | |
PeriodicBinFinderInPhi (T firstPhi, int nbins) | |
Public Member Functions inherited from BaseBinFinder< T > | |
BaseBinFinder () | |
virtual | ~BaseBinFinder () |
Static Public Member Functions | |
static T | pi () |
static T | twoPi () |
Private Attributes | |
int | theNbins |
T | thePhiOffset |
T | thePhiStep |
Periodic Bin Finder around a circle for (almost) equidistant bins. Phi is the angle on the circle in radians.
Definition at line 23 of file MagBLayer.h.
|
inline |
Definition at line 16 of file PeriodicBinFinderInPhi.h.
|
inline |
Definition at line 18 of file PeriodicBinFinderInPhi.h.
|
inlinevirtual |
returns an index in the valid range for the bin that contains phi
Implements BaseBinFinder< T >.
Definition at line 23 of file PeriodicBinFinderInPhi.h.
Referenced by MuDetRing::compatibleDets(), TECLayer::computeCrossings(), TOBLayer::computeCrossings(), TIDRing::computeCrossings(), PixelBarrelLayer::computeCrossings(), PixelForwardLayer::computeCrossings(), TIBRing::computeCrossings(), MagBLayer::findVolume(), MagGeometry::findVolume(), PixelForwardLayer::groupedCompatibleDetsV(), TIBRing::groupedCompatibleDetsV(), TECLayer::searchNeighbors(), PixelForwardLayer::searchNeighbors(), TIDRing::searchNeighbors(), TOBLayer::searchNeighbors(), TIBRing::searchNeighbors(), and PixelBarrelLayer::searchNeighbors().
|
inlinevirtual |
returns an index in the valid range, modulo Nbins
Implements BaseBinFinder< T >.
Definition at line 30 of file PeriodicBinFinderInPhi.h.
|
inlinevirtual |
the middle of the bin in radians
Implements BaseBinFinder< T >.
Definition at line 36 of file PeriodicBinFinderInPhi.h.
Referenced by TOBLayer::computeCrossings(), and PixelBarrelLayer::computeCrossings().
|
inlinestatic |
Definition at line 40 of file PeriodicBinFinderInPhi.h.
Referenced by PeriodicBinFinderInPhi< float >::twoPi().
|
inlinestatic |
Definition at line 41 of file PeriodicBinFinderInPhi.h.
Referenced by PeriodicBinFinderInPhi< float >::binIndex().
|
private |
Definition at line 45 of file PeriodicBinFinderInPhi.h.
Referenced by PeriodicBinFinderInPhi< float >::binIndex().
|
private |
Definition at line 47 of file PeriodicBinFinderInPhi.h.
Referenced by PeriodicBinFinderInPhi< float >::binIndex(), and PeriodicBinFinderInPhi< float >::binPosition().
|
private |
Definition at line 46 of file PeriodicBinFinderInPhi.h.
Referenced by PeriodicBinFinderInPhi< float >::binIndex(), and PeriodicBinFinderInPhi< float >::binPosition().