X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenPileup.h;h=006da967801d4d1414c112e8f98943d0e66431e5;hb=44403a5c5bbdbe2e41244b7fb92dbb14de5e66b9;hp=d8a46f8e3c178b758416ee8eb62b089a4218f8c0;hpb=56f3f4a425e2eb2f4ed7493416d967fe6b774675;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenPileup.h b/EVGEN/AliGenPileup.h index d8a46f8e3c1..006da967801 100644 --- a/EVGEN/AliGenPileup.h +++ b/EVGEN/AliGenPileup.h @@ -50,7 +50,8 @@ class AliGenPileup : public AliGenCocktail virtual void SetRandomise(Bool_t flag); virtual void UsePerEventRates(); - void SetGenerator(AliGenerator *generator, Float_t rate); + void SetGenerator(AliGenerator *generator, Float_t rate, Bool_t flag = kFALSE); + //void SetGenerator(AliGenerator *generator, Float_t rate); Bool_t SetBCMask(const char *mask); void GenerateTrigInteraction(Bool_t flag) {fGenTrig = flag;} @@ -60,6 +61,7 @@ class AliGenPileup : public AliGenCocktail AliTriggerBCMask fBCMask; // Mask used to tag the active bunch-crossings within an orbit Bool_t fGenTrig; // Generate or not the trigger interaction + Bool_t fFlag; // fixed interaction rate (integer) private: AliGenPileup(const AliGenPileup &gen);