23 #include "StRichCluster.h"
25 static const char rcsid[] =
"$Id: StRichCluster.cxx,v 2.3 2001/04/05 04:00:52 ullrich Exp $";
30 : mNumberOfPads(0), mNumberOfLocalMax(0), mFirstPad(0),
31 mAmplitudeSum(0), mAmplitude2Sum(0) {}
33 StRichCluster::StRichCluster(
int nPads,
int nLocMax,
int fPad,
float ampSum,
float amp2Sum,
float rms2)
34 : mNumberOfPads(nPads), mNumberOfLocalMax(nLocMax), mFirstPad(fPad),
35 mAmplitudeSum(ampSum), mAmplitude2Sum(amp2Sum), mRms2(rms2) {}
37 StRichCluster::~StRichCluster() {}
42 return ( mNumberOfPads == cluster.mNumberOfPads &&
43 mFirstPad == cluster.mFirstPad &&
44 mNumberOfLocalMax == cluster.mNumberOfLocalMax &&
45 mMinimumAmplitudeOfLocalMax == cluster.mMinimumAmplitudeOfLocalMax &&
46 mAmplitudeSum == cluster.mAmplitudeSum &&
47 mRms2 == cluster.mRms2 );