fUseBinary =kFALSE;
SetPath("");
fFindVertex =kTRUE;
- fNPatch = 5; //number of patches change row in process
- fRow[0][0] = 0; // first row
-// fRow[0][1] = 173; // last row
- fRow[0][1] = 45;
- fRow[1][0] = 46;
- fRow[1][1] = 77;
- fRow[2][0] = 78;
- fRow[2][1] = 109;
- fRow[3][0] = 110;
- fRow[3][1] = 141;
- fRow[4][0] = 142;
- fRow[4][1] = 173; // last row
+ if(0){
+ fNPatch = 1; //number of patches change row in process
+ fRow[0][0] = 0; // first row
+ fRow[0][1] = 173; // last row
+ }
+ if(0){
+ fNPatch = 2; //number of patches change row in process
+ fRow[0][0] = 0; // first row
+ fRow[0][1] = 54;
+ fRow[1][0] = 55;
+ fRow[1][1] = 173; // last row
+ }
+ if(1){
+ fNPatch = 5; //number of patches change row in process
+ fRow[0][0] = 0; // first row
+ fRow[0][1] = 45;
+ fRow[1][0] = 46;
+ fRow[1][1] = 77;
+ fRow[2][0] = 78;
+ fRow[2][1] = 109;
+ fRow[3][0] = 110;
+ fRow[3][1] = 141;
+ fRow[4][0] = 142;
+ fRow[4][1] = 173; // last row
+ }
fVertexFinder = new AliL3VertexFinder();
fVertex = new AliL3Vertex();
fTracker = new AliL3ConfMapper();
fBenchmark->Stop("Unpacker");
memory->Free();
}
-
-/*
- points = (AliL3SpacePointData *) memory->Allocate(pointsize);
-
- fClusterFinder = new AliL3ClustFinder(fTransformer);
- fClusterFinder->InitSlice(slice,patch,fRow[patch][0],fRow[patch][1]
- ,maxpoints);
- fClusterFinder->SetXYError(0.1);
- fClusterFinder->SetZError(0.2);
- fClusterFinder->SetOutputArray(points);
- fClusterFinder->Read(ndigits,digits);
- fBenchmark->Start("Cluster Finder");
- fClusterFinder->ProcessDigits();
- fBenchmark->Stop("Cluster Finder");
- npoints = fClusterFinder->GetNumberOfClusters();
- delete fClusterFinder;
- fClusterFinder =0;
- fFileHandler->Free();
-
- LOG(AliL3Log::kInformational,"AliLevel3::ProcessSlice","Cluster Finder")
- <<AliL3Log::kDec<<"Found "<<npoints<<" Points"<<ENDLOG;
-*/
- }
-
+ }//end UseBinary
else{
#ifdef use_aliroot
if(UseCF){
+ fBenchmark->Start("Dummy Unpacker");
sprintf(name,"digits_%d_%d.raw",slice,patch);
+ fBenchmark->Stop("Dummy Unpacker");
if(0){ //Ali to Binary
fFileHandler->SetBinaryOutput(name);
#ifdef use_aliroot
// if not use Clusterfinder
- if(!UseCF) points = fFileHandler->AliPoints2Memory(npoints);
+ if(!UseCF){
+ points = fFileHandler->AliPoints2Memory(npoints);
+ fBenchmark->Start("Dummy Unpacker");
+ fBenchmark->Stop("Dummy Unpacker");
+ fBenchmark->Start("Dummy CF");
+ fBenchmark->Stop("Dummy CF");
+ }
#endif
if(patch == fNPatch-1){