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 15838fb..950f251 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 d7ef86d..f6ea23c 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);