void DBtxt_AlgClusterSRList_NearCosmic(void)
{

  AlgFactory &af = AlgFactory::GetInstance();
  AlgHandle alh = af.GetAlgHandle("AlgClusterSRList","NearCosmic");
  AlgConfig &alg = alh.GetAlgConfig(); 

  alg.UnLockValues();
  alg.UnLockKeys();
  
  cout << " Cluster parameters set to Near Cosmic " << endl;
// -----------------------
  alg.Set("StripNeighborTimeDiff",30.*Munits::ns); // same plane time difference  
  alg.Set("StripNeighborStripDiff",5); // same plane
  alg.Set("StripNeighborTPosDiffShower",20.*Munits::cm); // different plane transverse position (cm) difference
  alg.Set("MinPulseHeight",20.); // minimum cluster pulse height (pe)
  alg.Set("MinShwStripPE",10.);
  // ---------------------
 
  alg.Set("StripNeighborTPosDiffTrack",20.*Munits::cm); // different planes
  alg.Set("StripNeighborPlaneDiff",4); // different planes 
  alg.Set("MinPlaneCoverageShower",1); // minimum # of planes spanned
  alg.Set("MinPlaneNeighbor",1); // minimum # of neighbors in plane
  alg.Set("MinPlaneCoverageTrack",8); // minimum # of planes spanned
  alg.Set("SMPlaneLast",248);
  alg.Set("SMPlaneFirst",250);

  alg.LockValues();
  alg.LockKeys();
}

