test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
DTOccupancyPoint.h File Reference
#include <DataFormats/MuonDetId/interface/DTLayerId.h>

Go to the source code of this file.

Classes

class  DTOccupancyPoint
 

Functions

double computeAverageRMS (const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
 
double computeMinRMS (const DTOccupancyPoint &onePoint, const DTOccupancyPoint &anotherPoint)
 

Function Documentation

double computeAverageRMS ( const DTOccupancyPoint onePoint,
const DTOccupancyPoint anotherPoint 
)

Definition at line 110 of file DTOccupancyPoint.cc.

References runTheMatrix::ret, and DTOccupancyPoint::rms().

Referenced by DTOccupancyCluster::qualityCriterion().

110  {
111  double ret = (onePoint.rms() + anotherPoint.rms())/2.;
112  return ret;
113 }
tuple ret
prodAgent to be discontinued
double rms() const
RMS of the distribution of the cell occupancies in the layer.
double computeMinRMS ( const DTOccupancyPoint onePoint,
const DTOccupancyPoint anotherPoint 
)

Definition at line 117 of file DTOccupancyPoint.cc.

References runTheMatrix::ret, and DTOccupancyPoint::rms().

Referenced by DTOccupancyCluster::qualityCriterion().

117  {
118  double ret = -1;
119  if(onePoint.rms() > anotherPoint.rms()) {
120  ret = anotherPoint.rms();
121  } else {
122  ret = onePoint.rms();
123  }
124  return ret;
125 }
tuple ret
prodAgent to be discontinued
double rms() const
RMS of the distribution of the cell occupancies in the layer.