#include <DTOccupancyPoint.h>
Public Member Functions | |
double | deltaMean (const DTOccupancyPoint &anotherPoint) const |
double | deltaRMS (const DTOccupancyPoint &anotherPoint) const |
double | distance (const DTOccupancyPoint &anotherPoint) const |
distance from another point in the 2D plane More... | |
DTOccupancyPoint () | |
Constructor. More... | |
DTOccupancyPoint (double mean, double rms) | |
DTOccupancyPoint (double mean, double rms, DTLayerId layerId) | |
DTLayerId | layerId () const |
double | mean () const |
average cell occupancy in the layer More... | |
bool | operator!= (const DTOccupancyPoint &other) const |
bool | operator< (const DTOccupancyPoint &other) const |
bool | operator== (const DTOccupancyPoint &other) const |
double | rms () const |
RMS of the distribution of the cell occupancies in the layer. More... | |
void | setLayerId (DTLayerId layerId) |
virtual | ~DTOccupancyPoint () |
Destructor. More... | |
Private Attributes | |
bool | debug |
DTLayerId | theLayerId |
double | theMean |
double | theRMS |
This class is used for evaluation of layer occupancy in DTOccupancyTest. It describes a point in the 2D plane (average cell occupancy vs cell occupancy RMS).
Definition at line 13 of file DTOccupancyPoint.h.
DTOccupancyPoint::DTOccupancyPoint | ( | ) |
Constructor.
Definition at line 12 of file DTOccupancyPoint.cc.
References debug.
Referenced by operator<().
DTOccupancyPoint::DTOccupancyPoint | ( | double | mean, |
double | rms | ||
) |
Definition at line 16 of file DTOccupancyPoint.cc.
References debug.
DTOccupancyPoint::DTOccupancyPoint | ( | double | mean, |
double | rms, | ||
DTLayerId | layerId | ||
) |
Definition at line 20 of file DTOccupancyPoint.cc.
References debug.
|
virtual |
double DTOccupancyPoint::deltaMean | ( | const DTOccupancyPoint & | anotherPoint | ) | const |
Definition at line 35 of file DTOccupancyPoint.cc.
References mean().
Referenced by distance(), and DTOccupancyCluster::qualityCriterion().
double DTOccupancyPoint::deltaRMS | ( | const DTOccupancyPoint & | anotherPoint | ) | const |
Definition at line 39 of file DTOccupancyPoint.cc.
References rms().
Referenced by distance(), and DTOccupancyCluster::qualityCriterion().
double DTOccupancyPoint::distance | ( | const DTOccupancyPoint & | anotherPoint | ) | const |
distance from another point in the 2D plane
Definition at line 31 of file DTOccupancyPoint.cc.
References deltaMean(), deltaRMS(), and mathSSE::sqrt().
Referenced by operator<().
DTLayerId DTOccupancyPoint::layerId | ( | ) | const |
Definition at line 91 of file DTOccupancyPoint.cc.
References theLayerId.
Referenced by operator<(), and setLayerId().
double DTOccupancyPoint::mean | ( | ) | const |
average cell occupancy in the layer
Definition at line 27 of file DTOccupancyPoint.cc.
References theMean.
Referenced by DTOccupancyCluster::addPoint(), deltaMean(), DTOccupancyCluster::DTOccupancyCluster(), and DTOccupancyCluster::qualityCriterion().
bool DTOccupancyPoint::operator!= | ( | const DTOccupancyPoint & | other | ) | const |
Definition at line 50 of file DTOccupancyPoint.cc.
References trackingPlots::other, theLayerId, theMean, and theRMS.
bool DTOccupancyPoint::operator< | ( | const DTOccupancyPoint & | other | ) | const |
Definition at line 56 of file DTOccupancyPoint.cc.
References distance(), DTOccupancyPoint(), layerId(), trackingPlots::other, and DetId::rawId().
bool DTOccupancyPoint::operator== | ( | const DTOccupancyPoint & | other | ) | const |
Definition at line 43 of file DTOccupancyPoint.cc.
References trackingPlots::other, theLayerId, theMean, and theRMS.
double DTOccupancyPoint::rms | ( | ) | const |
RMS of the distribution of the cell occupancies in the layer.
Definition at line 29 of file DTOccupancyPoint.cc.
References theRMS.
Referenced by DTOccupancyCluster::addPoint(), computeAverageRMS(), computeMinRMS(), deltaRMS(), DTOccupancyCluster::DTOccupancyCluster(), and DTOccupancyCluster::qualityCriterion().
void DTOccupancyPoint::setLayerId | ( | DTLayerId | layerId | ) |
|
private |
Definition at line 55 of file DTOccupancyPoint.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), DTOccupancyPoint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), util.rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), and pkg.AbstractPkg::write().
|
private |
Definition at line 53 of file DTOccupancyPoint.h.
Referenced by layerId(), operator!=(), operator==(), and setLayerId().
|
private |
Definition at line 51 of file DTOccupancyPoint.h.
Referenced by mean(), operator!=(), and operator==().
|
private |
Definition at line 52 of file DTOccupancyPoint.h.
Referenced by operator!=(), operator==(), and rms().