]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Restored dictionary generation for private sub-classes.
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 07:11:58 +0000 (07:11 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 07:11:58 +0000 (07:11 +0000)
The generation is conditional on the ROOT version used:
If it's less then 5.99 (ROOT6-alpha) then we do generate the
dictionaries.  If not, then the dictionaries are not generated.
Perhaps we need to make the sub-classes public for the up-coming
ROOT6 (May 2014 apparently) if needed for object persistency of
the parent classes.

Fixed up link of runTrain to take LDFLAGS into account.

PWGLF/CMakelibPWGLFforward2.pkg
PWGLF/PWGLFforward2LinkDef.h

index c2a754dc4074737999e63c796172fb16f8c2ea15..f8fd39f5fa931148e115f9d270ab8ba6dcad6d89 100644 (file)
@@ -149,6 +149,7 @@ set ( DHDR  PWGLFforward2LinkDef.h)
 
 add_executable(runTrain
   FORWARD/trains/trainMain.cxx)
+set(CMAKE_EXE_LINKER_FLAGS "${LDFLAGS}")
 target_link_libraries(runTrain 
   ${BINLIBDIRS} ${ARLIBS} ${SHLIBS} ${PBLIBS} ${EXEFLAGS} ${ROOTCLIBS} 
   -lSTEERBase -lESD -lAOD -lOADB -lANALYSIS -lANALYSISalice)
index 3f6f42b52226fd0d0db8900271a6f945979be6cf..9e6375a22de3e9af9ade7a7196b1a2f41dc211a8 100644 (file)
@@ -16,7 +16,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
  */
-#ifdef __CINT__
+#if defined(__CINT__) && defined(__MAKECINT__)
 /**
  * @file   PWGLFforward2LinkDef.h
  * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk>
@@ -52,7 +52,9 @@
 
 // Correction managers 
 #pragma link C++ class AliCorrectionManagerBase+;
-// #pragma link C++ class AliCorrectionManagerBase::Correction+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliCorrectionManagerBase::Correction+;
+#endif
 // Note: custom streamer to ensure singleton consistency!
 #pragma link C++ class AliForwardCorrectionManager-;
 #pragma link C++ class AliCentralCorrectionManager-;
 #pragma link C++ class AliCentralCorrSecondaryMap+;
 #pragma link C++ class AliCentraldNdetaTask+;
 #pragma link C++ class AliCentralMCCorrectionsTask+;
-// #pragma link C++ class AliCentralMCCorrectionsTask::VtxBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliCentralMCCorrectionsTask::VtxBin+;
+#endif
 #pragma link C++ class AliCentralMCMultiplicityTask+;
 #pragma link C++ class AliCentralMultiplicityTask+;
-// #pragma link C++ class AliCentralMultiplicityTask::VtxBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliCentralMultiplicityTask::VtxBin+;
+#endif
 #pragma link C++ class AliSPDMCTrackDensity+;
 
 // Aux tasks and code 
 #pragma link C++ class AliCopyHeaderTask+;
 #pragma link C++ class AliBasedNdetaTask+;
-// #pragma link C++ class AliBasedNdetaTask::CentralityBin+;
-// #pragma link C++ class AliBasedNdetaTask::Sum+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliBasedNdetaTask::CentralityBin+;
+#pragma link C++ class AliBasedNdetaTask::Sum+;
+#endif
 #pragma link C++ class AliBaseMCTrackDensity+;
 #pragma link C++ class AliMCTruthdNdetaTask+;
-// #pragma link C++ class AliMCTruthdNdetaTask::CentralityBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliMCTruthdNdetaTask::CentralityBin+;
+#endif
 #pragma link C++ class AliDisplacedVertexSelection+;
 #pragma link C++ class AliPoissonCalculator+;
 #pragma link C++ class AliMCAuxHandler+;
 #pragma link C++ class AliFMDCorrAcceptance+;
 #pragma link C++ class AliFMDCorrDoubleHit+;
 #pragma link C++ class AliFMDCorrector+;
-// #pragma link C++ class AliFMDCorrector::RingHistos+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliFMDCorrector::RingHistos+;
+#endif
 #pragma link C++ class AliFMDCorrELossFit+;
 #pragma link C++ class AliFMDCorrELossFit::ELossFit+;
 #pragma link C++ class AliFMDCorrMergingEfficiency+;
 
 // FMD algorithms 
 #pragma link C++ class AliFMDDensityCalculator+;
-// #pragma link C++ class AliFMDDensityCalculator::RingHistos+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliFMDDensityCalculator::RingHistos+;
+#endif
 #pragma link C++ class AliFMDEnergyFitter+;
-// #pragma link C++ class AliFMDEnergyFitter::RingHistos+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliFMDEnergyFitter::RingHistos+;
+#endif
 #pragma link C++ class AliFMDEventInspector+;
 #pragma link C++ class AliFMDEventPlaneFinder+;
 #pragma link C++ class AliFMDHistCollector+;
 #pragma link C++ class AliFMDSharingFilter+;
-// #pragma link C++ class AliFMDSharingFilter::RingHistos+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliFMDSharingFilter::RingHistos+;
+#endif
 
 // FMD MC algorithms
 #pragma link C++ class AliFMDMCCorrector+;
 #pragma link C++ class AliBaseESDTask+;
 #pragma link C++ class AliBaseAODTask+;
 #pragma link C++ class AliBaseMCCorrectionsTask+;
-// #pragma link C++ class AliBaseMCCorrectionsTask::VtxBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliBaseMCCorrectionsTask::VtxBin+;
+#endif
 #pragma link C++ class AliFMDEnergyFitterTask+;
 #pragma link C++ class AliFMDEventPlaneTask+;
 #pragma link C++ class AliForwarddNdetaTask+;
-// #pragma link C++ class AliForwarddNdetaTask::CentralityBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliForwarddNdetaTask::CentralityBin+;
+#endif
 #pragma link C++ class AliForwardFlowTaskQC+;
-// #pragma link C++ class AliForwardFlowTaskQC::VertexBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliForwardFlowTaskQC::VertexBin+;
+#endif
 #pragma link C++ class AliForwardMCCorrectionsTask+;
-// #pragma link C++ class AliForwardMCCorrectionsTask::VtxBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliForwardMCCorrectionsTask::VtxBin+;
+#endif
 #pragma link C++ class AliForwardMCFlowTaskQC+;
 #pragma link C++ class AliForwardMCMultiplicityTask+;
 #pragma link C++ class AliForwardMultiplicityBase+;
 #pragma link C++ class AliForwardMultiplicityDistribution+;
 #pragma link C++ class AliForwardMultiplicityDistribution::Bin+;
 #pragma link C++ class AliForwardMultDists+;
-// #pragma link C++ class AliForwardMultDists::EtaBin+;
+#if ROOT_VERSION_CODE < 0x56300 // ROOT_VERSION(5,99,0)
+#pragma link C++ class AliForwardMultDists::EtaBin+;
+#endif
 #pragma link C++ class AliForwardMultDists::BinSpec+;
 
 #else
-// # error Not for compilation 
+# error Not for compilation 
 #endif
 //
 // EOF