Further changes, typo corrections in Dhc (Tim Schuster <Tim.Schuster@cern.ch>)
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Jan 2013 13:45:18 +0000 (13:45 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Jan 2013 13:45:18 +0000 (13:45 +0000)
PWGCF/Correlations/DPhi/FourierDecomposition/AddTaskDhc.C
PWGCF/Correlations/DPhi/FourierDecomposition/AddTaskMuonEffMC.C
PWGCF/Correlations/DPhi/FourierDecomposition/AliDhcTask.cxx
PWGCF/Correlations/DPhi/FourierDecomposition/AliMuonEffMC.cxx

index 752831a771b1a5063a8cf0ed2f4f30c809dbd2b2..e940897c5b5ffa00c2147872729d06d5ac994e79 100644 (file)
@@ -83,7 +83,7 @@ AliDhcTask *AddTaskDhc(Int_t iAna = 1, TString chTaskFile = "alien:///alice/cern
     dhcTask->SetCentMixBins(axCentMix);
     dhcTask->SetZVtxMixBins(axZvtxMix);
     dhcTask->SelectCollisionCandidates(AliVEvent::kINT7);
-    dhcTask->SetVerbosity(10);
+    dhcTask->SetVerbosity(0);
     mgr->AddTask(dhcTask);
     
     AliAnalysisDataContainer *co_Dhc = mgr->CreateContainer("Cont_tschuste_DhcAna",
index 2d5e49d4823fabf5d005183f47a0c2e4bdb7921a..f91fc7abd2f6bf73ddb5d8edd5a0271e28b41513 100644 (file)
@@ -1,5 +1,5 @@
 
-AliMuonEffMC* AddTaskMuonEFFMC(Bool_t MDProcess = kTRUE,
+AliMuonEffMC* AddTaskMuonEffMC(Bool_t MDProcess = kTRUE,
                               TString centralityEstimator = "V0M",
                               const Int_t NEtaBins = 15,
                               const Int_t NpTBins = 100,
index 9572d6c437def088156df64b0f5f5404a9637551..5d0d9bbce2a33fd5e319554dd5db1a14952903af 100644 (file)
@@ -383,7 +383,8 @@ void AliDhcTask::UserExec(Option_t *)
   // Fill Event histogram
   fHEvt->Fill(fZVertex, fCentrality);
   if (fCentrality > fBCent->GetXmax() || fCentrality < fBCent->GetXmin()) {
-    AliInfo(Form("Event REJECTED (centrality out of range). fCentrality = %.1f", fCentrality));
+    if (fVerbosity > 1)
+      AliInfo(Form("Event REJECTED (centrality out of range). fCentrality = %.1f", fCentrality));
     return;
   }
 
index f5b04a6145501509effc494ab1893326f5d62f33..9636648dd69a3b43457c1204cc6fede4e751e22e 100644 (file)
@@ -80,6 +80,7 @@ AliMuonEffMC::AliMuonEffMC(const char *name) :
 AliMuonEffMC::~AliMuonEffMC()
 {
   //Destructor
+  if(fOutputList) delete fOutputList;
 }
 
 //________________________________________________________________________
@@ -241,14 +242,18 @@ void AliMuonEffMC::UserExec(Option_t *)
   // Fill Event histogram
   fHEvt->Fill(fZVertex, fCentrality);
 
+  Int_t iVerb = 0;
+
    // Centrality, vertex, other event variables...
   if (!VertexOk(fESD)) { 
-    AliInfo(Form("Event REJECTED. z = %.1f", fZVertex));  
+    if (iVerb>1)
+      AliInfo(Form("Event REJECTED. z = %.1f", fZVertex));  
     return; 
   }
 
   if (fCentrality > 100. || fCentrality < -1.5) { 
-    AliInfo(Form("Event REJECTED. fCentrality = %.1f", fCentrality)); 
+    if (iVerb>1)
+      AliInfo(Form("Event REJECTED. fCentrality = %.1f", fCentrality)); 
     return; 
   }