]> git.uio.no Git - u/mrichter/AliRoot.git/commit - MUON/AliMUONDigit.h
Some fixes and updates for the embedding :
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Dec 2010 13:52:28 +0000 (13:52 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Dec 2010 13:52:28 +0000 (13:52 +0000)
commitca8c8223cd86568f660d449970aa540644a17b62
tree1f762519592e8888282b11aab355ad8ea09e2842
parent070f06d217601e9c3497e9cf63844edf16ac0e14
Some fixes and updates for the embedding :

  - added a raw2sdigits.sh script to convert a (real) raw data file to SDigits file(s) suitable for embedding
  - added a "-e" option to the AlirootRun_MUONtest.sh test script for embedding real data into the test simulation
  - added an option to runSimulation.C and runReconstruction.C to allow embedding (in particular switch for which OCDB is used)
  - added an option to AliMUONDigitMaker::Raw2Digits to fill SDigits instead of Digits (otherwise the ADC value was filled instead of the required charge)
  - added an option to Config.C to indicate whether or not this will be used for embedding (in which case we switch OFF the noise generation, as the noise
  will naturally come from the real data embedded). Made it compilable to ease debugging (this required mods in rootlogon.C and loadlibs.C)
  - added the possibility to convert real digits into simulated ones in AliMUONDigitStoreV2S::AddConcreteDigit
  (the reverse, converting sim digit into real one, e.g. in AliMUONDigitStoreV2R::AddConcreteDigit, is still forbidden).
  - added a (Is)Converted method to AliMUON(V)Digit to keep track of the digits that were converted from another class

  - fixed AliMUON::Raw2SDigits in order to use the specified sdigit classname, and to fill the correct part (charge instead of ADC) of the digit
  - fixed AliMUONDigitizerV3 to allow merging of digit stores of different classes

(Laurent)
17 files changed:
MUON/AliMUON.cxx
MUON/AliMUONDigit.cxx
MUON/AliMUONDigit.h
MUON/AliMUONDigitMaker.cxx
MUON/AliMUONDigitMaker.h
MUON/AliMUONDigitStoreV2S.cxx
MUON/AliMUONDigitizerV3.cxx
MUON/AliMUONDigitizerV3.h
MUON/AliMUONVDigit.h
MUON/AlirootRun_MUONtest.sh
MUON/Config.C
MUON/MUONefficiency.C
MUON/loadlibs.C
MUON/raw2sdigits.sh [new file with mode: 0755]
MUON/rootlogon.C
MUON/runReconstruction.C
MUON/runSimulation.C