X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FUpgrade%2FAliToyMCEventGeneratorSimple.h;h=89f6d82fd7d535c8020c18e2b98212208b8623aa;hb=298b2ffe4f3e1ec3b01453efd0c65667158675f2;hp=fa032853dc0c4465c608b3c221361a2b723b66b3;hpb=0403120d9b0e16a49b926c3418c2bd490f6218b8;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/Upgrade/AliToyMCEventGeneratorSimple.h b/TPC/Upgrade/AliToyMCEventGeneratorSimple.h index fa032853dc0..89f6d82fd7d 100644 --- a/TPC/Upgrade/AliToyMCEventGeneratorSimple.h +++ b/TPC/Upgrade/AliToyMCEventGeneratorSimple.h @@ -23,15 +23,15 @@ class AliToyMCEventGeneratorSimple : public AliToyMCEventGenerator { AliToyMCEvent* GenerateLaser(Double_t time); void SetParametersToyGen(const Char_t* parfilename="$ALICE_ROOT/TPC/Upgrade/files/params.root", Double_t vertexMean = 0., Double_t vertexSigma = 7.); - void RunSimulation(const Int_t nevents=10, const Int_t ntracks=20); - void RunSimulationBunchTrain(const Int_t nevents=10, const Int_t ntracks=20); - void RunSimulationESD(const Int_t nevents=10, const Int_t ntracks=20); - void RunSimulationLaser(const Int_t nevents=1); + void RunSimulation(Int_t nevents=10, Int_t ntracks=20, Int_t rate=50); + void RunSimulationBunchTrain(Int_t nevents=10, Int_t ntracks=20); + void RunSimulationESD(Int_t nevents=10, Int_t ntracks=20); + void RunSimulationLaser(Int_t nevents=1); void SetInputESD(const Char_t* filename) {fInputFileNameESD = filename;} - Int_t OpenInputAndGetMaxEvents(const Int_t type, const Int_t nevents); - void RunSimulation2(const Bool_t equalspacing, const Int_t type, const Int_t nevents, const Int_t ntracks); - void GetNGeneratedEventsAndSpacing(const Bool_t equalSpacing, Int_t &ngen, Double_t &spacing); + Int_t OpenInputAndGetMaxEvents(Int_t type, Int_t nevents); + void RunSimulation2(Bool_t equalspacing, Int_t type, Int_t nevents, Int_t ntracks); + void GetNGeneratedEventsAndSpacing(Bool_t equalSpacing, Int_t &ngen, Double_t &spacing); Bool_t CloseInputFile(); private: