]>
Commit | Line | Data |
---|---|---|
15492d66 | 1 | AliAnalysisTask *AddTaskHFEtpctofv2(Int_t tpcCls=110, Double_t tpcClsr=50, Int_t tpcClspid=60, Double_t tpcsharedfraction=95, Int_t itsCls=4, Double_t chi2peritscl=36, Int_t pixellayer=2, Double_t dcaxy=100,Double_t dcaz=200, Double_t tofsig=30., Double_t tpcdedx0=0.0, Double_t tpcdedx1=0.0, Double_t tpcdedx2=0.0, Double_t tpcdedx3=0.0, Double_t tpcdedx4=0.0, Int_t vzero=3, Int_t debuglevel=2){ |
2 | ||
3 | ||
4 | //set config file name | |
5 | TString configFile("$ALICE_ROOT/PWGHF/hfe/macros/configs/PbPb/ConfigHFE_FLOW_TOFTPC.C"); | |
6 | TString checkconfig="ConfigHFE_FLOW_TOFTPC"; | |
7 | if (!gROOT->GetListOfGlobalFunctions()->FindObject(checkconfig.Data())) | |
8 | gROOT->LoadMacro(configFile.Data()); | |
9 | ||
10 | AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager(); | |
11 | AliAnalysisDataContainer *cinput = mgr->GetCommonInputContainer(); | |
12 | AliAnalysisTaskHFEFlow *task = ConfigHFE_FLOW_TOFTPC(kFALSE, tpcCls, tpcClsr, tpcClspid, tpcsharedfraction, itsCls, chi2peritscl, pixellayer, dcaxy, dcaz,tofsig,tpcdedx0,tpcdedx1,tpcdedx2,tpcdedx3,tpcdedx4,vzero,debuglevel); | |
13 | ||
14 | task->SetNbBinsCentralityQCumulant(5); | |
15 | //task->SetBinCentralityLess(0,0.0); | |
16 | task->SetBinCentralityLess(0,0.0); | |
17 | task->SetBinCentralityLess(1,10.0); | |
18 | task->SetBinCentralityLess(2,20.0); | |
19 | task->SetBinCentralityLess(3,40.0); | |
20 | task->SetBinCentralityLess(4,50.0); | |
21 | task->SetBinCentralityLess(5,60.0); | |
22 | //task->SetBinCentralityLess(7,80.0); | |
23 | ||
24 | TString appendixx(TString::Format("TPC%dTPCr%dTPCpid%dTPCShared%dITScl%dChi2perITS%dPixelLayer%dDCAr%dz%dTOFsig%dTPCmindedx0%dTPCmindedx1%dTPCmindedx2%dTPCmindedx3%dTPCmindedx4%dVZERO%dDebugLevel%decorr%d",tpcCls,(Int_t)tpcClsr,tpcClspid,(Int_t) tpcsharedfraction,itsCls,(Int_t) chi2peritscl,(Int_t) pixellayer,(Int_t) dcaxy,(Int_t)dcaz,(Int_t) tofsig,(Int_t)tpcdedx0,(Int_t)tpcdedx1,(Int_t)tpcdedx2,(Int_t)tpcdedx3,(Int_t)tpcdedx4,vzero,debuglevel)); | |
25 | printf("appendixx %s\n", appendixx.Data()); | |
26 | ||
27 | task->SetHFEVZEROEventPlane(0x0); | |
28 | ||
29 | mgr->AddTask(task); | |
30 | ||
31 | TString containerName = mgr->GetCommonFileName(); | |
32 | containerName += ":"; | |
33 | containerName += appendixx.Data(); | |
34 | ||
35 | AliAnalysisDataContainer *cinput = mgr->GetCommonInputContainer(); | |
36 | mgr->ConnectOutput(task,1, mgr->CreateContainer(Form("bailhach_HFEv2EP_%s", appendixx.Data()), TList::Class(),AliAnalysisManager::kOutputContainer,containerName.Data())); | |
37 | mgr->ConnectInput(task,0, cinput ); | |
38 | ||
39 | ||
40 | } |