Add possibility to swich off creating hidden info
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 May 2007 12:43:36 +0000 (12:43 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 May 2007 12:43:36 +0000 (12:43 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliFemtoModelManager.cxx
PWG2/FEMTOSCOPY/AliFemto/AliFemtoModelManager.h

index c5c81eb..d24e3fd 100644 (file)
@@ -174,9 +174,9 @@ Double_t AliFemtoModelManager::GetWeight(AliFemtoPair *aPair)
   return fWeightGenerator->GenerateWeight(aPair);
 }
 //_____________________________________________
-void AliFemtoModelManager::CreateCopyHiddenInfo()
+void AliFemtoModelManager::CreateCopyHiddenInfo(Bool_t aCopy)
 {
-  fCreateCopyHiddenInfo = kTRUE;
+  fCreateCopyHiddenInfo = aCopy;
 }
 //_____________________________________________
 AliFemtoModelFreezeOutGenerator* AliFemtoModelManager::GetFreezeOutGenerator()
index 9e47225..58b4ee7 100644 (file)
@@ -23,7 +23,7 @@ class AliFemtoModelManager
 
   void AcceptFreezeOutGenerator(AliFemtoModelFreezeOutGenerator *aFreeze);
   void AcceptWeightGenerator(AliFemtoModelWeightGenerator *aWeight);
-  void CreateCopyHiddenInfo();
+  void CreateCopyHiddenInfo(Bool_t aCopy=kTRUE);
 
   AliFemtoModelFreezeOutGenerator* GetFreezeOutGenerator();
   AliFemtoModelWeightGenerator*    GetWeightGenerator();