#include <DTOccupancyClusterBuilder.h>
Public Member Functions | |
void | addPoint (const DTOccupancyPoint &point) |
Add an occupancy point for a given layer. More... | |
void | buildClusters () |
build the clusters More... | |
void | drawClusters (std::string canvasName) |
draw a TH2F histograms showing the clusters More... | |
DTOccupancyClusterBuilder () | |
Constructor. More... | |
DTOccupancyCluster | getBestCluster () const |
get the cluster correspondig to "normal" cell occupancy. More... | |
bool | isProblematic (DTLayerId layerId) const |
virtual | ~DTOccupancyClusterBuilder () |
Destructor. More... | |
Private Member Functions | |
bool | buildNewCluster () |
void | computeDistancesToCluster (const DTOccupancyCluster &cluster) |
void | computePointToPointDistances () |
std::pair< DTOccupancyPoint, DTOccupancyPoint > | getInitialPair () |
void | sortClusters () |
Private Attributes | |
double | maxMean |
double | maxRMS |
std::vector< DTOccupancyCluster > | theClusters |
std::map< double, std::pair < DTOccupancyPoint, DTOccupancyPoint > > | theDistances |
std::map< double, DTOccupancyPoint > | theDistancesFromTheCluster |
std::set< DTOccupancyPoint > | thePoints |
std::set< DTLayerId > | theProblematicLayers |
Build clusters of layer occupancies (DTOccupancyCluster) to spot problematic layers. It's used by DTOccupancyTest.
Definition at line 20 of file DTOccupancyClusterBuilder.h.
DTOccupancyClusterBuilder::DTOccupancyClusterBuilder | ( | ) |
Constructor.
Definition at line 21 of file DTOccupancyClusterBuilder.cc.
|
virtual |
Destructor.
Definition at line 25 of file DTOccupancyClusterBuilder.cc.
void DTOccupancyClusterBuilder::addPoint | ( | const DTOccupancyPoint & | point | ) |
Add an occupancy point for a given layer.
Definition at line 29 of file DTOccupancyClusterBuilder.cc.
void DTOccupancyClusterBuilder::buildClusters | ( | ) |
build the clusters
Definition at line 38 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 108 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 100 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 85 of file DTOccupancyClusterBuilder.cc.
void DTOccupancyClusterBuilder::drawClusters | ( | std::string | canvasName | ) |
draw a TH2F histograms showing the clusters
Definition at line 59 of file DTOccupancyClusterBuilder.cc.
DTOccupancyCluster DTOccupancyClusterBuilder::getBestCluster | ( | ) | const |
get the cluster correspondig to "normal" cell occupancy.
Definition at line 163 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 81 of file DTOccupancyClusterBuilder.cc.
bool DTOccupancyClusterBuilder::isProblematic | ( | DTLayerId | layerId | ) | const |
Definition at line 167 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 147 of file DTOccupancyClusterBuilder.cc.
|
private |
Definition at line 62 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 63 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 59 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 57 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 58 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 56 of file DTOccupancyClusterBuilder.h.
|
private |
Definition at line 60 of file DTOccupancyClusterBuilder.h.