Fix AliFemtoModelFreezeOutGenerator undefined references
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 11:57:48 +0000 (11:57 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 11:57:48 +0000 (11:57 +0000)
PWG2/FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.cxx [new file with mode: 0644]
PWG2/FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.h
PWG2/libPWG2femtoscopy.pkg

diff --git a/PWG2/FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.cxx b/PWG2/FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.cxx
new file mode 100644 (file)
index 0000000..22ef44b
--- /dev/null
@@ -0,0 +1,44 @@
+////////////////////////////////////////////////////////////////////////////////
+///                                                                          ///
+/// AliFemtoModelFreezeOutGenerator - abstract base class for freeze-out     ///
+/// coordinates generator                                                    ///
+/// Authors: Adam Kisiel kisiel@mps.ohio-state.edu                           ///
+///                                                                          ///
+////////////////////////////////////////////////////////////////////////////////
+#ifdef __ROOT__
+  ClassImp(AliFemtoModelFreezeOutGenerator, 1)
+#endif
+
+#include "AliFemtoModelFreezeOutGenerator.h"
+
+//____________________________
+AliFemtoModelFreezeOutGenerator::AliFemtoModelFreezeOutGenerator(): 
+  fRandom(0) 
+{ /* no-op */ }
+//____________________________
+AliFemtoModelFreezeOutGenerator::AliFemtoModelFreezeOutGenerator(AliFemtoModelFreezeOutGenerator &aModel): 
+  fRandom(0)
+{/* no-op */}
+//____________________________
+AliFemtoModelFreezeOutGenerator::~AliFemtoModelFreezeOutGenerator()
+{
+  if (fRandom) delete fRandom;
+}
+//____________________________
+AliFemtoModelFreezeOutGenerator& AliFemtoModelFreezeOutGenerator::operator=(const AliFemtoModelFreezeOutGenerator& aGen) 
+{ 
+  if (this == &aGen) return *this; 
+  if (aGen.fRandom) 
+    fRandom = new TRandom2(*aGen.fRandom);
+  else 
+    fRandom=0; 
+  return *this; 
+}
+//____________________________
+AliFemtoModelFreezeOutGenerator* AliFemtoModelFreezeOutGenerator::Clone() const 
+{ 
+  return 0; 
+}
+
+
+
index 3fdc95954f13c094d58a8f27595d7af196f1f832..c04441f261c324c715a1230e6ce3755d1910024a 100644 (file)
@@ -35,21 +35,6 @@ class AliFemtoModelFreezeOutGenerator
     
 };
 
-inline AliFemtoModelFreezeOutGenerator::AliFemtoModelFreezeOutGenerator(): fRandom(0) { /* no-op */ };
-inline AliFemtoModelFreezeOutGenerator::AliFemtoModelFreezeOutGenerator(AliFemtoModelFreezeOutGenerator &aModel): fRandom(0){/* no-op */};
-inline AliFemtoModelFreezeOutGenerator& AliFemtoModelFreezeOutGenerator::operator=(const AliFemtoModelFreezeOutGenerator& aGen) 
-{ 
-  if (this == &aGen) return *this; 
-  if (aGen.fRandom) 
-    fRandom = new TRandom2(*aGen.fRandom);
-  else 
-    fRandom=0; 
-  return *this; 
-};
-
-inline AliFemtoModelFreezeOutGenerator::AliFemtoModelFreezeOutGenerator* Clone() { return 0; };
-
-
 #endif
 
 
index 9dc3798321d5c6706531535483d81c286925f3a9..85cb5f8c6221b875ea93eda10ed215c886ef51b2 100644 (file)
@@ -30,7 +30,8 @@ SRCS= FEMTOSCOPY/AliFemto/Analysis/AliFemtoAnalysis.cxx \
       FEMTOSCOPY/AliFemto/Model/AliFemtoModelWeightGenerator.cxx \
       FEMTOSCOPY/AliFemto/Model/AliFemtoModelWeightGeneratorBasic.cxx\
       FEMTOSCOPY/AliFemto/Model/AliFemtoModelManager.cxx \
-      FEMTOSCOPY/AliFemto/Model/AliFemtoModelCorrFctn.cxx
+      FEMTOSCOPY/AliFemto/Model/AliFemtoModelCorrFctn.cxx \
+      FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
 HDRS += FEMTOSCOPY/AliFemto/Infrastructure/AliFmThreeVector.h \
@@ -41,8 +42,7 @@ HDRS += FEMTOSCOPY/AliFemto/Infrastructure/AliFmThreeVector.h \
         FEMTOSCOPY/AliFemto/Infrastructure/AliFmLorentzVectorD.h \
         FEMTOSCOPY/AliFemto/Base/AliFemtoV0Cut.h \
         FEMTOSCOPY/AliFemto/Base/AliFemtoKinkCut.h \
-        FEMTOSCOPY/AliFemto/Base/AliFemtoXiCut.h \
-        FEMTOSCOPY/AliFemto/Model/AliFemtoModelFreezeOutGenerator.h 
+        FEMTOSCOPY/AliFemto/Base/AliFemtoXiCut.h 
 
 
 DHDR:= PWG2femtoscopyLinkDef.h