]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/testITSU/MakeITSRecoParam.C
Modification of seeds mem.management, only reduced version of candidates is
[u/mrichter/AliRoot.git] / ITS / UPGRADE / testITSU / MakeITSRecoParam.C
index 62174577978848294766df97da80f9a4b6355cc0..0d780ad9689bb3397b2d07c10d4d4a9a7e576dc1 100644 (file)
@@ -34,9 +34,10 @@ void MakeITSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
     recoParamArray->AddLast(itsRecoParam);
   }
   //
-  int nBranch[7] = {3,3,3,3,3,3,3}; // max branching for the seed on layer
-  int nCands[7]  = {250,200,150,100,60,40,20}; // max branching for the TPC seed
-  float tr2clChi2[7] = {50,50,50,50,50,50,50}; // cut on cluster to track chi2 
+  int nBranch[7] = {10,10,10,10,10,10,10}; // max branching for the seed on layer
+  int nCands[7]  = {10,500,500,500,300,200,100}; // max candidates for the TPC seed
+  float tr2clChi2[7] = {50,50,50,50,50,80,100}; // cut on cluster to track chi2 
+  float missPen[7] = {2.,2.,2.,2.,2.,2.,2.};    // missing cluster penalty
   //
   {
     AliITSURecoParam * itsRecoParam = AliITSURecoParam::GetLowFluxParam();
@@ -57,7 +58,8 @@ void MakeITSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
     for (int i=0;i<nLr;i++) {
       trCond->SetMaxBranches(i,nBranch[i]);    // each seed propagated to given layer can produce max nBranch branches
       trCond->SetMaxCandidates(i,nCands[i]);   // each tpc track may have at most nCands prolongations
-      trCond->SetMaxTr2ClChi2(i,tr2clChi2[i]);   // cut on cluster to track chi2
+      trCond->SetMaxTr2ClChi2(i,tr2clChi2[i]); // cut on cluster to track chi2
+      trCond->SetMissPenalty(i,missPen[i]);    // missing cluster penalty
       //
     }
     //
@@ -66,6 +68,11 @@ void MakeITSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
     trCond->AddGroupPattern( kBit3|kBit4 );
     trCond->AddGroupPattern( kBit5|kBit6 );
     //
+    trCond->AddNewCondition(5); // min hits
+    trCond->AddGroupPattern( kBit0|kBit1 );
+    trCond->AddGroupPattern( kBit3|kBit4 );
+    trCond->AddGroupPattern( kBit5|kBit6 );
+    //
     trCond->AddNewCondition(5);
     trCond->AddGroupPattern( kBit0|kBit2 );
     trCond->AddGroupPattern( kBit3|kBit4 );
@@ -101,6 +108,7 @@ void MakeITSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
       trCond->SetMaxBranches(i,nBranch[i]);    // each seed propagated to given layer can produce max nBranch branches
       trCond->SetMaxCandidates(i,nCands[i]);   // each tpc track may have at most nCands prolongations
       trCond->SetMaxTr2ClChi2(i,tr2clChi2[i]);   // cut on cluster to track chi2
+      trCond->SetMissPenalty(i,missPen[i]);    // missing cluster penalty
       //
     }
     //