]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/macros/compilePWG2
removed warnings, changed the TSelector.
[u/mrichter/AliRoot.git] / PWG2 / FLOW / macros / compilePWG2
1
2 #!/bin/sh
3
4 echo " "
5 echo " *** Compiling Flow (test) *** "
6 echo " "
7
8 echo " Current Enviroment : "
9 echo " "
10 echo "  AliRoot : " $ALICE_ROOT
11 echo "  Geant3  : " $GEANT
12 echo "  Root    : " $ROOTSYS
13 echo " "
14
15 export ALIFLOW=`pwd`
16
17 rm *.so 
18
19 rootcint -f AliFlowTrack_root.cxx -c  -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowTrack.h
20 rootcint -f AliFlowV0_root.cxx -c  -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowV0.h
21 rootcint -f AliFlowSelection_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowSelection.h
22 rootcint -f AliFlowEvent_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowEvent.h
23 rootcint -f AliFlowConstants_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowConstants.h
24 rootcint -f AliFlowMaker_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowMaker.h 
25 rootcint -f AliFlowAnalyser_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowAnalyser.h
26 rootcint -f AliFlowWeighter_root.cxx -c -I$ALICE_ROOT/include -I$ROOTSYS/include AliFlowWeighter.h
27
28 echo "                                                           code CINTed"
29
30 echo ""
31 #g++ -Wall -shared -I$ROOTSYS/include -o AliFlow_Pure.so AliFlowTrack*.cxx AliFlowV0*.cxx AliFlowSelection*.cxx AliFlowEvent*.cxx AliFlowConstants*.cxx 
32 #echo "                         <ALIFLOW_PURE.SO>          for ROOT compiled"
33 #g++ -Wall -shared -g -I$ALICE_ROOT/include -I$ROOTSYS/include -o AliFlow_Mak.so AliFlowTrack*.cxx AliFlowV0*.cxx AliFlowSelection*.cxx AliFlowEvent*.cxx AliFlowMaker*.cxx AliFlowConstants*.cxx 
34 #echo "                         <ALIFLOW_MAK.SO>        for AliROOT compiled"
35 #g++ -Wall -shared -g -I$ROOTSYS/include -o AliFlow_Ana.so AliFlowTrack*.cxx AliFlowV0*.cxx AliFlowSelection*.cxx AliFlowEvent*.cxx AliFlowAnalyser*.cxx AliFlowWeighter*.cxx AliFlowConstants*.cxx 
36 #echo "                         <ALIFLOW_ANA.SO>           for ROOT compiled"
37 g++ -Wall -shared -g -I$ALICE_ROOT/include -I$ROOTSYS/include -o AliFlow_All.so AliFlowTrack*.cxx AliFlowV0*.cxx AliFlowSelection*.cxx AliFlowEvent*.cxx AliFlowMaker*.cxx AliFlowAnalyser*.cxx AliFlowWeighter*.cxx AliFlowConstants*.cxx 
38 echo "                          <ALIFLOW_ALL.SO>        for AliROOT compiled"
39
40 rm AliFlowTrack_root.*
41 rm AliFlowV0_root.*           
42 rm AliFlowSelection_root.*  
43 rm AliFlowEvent_root.*      
44 rm AliFlowConstants_root.* 
45 rm AliFlowMaker_root.*     
46 rm AliFlowAnalyser_root.* 
47 rm AliFlowWeighter_root.* 
48
49 echo ""
50 echo ""
51 echo "                                                                     done."
52