// check the versions available on alien with the command 'packages'
plugin->SetAPIVersion("V1.1x");
- plugin->SetROOTVersion("v5-27-06d");
- plugin->SetAliROOTVersion("v4-21-16-AN");
+ plugin->SetROOTVersion("v5-28-00a");
+ plugin->SetAliROOTVersion("v4-21-18-AN");
cout << "===========================================================================================" << endl;
cout << " " << endl;
plugin->SetGridOutputDir(gridOutputDir); // relative to working dir
plugin->SetOverwriteMode(); // overwrites the contents of the working and output directory
- Bool_t bTPC=kFALSE, bPHOS=kFALSE, bEMCAL=kFALSE, bITS=kFALSE, bGLOBAL=kFALSE, bD0=kFALSE, bCB=kFALSE;
+ Bool_t bTPC = kFALSE, bPHOS = kFALSE, bEMCAL = kFALSE, bGLOBAL = kFALSE, bD0 = kFALSE, bCB = kFALSE;
TString allArgs = detectorTask;
TString argument;
bEMCAL = kTRUE;
continue;
}
- if(argument.CompareTo("its", TString::kIgnoreCase)==0){
- bITS = kTRUE;
- continue;
- }
if(argument.CompareTo("global", TString::kIgnoreCase)==0){
bGLOBAL = kTRUE;
continue;
bCB = kTRUE;
continue;
}
- if(argument.CompareTo("all",TString::kIgnoreCase)==0){
- bTPC = kTRUE;
- bPHOS = kTRUE;
- bEMCAL = kTRUE;
- bITS = kTRUE;
- bGLOBAL = kTRUE;
- bD0 = kTRUE;
- bCB = kTRUE;
- continue;
- }
else break;
}
}
plugin->SetAdditionalLibs("AliAnalysisTaskHLTTPC.h AliAnalysisTaskHLTTPC.cxx");
plugin->SetOutputFiles("HLT-OFFLINE-TPC-comparison.root");
}
- if(bITS){
- plugin->SetAnalysisSource("AliAnalysisTaskHLTITS.cxx");
- plugin->SetAdditionalLibs("AliAnalysisTaskHLTITS.h AliAnalysisTaskHLTITS.cxx");
- plugin->SetOutputFiles("HLT-OFFLINE-ITS-comparison.root");
- }
if(bPHOS && bEMCAL) {
plugin->AddIncludePath("-I$ROOTSYS -I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT -I$ALICE_ROOT/RAW -I$ALICE_ROOT/STEER -I$ALICE_ROOT/PHOS -I$ALICE_ROOT/HLT/BASE -I$ALICE_ROOT/HLT/BASE/util -I$ALICE_ROOT/HLT/global/physics");
plugin->SetAnalysisSource("AliAnalysisTaskHLTCalo.cxx AliAnalysisTaskHLTPHOS.cxx AliAnalysisTaskHLTEMCAL.cxx");
plugin->SetOutputArchive("log_archive.zip:stdout,stderr");
// Optionally set a name for the generated analysis macro (default MyAnalysis.C)
- plugin->SetAnalysisMacro("runComparison.C");
- plugin->SetExecutable("comparison.sh");
+ plugin->SetAnalysisMacro(Form("%s.C",detectorTask));
+
+ //plugin->SetExecutable("comparison.sh");
+ plugin->SetExecutable(Form("%s.sh",detectorTask));
plugin->SetSplitMaxInputFileNumber(100);
plugin->SetInputFormat("xml-single");
// Optionally modify the name of the generated JDL (default analysis.jdl)
- plugin->SetJDLName("analysis.jdl");
+ plugin->SetJDLName(Form("%s.jdl",detectorTask));
// Optionally modify job price (default 1)
plugin->SetPrice(1);
// Optionally modify split mode (default 'se')
plugin->SetSplitMode("se");
+ // comment out the next line when using the "terminate" option, unless
+ // you want separate merged files for each run
+ //plugin->SetMergeViaJDL();
+
+ //plugin->SetOneStageMerging(kFALSE);
+ //plugin->SetMaxMergeStages(2);
+
return plugin;
}
* @author Hege.Erdal@student.uib.no, Kalliopi.Kanaki@ift.uib.no
*/
-void compare_HLT_offline_grid(TString runNumber,
- TString dataDir,
- TString gridWorkingDir,
- TString gridOutputDir,
- const char* mode = "full",
- const char* detectorTask="global",
- TString taskFolder="$ALICE_ROOT/HLT/QA/tasks/",
- TString beamType="p-p",
- bool fUseHLTTrigger=kFALSE,
- Long64_t nEvents=1234567890
+void compare_HLT_offline_grid( TString runNumber
+ ,TString dataDir
+ ,TString gridWorkingDir
+ ,TString gridOutputDir
+ ,const char* mode = "full"
+ ,const char* detectorTask="global"
+ ,TString taskFolder="$ALICE_ROOT/HLT/QA/tasks/"
+ ,TString beamType="p-p"
+ ,TString options="event-off event-hlt track-off track-hlt"
+ ,bool fUseHLTTrigger=kFALSE
+ ,Long64_t nEvents=1234567890
)
{
//gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C");
- Bool_t bAll=kFALSE, bTPC=kFALSE, bPHOS=kFALSE, bEMCAL=kFALSE, bITS=kFALSE, bGLOBAL=kFALSE, bD0=kFALSE, bCB=kFALSE;
+ Bool_t bTPC=kFALSE, bPHOS=kFALSE, bEMCAL=kFALSE, bGLOBAL=kFALSE, bD0=kFALSE, bCB=kFALSE;
TString allArgs = detectorTask;
TString argument;
bCB = kTRUE;
continue;
}
- if(argument.CompareTo("all",TString::kIgnoreCase)==0){
- bPHOS = kTRUE;
- bEMCAL = kTRUE;
- bGLOBAL = kTRUE;
- bAll = kTRUE;
- continue;
- }
else break;
}
}
if(beamType.Contains("Pb-Pb")){
gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskCentrality.C");
AliCentralitySelectionTask *taskCentrality = AddTaskCentrality();
- }
+ }
+ taskCB->SetOptions(options);
AliAnalysisDataContainer *coutputCB = mgr->CreateContainer("esd_thnsparse",TList::Class(), AliAnalysisManager::kOutputContainer, "HLT-OFFLINE-CentralBarrel-comparison.root");
mgr->ConnectInput(taskCB,0,mgr->GetCommonInputContainer());
mgr->ConnectOutput(taskCB,1,coutputCB);