]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGUD/selectors/trigger/runGenTriggerMapSelector.C
Split: removed dirs now in AliPhysics
[u/mrichter/AliRoot.git] / PWGUD / selectors / trigger / runGenTriggerMapSelector.C
diff --git a/PWGUD/selectors/trigger/runGenTriggerMapSelector.C b/PWGUD/selectors/trigger/runGenTriggerMapSelector.C
deleted file mode 100644 (file)
index 34a2ca6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/* $Id$ */
-
-//
-// Script to run the AliGenTriggerMapSelector
-//
-
-#include "../CreateESDChain.C"
-#include "../PWG0Helper.C"
-
-void runGenTriggerMapSelector(Char_t* data, Int_t nRuns=20, Int_t offset=0, Bool_t aDebug = kFALSE, Bool_t aProof = kFALSE, const char* option = "", const char* proofServer = "lxb6046")
-{
-  if (aProof)
-    connectProof(proofServer);
-
-  TString libraries("libPWG0base");
-  TString packages("PWG0base");
-
-  if (!prepareQuery(libraries, packages, 1))
-    return;
-
-  if (aProof)
-    ProofAddAliRootIncludePath(1, "ITS");
-
-  TChain* chain = CreateESDChain(data, nRuns, offset);
-
-  TList inputList;
-
-  TString selectorName = "AliGenTriggerMapSelector";
-  AliLog::SetClassDebugLevel(selectorName, AliLog::kInfo);
-
-  selectorName += ".cxx+";
-
-  if (aDebug != kFALSE)
-    selectorName += "+g";
-
-  executeQuery(chain, &inputList, selectorName, option);
-}
-
-void generateTriggerMap(Bool_t clean = kFALSE)
-{
-  gSystem->Load("libPWG0base");
-  gROOT->ProcessLine(".L AliGenTriggerMapSelector.cxx+");
-  AliGenTriggerMapSelector selector;
-  selector.ReadHistograms();
-  selector.GenerateTriggerMap(clean);
-}