![]() |
ATLAS Offline Software
|
#include <CscAverage.h>
Public Member Functions | |
CscAverage () | |
void | cscaverage (const double *qstr, int &NStrip, double &thr, double &da, int &ncl, double *sig, double *zpos, double &noise) |
Private Attributes | |
IMessageSvc * | m_msgSvc |
Definition at line 19 of file CscAverage.h.
CscAverage::CscAverage | ( | ) |
Definition at line 19 of file CscAverage.cxx.
void CscAverage::cscaverage | ( | const double * | qstr, |
int & | NStrip, | ||
double & | thr, | ||
double & | da, | ||
int & | ncl, | ||
double * | sig, | ||
double * | zpos, | ||
double & | noise | ||
) |
Find the clusters and calculate the positions and the errors on the positions
The list of strips above the clustering threshold define the cluster - the hole are not treated in the sense that a dead strip in the middle of the cluster will mess up the true definition of the cluster
initialize some parameters
clustering by the weight average method
center of gravity method - weighted average
clustering by just selection the strip with the highest charge as the position of the cluster
the ratio method for clustering the constants are from test beam and may need adjustment
now make a selection between the maxPos, the ratio method and the weight average this selection is made in the CscClustrization algorithm
Definition at line 26 of file CscAverage.cxx.
|
private |
Definition at line 31 of file CscAverage.h.