Correct assignment of clusters to the catgeory ALL, which was in fact wrongly filled...
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Aug 2011 12:39:41 +0000 (12:39 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Aug 2011 12:39:41 +0000 (12:39 +0000)
MUON/AliMUONQAMappingCheck.cxx

index 78c6696..c55322f 100644 (file)
@@ -113,11 +113,10 @@ void AliMUONQAMappingCheck::AddClusterLocation(Int_t detElemId,
       p = new AliMUONCalibParamND(4,AliMpConstants::ManuNofChannels(),detElemId,manuId,0.0);
       fStore->Add(p);
     }
-    if ( !monoCathode) 
-    {
-      p->SetValueAsDouble(manuChannel,0,p->ValueAsDouble(manuChannel,0)+1.0);
-    }
-    else 
+
+    p->SetValueAsDouble(manuChannel,0,p->ValueAsDouble(manuChannel,0)+1.0);
+    
+    if ( monoCathode )
     {
       p->SetValueAsDouble(manuChannel,1,p->ValueAsDouble(manuChannel,1)+1.0); 
       if (!legitimateMonoCathode)