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 c5c81eb3a2b29f0c84498539e24836bde2f944bb..d24e3fd5f3fe4ba32123edce224fe160f38a62cd 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 9e4722567a379a5f3131d202cce18bcb6ca8a342..58b4ee76ce068b7b5b22528be49ec3d0d2df30d2 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();