Improved ALTRO mapping: Now does the full conversion from
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 Aug 2008 02:29:34 +0000 (02:29 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 Aug 2008 02:29:34 +0000 (02:29 +0000)
commitf38b16535e46e28a81d875e6a66476b85fe80e8b
tree3835fcd2ca5cd55dba9dc1841df984931473dfc7
parente0afd5518968b11f3b6fc07f080f79f931409f72
Improved ALTRO mapping:  Now does the full conversion from

    <DDL>/<FEC>/<ALTRO>/<Channel>/<Timebin>
  ->
    FMD<detector><ring>[<sector>,<strip>]-<sample>

and the other way back. Changed all relevant code to use this conversion.
This ensures that the conversion is consistent over all the code. To do
this, I had to implement the AliFMDDigit::SetCount member function.
Not nice, but so be it.  Alternatively, AliFMDRawReader could be a friend
of AliFMDDigit - but that's not nice either.

Fixed up AliFMDPattern to display the modules correctly.
17 files changed:
FMD/AliFMDAltroMapping.cxx
FMD/AliFMDAltroMapping.h
FMD/AliFMDDetector.cxx
FMD/AliFMDDigit.h
FMD/AliFMDDisplay.cxx
FMD/AliFMDParameters.cxx
FMD/AliFMDParameters.h
FMD/AliFMDPattern.cxx
FMD/AliFMDPattern.h
FMD/AliFMDPedestalDA.cxx
FMD/AliFMDRawReader.cxx
FMD/AliFMDRawReader.h
FMD/AliFMDRawWriter.cxx
FMD/AliFMDReconstructor.h
FMD/Reconstruct.C
FMD/scripts/PatternRaw.C
FMD/scripts/TestAltroMapping.C