]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/Upgrade/README
o rename ToyMC->AliToyMC
[u/mrichter/AliRoot.git] / TPC / Upgrade / README
1 Continuous readout toy simulation
2
3 loadlibs.C    //modified version of the one used for GEMtest code. I haven't looked into this so it probably contains a lot of stuff that is not needed
4
5 AliToyMCTrack, AliToyMCEvent //classes for storing event and track parameters
6
7 AliToyMCEventGenerator   //base class for event generators, contains DistortTrack method to distort track using method borrowed from AliTPCCorrection
8
9 AliToyMCEventGeneratorSimple  //simple first MC event generator, borrowing from Marians macro. Inherits from AliToyMCEventGenerator to get DistortTrack method. Generate(Double_t time) generates and returns an event at time time
10
11 makeTree.C  //short macro to generate events from a poisson distr and storing in a ROOT tree.
12
13
14 to run : root -l loadlibs.C
15          .L makeTree.C+
16          makeTree(Double_t collFreq/*kHz*/, Double_t bunchFreq/*MHz*/, Int_t nEvents)
17
18