12 #include "StFcsCluster.h"
13 #include "StMuFcsCluster.h"
15 #include "StMessMgr.h"
17 #include "StMuFcsPoint.h"
19 static const char rcsid[] =
"$Id: StMuFcsCluster.cxx,v 2.1 2021/01/11 20:25:37 ullrich Exp $";
21 StMuFcsCluster::StMuFcsCluster(): mFourMomentum(0.,0.,0.,0.) { }
23 StMuFcsCluster::~StMuFcsCluster() { }
27 for(
int i=0; i<n; i++)
if(mNeighbor[i]==neighbor)
return;
28 mNeighbor.Add(neighbor);
40 void StMuFcsCluster::print(Option_t *option)
const {
42 "StFcsCluster id=%4d ctg=%1d n=%2d nNeigh=%1d nPoints=%1d loc=%7.2f %7.2f PXYZE=%7.2lf %7.2lf %7.2lf %7.2lf E=%7.2lf sigMin/max=%7.2f %7.2f Chi2=%7.2f %7.2f",
43 id(), category(), nTowers(), nNeighbor(),nPoints(),
45 fourMomentum().Px(),fourMomentum().Py(),fourMomentum().Pz(),fourMomentum().E(),
46 energy(), sigmaMin(), sigmaMax(), chi2Ndf1Photon(), chi2Ndf2Photon()) << endl;