Added possibility to use ESD input
authorhljunggr <hljunggr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Jun 2013 12:25:28 +0000 (12:25 +0000)
committerhljunggr <hljunggr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Jun 2013 12:25:28 +0000 (12:25 +0000)
commitf356075ca9e3d64154ba4a3c0d93139016b73a8c
tree4907c227c6bcf8ee7924516ebb572362f600b1a5
parent544076ea8bbceb1450c045a799292aa9828bee16
Added possibility to use ESD input

to use:
   root -l macros/{loadlibs.C,ConfigOCDB.C}
   AliToyMCEventGeneratorSimple s
   s.SetInputESD("path/to/root_archive.zip")
   s.RunSimulationESD(nevents, ntracks)

   nevents sets the number of events with ntracks!=0 to be used
   ntracks sets the maximum number of tracks in each event to be used
TPC/Upgrade/AliToyMCEventGeneratorSimple.cxx
TPC/Upgrade/AliToyMCEventGeneratorSimple.h
TPC/Upgrade/macros/loadlibs.C