StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFstIClusterAlgo.cxx
1 #include "StFstClusterMaker/StFstIClusterAlgo.h"
3 #include "St_base/StMessMgr.h"
4 #include "StEvent/StFstConsts.h"
5 
13 {
14  for ( unsigned char wedgeIdx = 0; wedgeIdx < kFstNumWedges; ++wedgeIdx ) {
15  StFstRawHitCollection *stFstRawHitCollection = stFstCollection.getRawHitCollection( wedgeIdx );
16  StFstClusterCollection *stFstClusterCollection = stFstCollection.getClusterCollection( wedgeIdx );
17 
18  if ( !stFstRawHitCollection || !stFstClusterCollection ) {
19  LOG_WARN << "StClusterMaker::Make(): No valid StFstRawHitCollection or StFstClusterCollection found for wedge "
20  << (short) (wedgeIdx + 1) << endm;
21  continue;
22  }
23 
24  // clustering and splitting
25  doClustering(stFstCollection, *stFstRawHitCollection, *stFstClusterCollection);
26  }
27 }
void doClustering(StFstCollection &stFstCollection)