X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONClusterFinderMLEM.cxx;h=060a13ab56f4fc2977a4cf6ecf13fb5295941136;hb=d879a92d8819d5646170437ebee8b54790925aef;hp=57f5c2b5714dc9d869a396e79e4a812b519a2751;hpb=70d92702ce82b1d6e1e9b62ec50a0a811852bb7f;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONClusterFinderMLEM.cxx b/MUON/AliMUONClusterFinderMLEM.cxx index 57f5c2b5714..060a13ab56f 100644 --- a/MUON/AliMUONClusterFinderMLEM.cxx +++ b/MUON/AliMUONClusterFinderMLEM.cxx @@ -84,7 +84,7 @@ fNClusters(0), fNAddVirtualPads(0) { /// Constructor - + fkSegmentation[1] = fkSegmentation[0] = 0x0; if (fPlot) fDebug = 1; @@ -110,7 +110,7 @@ AliMUONClusterFinderMLEM::Prepare(Int_t detElemId, const AliMpVSegmentation* seg[2]) { /// Prepare for clustering -// AliCodeTimerAuto("",) +// AliCodeTimerAuto("",0) for ( Int_t i = 0; i < 2; ++i ) { @@ -129,7 +129,8 @@ AliMUONClusterFinderMLEM::Prepare(Int_t detElemId, fEventNumber = runLoader ? runLoader->GetEventNumber() : 0; fClusterNumber = -1; fClusterList.Delete(); - + fPixArray->Delete(); + AliDebug(3,Form("EVT %d DE %d",fEventNumber,fDetElemId)); if ( fPreClusterFinder->NeedSegmentation() ) @@ -147,7 +148,7 @@ AliMUONCluster* AliMUONClusterFinderMLEM::NextCluster() { /// Return next cluster -// AliCodeTimerAuto("",) +// AliCodeTimerAuto("",0) // if the list of clusters is not void, pick one from there TObject* o = fClusterList.At(++fClusterNumber); @@ -162,6 +163,7 @@ AliMUONClusterFinderMLEM::NextCluster() fPreCluster = fPreClusterFinder->NextCluster(); + fPixArray->Delete(); fClusterList.Delete(); // reset the list of clusters for this pre-cluster fClusterNumber = -1; //AZ @@ -196,7 +198,7 @@ AliMUONClusterFinderMLEM::WorkOnPreCluster() /// Starting from a precluster, builds a pixel array, and then /// extract clusters from this array - // AliCodeTimerAuto("",) + // AliCodeTimerAuto("",0) if (fDebug) { cout << " *** Event # " << fEventNumber @@ -293,7 +295,7 @@ AliMUONClusterFinderMLEM::CheckPrecluster(const AliMUONCluster& origCluster) /// Check precluster in order to attempt to simplify it (mostly for /// two-cathode preclusters) - AliCodeTimerAuto("",) + AliCodeTimerAuto("",0) // Disregard small clusters (leftovers from splitting or noise) if ((origCluster.Multiplicity()==1 || origCluster.Multiplicity()==2) && @@ -807,7 +809,7 @@ Bool_t AliMUONClusterFinderMLEM::MainLoop(AliMUONCluster& cluster, Int_t iSimple { /// Repeat MLEM algorithm until pixel size becomes sufficiently small - // AliCodeTimerAuto("",) + // AliCodeTimerAuto("",0) Int_t nPix = fPixArray->GetLast()+1;