]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 78c66961afe7b4e2fef3907c567bb8505695f917..c55322f4da5a2e6561dd424aa72e3fae506ca1bc 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)