]> git.uio.no Git - u/mrichter/AliRoot.git/commit - STEER/AliSimulation.h
"Cleaned" initialization and usage of the run number.
authoracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Nov 2007 15:24:28 +0000 (15:24 +0000)
committeracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Nov 2007 15:24:28 +0000 (15:24 +0000)
commit795e4a2212eecadf442f81f499f025cbbc28a427
tree5eeb1378c0be3c08e80a0bb4e8973842885919d1
parent1f341624a06225bdeec80cdaca919315b8f1c2f8
"Cleaned" initialization and usage of the run number.

--- in Simulation, run number and generator seed can be set:

1. Via environment variables DC_RUN and CONFIG_SEED
2. Via AliSimulation setters SetRunNumber() and SetSeed() (overrides option 1.)
3. Run number can be also set externally with AliCDBManager::Instance()->SetRun()
(overrides options 1. and 2.)

Run number is set in AliHeader during event generation (AliMC::BeginEvent()). In
the subsequent steps it is loaded from the run loader.

--- in Reconstruction, run number is loaded from the event header in the run
loader, or from raw data header.

CDB Manager's Lock implemented in simulation and reconstruction.
STEER/AliReconstruction.cxx
STEER/AliReconstruction.h
STEER/AliSimulation.cxx
STEER/AliSimulation.h