Try remove macro
authorsma <sma@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 16:00:08 +0000 (16:00 +0000)
committersma <sma@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 16:00:08 +0000 (16:00 +0000)
PWG3/hfe/macros/ConfigHFEhm.C [deleted file]

diff --git a/PWG3/hfe/macros/ConfigHFEhm.C b/PWG3/hfe/macros/ConfigHFEhm.C
deleted file mode 100644 (file)
index f44acec..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-AliAnalysisTaskHFE *ConfigHFEhm(Bool_t useMC){
-  //
-  // HFE standard task configuration
-  //
-
-  AliHFEcuts *hfecuts = new AliHFEcuts("hfeCutsHM","HFE cuts for High Multiplicity studies");
-  hfecuts->CreateStandardCuts();
-  hfecuts->SetMinNClustersTPC(110);
-  hfecuts->SetCutITSpixel(AliHFEextraCuts::kFirst);
-  hfecuts->SetCheckITSLayerStatus(kFALSE);
-  hfecuts->SetSigmaToVertex(10);
-  hfecuts->SetQAOn();
-  //hfecuts->SetMinNTrackletsTRD(5);
-
-  AliAnalysisTaskHFE *task = new AliAnalysisTaskHFE("HFEanalysisHM");
-  task->SetHFECuts(hfecuts);
-
-  // Define Variables
-  AliHFEvarManager *vm = task->GetVarManager();
-  vm->AddVariable("pt");
-  vm->AddVariable("eta");
-  vm->AddVariable("phi");
-  vm->AddVariable("charge");
-  vm->AddVariable("source");
-
-  if(!useMC){
-    TF1 *hBackground = new TF1("hadronicBackgroundFunction", "[0]+[1]*TMath::Erf([2]*x+[3])", 0, 20);
-    hBackground->SetParameter(0, 0.1249);
-    hBackground->SetParameter(1, 0.1239);
-    hBackground->SetParameter(2, 0.8156);
-    hBackground->SetParameter(3, -2.867);
-    task->SetBackGroundFactorsFunction(hBackground);
-  }
-
-  // Define PID
-  AliHFEpid *pid = task->GetPID();
-  pid->AddDetector("TOF", 0);
-  pid->AddDetector("TPC", 1);
-  pid->ConfigureTPCrejection();
-
-  // QA
-  task->SetQAOn(AliAnalysisTaskHFE::kPIDqa);
-  task->SetQAOn(AliAnalysisTaskHFE::kMCqa);    
-  task->SwitchOnPlugin(AliAnalysisTaskHFE::kIsElecBackGround);
-  task->SwitchOnPlugin(AliAnalysisTaskHFE::kSecVtx);
-
-  printf("*************************************\n");
-  printf("Configuring high multiplicity Task:\n");
-  task->Print();
-  pid->PrintStatus();
-  printf("*************************************\n");
-  return task;
-}