-
Notifications
You must be signed in to change notification settings - Fork 2
/
loadXephyr.C
19 lines (17 loc) · 1.01 KB
/
loadXephyr.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "TROOT.h" // So it can be loaded from macros
int loadXephyr(){
TString xeDir(gSystem->Getenv("XEPHYR_DIR"));
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/XeVersion.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/XeUtils.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/XeStat.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/dataHandler.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/XePdfObjects.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/XeLikelihoods.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/AsymptoticExclusion.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/ToyGenerator.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/plotHelpers.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/likelihoodHelpers.cxx+g");
gROOT->ProcessLine(".L " + xeDir +"/Xephyr/src/ToyFitterExclusion.cxx+g");
gInterpreter->AddIncludePath( xeDir +"/Xephyr/src"); // in this case is just XEPHYR src from next dir.
return 0;
}