]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Increased size of NanoAOD header
authormfloris <michele.floris@cern.ch>
Mon, 17 Mar 2014 10:08:45 +0000 (11:08 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 27 Mar 2014 15:25:07 +0000 (16:25 +0100)
needed for the ESE tests (we store 3 variables in the header)

PWG/DevNanoAOD/AliNanoAODReplicator.cxx
PWG/DevNanoAOD/runLocalESE.C

index 15838fbefed960bab7ceef10a6b36cd8b631bf6e..950f251cbe597649cc981b746e3728dffc264c7d 100644 (file)
@@ -409,7 +409,7 @@ TList* AliNanoAODReplicator::GetList() const
       fTracks->SetName("tracks"); // TODO: consider the possibility to use a different name to distinguish in AliAODEvent
       fList->Add(fTracks);    
 
-      fHeader = new AliNanoAODHeader(2);// TODO: to be customized
+      fHeader = new AliNanoAODHeader(3);// TODO: to be customized
       fHeader->SetName("header"); // TODO: consider the possibility to use a different name to distinguish in AliAODEvent
       fList->Add(fHeader);    
 
index d7ef86d496846cbd142ab9f6919f3f8126a3d1f2..f6ea23c699367dace4f12f152e74bbbf5792e2cb 100644 (file)
@@ -88,14 +88,15 @@ void runLocalESE(
   gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPIDResponse.C");
   AliAnalysisTaskPIDResponse *taskPID=AddTaskPIDResponse(iMCtruth);
   taskPID->SetUseTPCEtaCorrection(kTRUE); 
-
+  taskPID->SetUserDataRecoPass(2);
   // create task
   cout << "Macro: "<< addTaskString << " " << Form(addTaskString, iMCtruth) << endl;
 
   AliAnalysisTaskNanoAODFilter * task = (AliAnalysisTaskNanoAODFilter*) gROOT->ProcessLine(Form(addTaskString, iMCtruth));
 
   // Set Track event and vertex cuts here!
-  task->SetVarList("pt,theta,phi,cstNSigmaTPCPi,cstNSigmaTPCKa,cstNSigmaTPCPr,cstNSigmaTOFPi,cstNSigmaTOFKa,cstNSigmaTOFPr,cstBayesTPCPi,cstBayesTPCKa,cstBayesTPCPr,cstBayesTOFPi,cstBayesTOFKa,cstBayesTOFPr");
+  //  task->SetVarList("pt,theta,phi,cstNSigmaTPCPi,cstNSigmaTPCKa,cstNSigmaTPCPr,cstNSigmaTOFPi,cstNSigmaTOFKa,cstNSigmaTOFPr,cstBayesTPCPi,cstBayesTPCKa,cstBayesTPCPr,cstBayesTOFPi,cstBayesTOFKa,cstBayesTOFPr");
+  task->SetVarList("pt,theta,phi,cstNSigmaTPCPi,cstNSigmaTPCKa,cstNSigmaTPCPr,cstNSigmaTOFPi,cstNSigmaTOFKa,cstNSigmaTOFPr");
   task->SetVarListHead("cstCentr,cstQVec");
   AliESETrkCut * trkCuts = TrkCuts();
   AliESEEvtCut * evtCuts = EvtCuts(iMCtruth);