create general emcal task lib
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 Aug 2012 21:12:46 +0000 (21:12 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 5 Aug 2012 21:12:46 +0000 (21:12 +0000)
54 files changed:
PWG/CMakelibPWGEMCAL.pkg [new file with mode: 0644]
PWG/EMCAL/AliAnalysisTaskEMCALClusterizeFast.cxx [moved from PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterizeFast.cxx with 100% similarity]
PWG/EMCAL/AliAnalysisTaskEMCALClusterizeFast.h [moved from PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterizeFast.h with 100% similarity]
PWG/EMCAL/AliAnalysisTaskEmcal.cxx [moved from PWGGA/EMCALTasks/AliAnalysisTaskEmcal.cxx with 100% similarity]
PWG/EMCAL/AliAnalysisTaskEmcal.h [moved from PWGGA/EMCALTasks/AliAnalysisTaskEmcal.h with 100% similarity]
PWG/EMCAL/AliEmcalClusTrackMatcherTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalClusTrackMatcherTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalClusTrackMatcherTask.h [moved from PWGGA/EMCALTasks/AliEmcalClusTrackMatcherTask.h with 100% similarity]
PWG/EMCAL/AliEmcalCompatTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalCompatTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalCompatTask.h [moved from PWGGA/EMCALTasks/AliEmcalCompatTask.h with 100% similarity]
PWG/EMCAL/AliEmcalEsdTpcTrackTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalEsdTpcTrackTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalEsdTpcTrackTask.h [moved from PWGGA/EMCALTasks/AliEmcalEsdTpcTrackTask.h with 100% similarity]
PWG/EMCAL/AliEmcalMCTrackSelector.cxx [moved from PWGGA/EMCALTasks/AliEmcalMCTrackSelector.cxx with 100% similarity]
PWG/EMCAL/AliEmcalMCTrackSelector.h [moved from PWGGA/EMCALTasks/AliEmcalMCTrackSelector.h with 100% similarity]
PWG/EMCAL/AliEmcalParticle.cxx [moved from PWGGA/EMCALTasks/AliEmcalParticle.cxx with 100% similarity]
PWG/EMCAL/AliEmcalParticle.h [moved from PWGGA/EMCALTasks/AliEmcalParticle.h with 100% similarity]
PWG/EMCAL/AliEmcalParticleMaker.cxx [moved from PWGGA/EMCALTasks/AliEmcalParticleMaker.cxx with 100% similarity]
PWG/EMCAL/AliEmcalParticleMaker.h [moved from PWGGA/EMCALTasks/AliEmcalParticleMaker.h with 100% similarity]
PWG/EMCAL/AliEmcalPhysicsSelection.cxx [moved from PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx with 100% similarity]
PWG/EMCAL/AliEmcalPhysicsSelection.h [moved from PWGGA/EMCALTasks/AliEmcalPhysicsSelection.h with 100% similarity]
PWG/EMCAL/AliEmcalPhysicsSelectionTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalPhysicsSelectionTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalPhysicsSelectionTask.h [moved from PWGGA/EMCALTasks/AliEmcalPhysicsSelectionTask.h with 100% similarity]
PWG/EMCAL/AliEmcalPicoTrackMaker.cxx [moved from PWGGA/EMCALTasks/AliEmcalPicoTrackMaker.cxx with 100% similarity]
PWG/EMCAL/AliEmcalPicoTrackMaker.h [moved from PWGGA/EMCALTasks/AliEmcalPicoTrackMaker.h with 100% similarity]
PWG/EMCAL/AliEmcalSetupTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalSetupTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalSetupTask.h [moved from PWGGA/EMCALTasks/AliEmcalSetupTask.h with 100% similarity]
PWG/EMCAL/AliEmcalTenderTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalTenderTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalTenderTask.h [moved from PWGGA/EMCALTasks/AliEmcalTenderTask.h with 100% similarity]
PWG/EMCAL/AliEmcalTrackPropagatorTask.cxx [moved from PWGGA/EMCALTasks/AliEmcalTrackPropagatorTask.cxx with 100% similarity]
PWG/EMCAL/AliEmcalTrackPropagatorTask.h [moved from PWGGA/EMCALTasks/AliEmcalTrackPropagatorTask.h with 100% similarity]
PWG/EMCAL/AliEsdSkimTask.cxx [moved from PWGGA/EMCALTasks/AliEsdSkimTask.cxx with 100% similarity]
PWG/EMCAL/AliEsdSkimTask.h [moved from PWGGA/EMCALTasks/AliEsdSkimTask.h with 100% similarity]
PWG/EMCAL/AliEsdTrackExt.cxx [moved from PWGGA/EMCALTasks/AliEsdTrackExt.cxx with 100% similarity]
PWG/EMCAL/AliEsdTrackExt.h [moved from PWGGA/EMCALTasks/AliEsdTrackExt.h with 100% similarity]
PWG/EMCAL/AliPicoTrack.cxx [moved from PWGGA/EMCALTasks/AliPicoTrack.cxx with 100% similarity]
PWG/EMCAL/AliPicoTrack.h [moved from PWGGA/EMCALTasks/AliPicoTrack.h with 100% similarity]
PWG/EMCAL/macros/AddTaskClusterizerFW.C [moved from PWGGA/EMCALTasks/macros/AddTaskClusterizerFW.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEMCALTender.C [moved from PWGGA/EMCALTasks/macros/AddTaskEMCALTender.C with 95% similarity]
PWG/EMCAL/macros/AddTaskEmcalAodTender.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalAodTender.C with 92% similarity]
PWG/EMCAL/macros/AddTaskEmcalClusTrackMatcher.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalClusTrackMatcher.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalCompat.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalCompat.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalEsdTpcTrack.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalEsdTpcTrack.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalParticleMaker.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalParticleMaker.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalPhysicsSelection.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalPhysicsSelection.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalPicoTrackMaker.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalPicoTrackMaker.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalSetup.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalSetup.C with 100% similarity]
PWG/EMCAL/macros/AddTaskEmcalTrackPropagator.C [moved from PWGGA/EMCALTasks/macros/AddTaskEmcalTrackPropagator.C with 100% similarity]
PWG/EMCAL/macros/AddTaskMCTrackSelector.C [moved from PWGGA/EMCALTasks/macros/AddTaskMCTrackSelector.C with 100% similarity]
PWG/EMCAL/macros/ConfigEmcalTenderSupply.C [moved from PWGGA/EMCALTasks/macros/ConfigEmcalTenderSupply.C with 100% similarity]
PWG/EMCAL/macros/CreateAODChain.C [moved from PWGGA/EMCALTasks/macros/CreateAODChain.C with 100% similarity]
PWG/EMCAL/macros/CreateESDChain.C [moved from PWGGA/EMCALTasks/macros/CreateESDChain.C with 100% similarity]
PWG/Glauber/AliGlauberNucleus.cxx
PWG/PWGEMCALLinkDef.h [new file with mode: 0644]
PWGGA/CMakelibPWGGAEMCALTasks.pkg
PWGGA/PWGGAEMCALTasksLinkDef.h

diff --git a/PWG/CMakelibPWGEMCAL.pkg b/PWG/CMakelibPWGEMCAL.pkg
new file mode 100644 (file)
index 0000000..2164e27
--- /dev/null
@@ -0,0 +1,55 @@
+# -*- mode: CMake -*-
+#--------------------------------------------------------------------------------#
+# Package File for PWGmuon                                                      #
+# Author : Johny Jose (johny.jose@cern.ch)                                       #
+# Variables Defined :                                                            #
+#                                                                                #
+# SRCS - C++ source files                                                        #
+# HDRS - C++ header files                                                        #
+# DHDR - ROOT Dictionary Linkdef header file                                     #
+# CSRCS - C source files                                                         #
+# CHDRS - C header files                                                         #
+# EINCLUDE - Include directories                                                 #
+# EDEFINE - Compiler definitions                                                 #
+# ELIBS - Extra libraries to link                                                #
+# ELIBSDIR - Extra library directories                                           #
+# PACKFFLAGS - Fortran compiler flags for package                                #
+# PACKCXXFLAGS - C++ compiler flags for package                                  #
+# PACKCFLAGS - C compiler flags for package                                      #
+# PACKSOFLAGS - Shared library linking flags                                     #
+# PACKLDFLAGS - Module linker flags                                              #
+# PACKBLIBS - Libraries to link (Executables only)                               #
+# EXPORT - Header files to be exported                                           #
+# CINTHDRS - Dictionary header files                                             #
+# CINTAUTOLINK - Set automatic dictionary generation                             #
+# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
+# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
+#--------------------------------------------------------------------------------#
+
+set ( SRCS 
+ EMCAL/AliAnalysisTaskEMCALClusterizeFast.cxx
+ EMCAL/AliAnalysisTaskEmcal.cxx
+ EMCAL/AliEmcalClusTrackMatcherTask.cxx
+ EMCAL/AliEmcalCompatTask.cxx
+ EMCAL/AliEmcalEsdTpcTrackTask.cxx
+ EMCAL/AliEmcalMCTrackSelector.cxx
+ EMCAL/AliEmcalParticle.cxx
+ EMCAL/AliEmcalParticleMaker.cxx
+ EMCAL/AliEmcalPhysicsSelection.cxx
+ EMCAL/AliEmcalPhysicsSelectionTask.cxx
+ EMCAL/AliEmcalPicoTrackMaker.cxx
+ EMCAL/AliEmcalSetupTask.cxx
+ EMCAL/AliEmcalTenderTask.cxx
+ EMCAL/AliEmcalTrackPropagatorTask.cxx
+ EMCAL/AliEsdSkimTask.cxx
+ EMCAL/AliEsdTrackExt.cxx
+ EMCAL/AliPicoTrack.cxx
+)
+
+string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
+
+string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
+
+set ( DHDR  PWGEMCALLinkDef.h)
+
+set ( EINCLUDE PWGGA/EMCAL EMCAL OADB STEER/ESD STEER/STEERBase ANALYSIS)
similarity index 95%
rename from PWGGA/EMCALTasks/macros/AddTaskEMCALTender.C
rename to PWG/EMCAL/macros/AddTaskEMCALTender.C
index efb8cb5..0bc27ce 100644 (file)
@@ -18,7 +18,7 @@ AliAnalysisTaskSE *AddTaskEMCALTender()
   AliAnalysisTaskSE *ana = 0;
   AliEMCALTenderSupply *EMCALSupply = 0;
 
-  gROOT->LoadMacro("$ALICE_ROOT/PWGGA/EMCALTasks/macros/ConfigEmcalTenderSupply.C");
+  gROOT->LoadMacro("$ALICE_ROOT/PWG/EMCAL/macros/ConfigEmcalTenderSupply.C");
 
   if (evhand->InheritsFrom("AliESDInputHandler")) {
     EMCALSupply = ConfigEmcalTenderSupply(kTRUE);
similarity index 92%
rename from PWGGA/EMCALTasks/macros/AddTaskEmcalAodTender.C
rename to PWG/EMCAL/macros/AddTaskEmcalAodTender.C
index 917a898..b28ec85 100644 (file)
@@ -18,7 +18,7 @@ AliEmcalTenderTask *AddTaskEmcalAodTender()
 
   mgr->AddTask(ana);
 
-  gROOT->LoadMacro("$ALICE_ROOT/PWGGA/EMCALTasks/macros/ConfigEmcalTenderSupply.C");
+  gROOT->LoadMacro("$ALICE_ROOT/PWG/EMCAL/macros/ConfigEmcalTenderSupply.C");
   AliEMCALTenderSupply *EMCALSupply = ConfigEmcalTenderSupply(kFALSE);
 
   ana->SetEMCALTenderSupply(EMCALSupply);
index 8723133..ddd73c1 100644 (file)
@@ -138,6 +138,7 @@ void AliGlauberNucleus::Lookup(Option_t* name)
    else if (TString(name) == "W")    {fN = 186; fR = 6.58;  fA = 0.480;  fW =  0;      fF = 1;}
    else if (TString(name) == "Au")   {fN = 197; fR = 6.38;  fA = 0.535;  fW =  0;      fF = 1;}
    else if (TString(name) == "Pb")   {fN = 208; fR = 6.62;  fA = 0.546;  fW =  0;      fF = 1;}
+//   else if (TString(name) == "Pb")   {fN = 208; fR = 6.62;  fA = 0.546;  fW =  0;      fF = 1;}
    else if (TString(name) == "U")    {fN = 238; fR = 6.81;  fA = 0.6;    fW =  0;      fF = 1;}
    else {
       cout << "Could not find nucleus " << name << endl;
diff --git a/PWG/PWGEMCALLinkDef.h b/PWG/PWGEMCALLinkDef.h
new file mode 100644 (file)
index 0000000..a92eb01
--- /dev/null
@@ -0,0 +1,26 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class AliAnalysisTaskEMCALClusterizeFast+;
+#pragma link C++ class AliAnalysisTaskEmcal+;
+#pragma link C++ class AliEmcalClusTrackMatcherTask+;
+#pragma link C++ class AliEmcalCompatTask+;
+#pragma link C++ class AliEmcalEsdTpcTrackTask+;
+#pragma link C++ class AliEmcalMCTrackSelector+;
+#pragma link C++ class AliEmcalParticle+;
+#pragma link C++ class AliEmcalParticleMaker+;
+#pragma link C++ class AliEmcalPhysicsSelection+;
+#pragma link C++ class AliEmcalPhysicsSelectionTask+;
+#pragma link C++ class AliEmcalPicoTrackMaker+;
+#pragma link C++ class AliEmcalSetupTask+;
+#pragma link C++ class AliEmcalTenderTask+;
+#pragma link C++ class AliEmcalTrackPropagatorTask+;
+#pragma link C++ class AliEsdSkimTask+;
+#pragma link C++ class AliEsdTrackExt+;
+#pragma link C++ class AliPicoTrack+;
+
+#endif
+
index 3d3b726..a1cb72a 100644 (file)
 
 set ( SRCS 
  EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx 
- EMCALTasks/AliAnalysisTaskEMCALClusterizeFast.cxx
  EMCALTasks/AliAnalysisTaskEMCALIsoPhoton.cxx
  EMCALTasks/AliAnalysisTaskEMCALPhoton.cxx
  EMCALTasks/AliAnalysisTaskEMCALPi0CalibSelection.cxx 
  EMCALTasks/AliAnalysisTaskEMCALPi0PbPb.cxx
  EMCALTasks/AliAnalysisTaskEMCALTriggerQA.cxx
  EMCALTasks/AliAnalysisTaskESDfilterEMCALEventSelect.cxx
- EMCALTasks/AliAnalysisTaskEmcal.cxx
  EMCALTasks/AliAnalysisTaskPi0V2.cxx
  EMCALTasks/AliAnalysisTaskSATR.cxx
  EMCALTasks/AliAnalysisTaskTrgContam.cxx
- EMCALTasks/AliEmcalClusTrackMatcherTask.cxx
- EMCALTasks/AliEmcalCompatTask.cxx
- EMCALTasks/AliEmcalEsdTpcTrackTask.cxx
- EMCALTasks/AliEmcalMCTrackSelector.cxx
- EMCALTasks/AliEmcalParticle.cxx
- EMCALTasks/AliEmcalParticleMaker.cxx
- EMCALTasks/AliEmcalPhysicsSelection.cxx
- EMCALTasks/AliEmcalPhysicsSelectionTask.cxx
- EMCALTasks/AliEmcalPicoTrackMaker.cxx
- EMCALTasks/AliEmcalSetupTask.cxx
- EMCALTasks/AliEmcalTenderTask.cxx
- EMCALTasks/AliEmcalTrackPropagatorTask.cxx
- EMCALTasks/AliEsdSkimTask.cxx
- EMCALTasks/AliEsdTrackExt.cxx
- EMCALTasks/AliPicoTrack.cxx
  EMCALTasks/AliStaObjects.cxx
  EMCALTasks/AliCaloTrackParticle.cxx
  EMCALTasks/AliAnalysisTaskEMCALCaloTrackCorr.cxx
@@ -64,4 +47,4 @@ set ( DHDR  PWGGAEMCALTasksLinkDef.h)
 
 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
 
-set ( EINCLUDE PWGGA/EMCALTasks EMCAL OADB STEER/ESD STEER/STEERBase ANALYSIS)
+set ( EINCLUDE PWGGA/EMCALTasks PWG/EMCAL EMCAL OADB STEER/ESD STEER/STEERBase ANALYSIS)
index 07480cf..d4ed69b 100644 (file)
@@ -7,38 +7,21 @@
 #pragma link off all functions;
 
 #pragma link C++ class AliAnalysisTaskEMCALClusterize+;
-#pragma link C++ class AliAnalysisTaskEMCALClusterizeFast+;
 #pragma link C++ class AliAnalysisTaskEMCALIsoPhoton+;
 #pragma link C++ class AliAnalysisTaskEMCALPhoton+;
 #pragma link C++ class AliAnalysisTaskEMCALPi0CalibSelection+;
 #pragma link C++ class AliAnalysisTaskEMCALPi0PbPb+;
 #pragma link C++ class AliAnalysisTaskEMCALTriggerQA+;
 #pragma link C++ class AliAnalysisTaskESDfilterEMCALEventSelect+;
-#pragma link C++ class AliAnalysisTaskEmcal+;
 #pragma link C++ class AliAnalysisTaskPi0V2+;
 #pragma link C++ class AliAnalysisTaskSATR+;
 #pragma link C++ class AliAnalysisTaskTrgContam+;
-#pragma link C++ class AliEmcalClusTrackMatcherTask+;
-#pragma link C++ class AliEmcalCompatTask+;
-#pragma link C++ class AliEmcalEsdTpcTrackTask+;
-#pragma link C++ class AliEmcalMCTrackSelector+;
-#pragma link C++ class AliEmcalParticle+;
-#pragma link C++ class AliEmcalParticleMaker+;
-#pragma link C++ class AliEmcalPhysicsSelection+;
-#pragma link C++ class AliEmcalPhysicsSelectionTask+;
-#pragma link C++ class AliEmcalPicoTrackMaker+;
-#pragma link C++ class AliEmcalSetupTask+;
-#pragma link C++ class AliEmcalTenderTask+;
-#pragma link C++ class AliEmcalTrackPropagatorTask+;
-#pragma link C++ class AliEsdSkimTask+;
-#pragma link C++ class AliEsdTrackExt+;
 #pragma link C++ class AliPhotonCellObj+;
 #pragma link C++ class AliPhotonClusterObj+;
 #pragma link C++ class AliPhotonConvObj+;
 #pragma link C++ class AliPhotonHeaderObj+;
 #pragma link C++ class AliPhotonMcPartObj+;
 #pragma link C++ class AliPhotonTrackObj+;
-#pragma link C++ class AliPicoTrack+;
 #pragma link C++ class AliStaCluster+;
 #pragma link C++ class AliStaHeader+;
 #pragma link C++ class AliStaPart+;