for Jens and Martin
authormivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jun 2013 05:53:19 +0000 (05:53 +0000)
committermivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jun 2013 05:53:19 +0000 (05:53 +0000)
commit526ddf0e8f51e0f015a38f96dca585ef1548e831
tree1c992fff43ed26869f7e8bb259db02a08fdd5586
parent59b460bc222b8b7dfe18ec380a6c9f158d5798cd
for  Jens and  Martin

Continuous readout toy simulation:
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
ToyMCTrack, ToyMCEvent //classes for storing event and track parameters
ToyMCEventGenerator   //base class for event generators, contains DistortTrack method to distort track using method borrowed from AliTPCCorrection
ToyMCEventGeneratorSimple  //simple first MC event generator, borrowing from Marians macro. Inherits from ToyMCEventGenerator to get DistortTrack method. Generate(Double_t time) generates and returns an event at time time
makeTree.C  //short macro to generate events from a poisson distr and storing in a ROOT tree.

to run : root -l loadlibs.C
         .L makeTree.C+
         makeTree(Double_t collFreq/*kHz*/, Double_t bunchFreq/*MHz*/, Int_t nEvents)
TPC/Upgrade/README [new file with mode: 0644]
TPC/Upgrade/ToyMCEvent.cxx [new file with mode: 0644]
TPC/Upgrade/ToyMCEvent.h [new file with mode: 0644]
TPC/Upgrade/ToyMCEventGenerator.cxx [new file with mode: 0644]
TPC/Upgrade/ToyMCEventGenerator.h [new file with mode: 0644]
TPC/Upgrade/ToyMCEventGeneratorSimple.cxx [new file with mode: 0644]
TPC/Upgrade/ToyMCEventGeneratorSimple.h [new file with mode: 0644]
TPC/Upgrade/ToyMCTrack.cxx [new file with mode: 0644]
TPC/Upgrade/ToyMCTrack.h [new file with mode: 0644]