StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstIClusterAlgo.cxx
1 #include "StIstClusterMaker/StIstIClusterAlgo.h"
3 #include "St_base/StMessMgr.h"
4 
5 
13 {
14  for ( unsigned char ladderIdx = 0; ladderIdx < StIstConsts::kIstNumLadders; ++ladderIdx ) {
15  StIstRawHitCollection *stIstRawHitCollection = stIstCollection.getRawHitCollection( ladderIdx );
16  StIstClusterCollection *stIstClusterCollection = stIstCollection.getClusterCollection( ladderIdx );
17 
18  if ( !stIstRawHitCollection || !stIstClusterCollection ) {
19  LOG_WARN << "StClusterMaker::Make(): No valid StIstRawHitCollection or StIstClusterCollection found for ladder "
20  << (short) (ladderIdx + 1) << endm;
21  continue;
22  }
23 
24  // clustering and splitting
25  doClustering(stIstCollection, *stIstRawHitCollection, *stIstClusterCollection);
26  }
27 }
void doClustering(StIstCollection &stIstCollection)
const int kIstNumLadders
24 IST Ladders