EMCAL Raw Data Software
Raw Data
EMCAL Raw data is a time sample of signals ... The manager is the class AliEMCALRawUtils ...
Simulation of Raw Data
Raw data reconstruction
David S. has compiled in a wiki the basics and status of the different fitting algorithms used for the raw reconstruction.
How to reconstruct raw data
To reconstruct raw data you have to use the reconstruction macro that you can find in :
- Trunk or release > 4.17: $ALICE_ROOT/prod/cosmic/rec.C
- release 4.17: test/cosmic/rec.C
If you want just to reconstruct only EMCAL data you just have to add the following lines:
- rec.SetReconstruction("EMCAL");
- rec.SetRunQA("EMCAL:ALL");
If you want to reconstruct real raw data and not simulated raw data you need to have an alien account to get the files, but also to have acces to the OCDB in alien. IMPORTANT: The default OCDB of your local aliroot will not work, you have always to specify:
- AliCDBManager * man = AliCDBManager::Instance();
- man->SetDefaultStorage("raw://");
In case you have modified one of the OCDB files and want to use it instead the one in alien, you have to specify its location in this way:
- man->SetSpecificStorage("EMCAL/Calib/*","local://DB");
where you execute aliroot you must have the directory DB/EMCAL/Calib/ and all the files supposed to be in this directory (Pedestal, Data, RecoParam ...) .
Also notice that to have access to alien from aliroot you need to have set previously in your environment:
export PATH=$ALICE_ROOT/bin/tgt_linux:$ROOTSYS/bin/:$PATH
export LD_LIBRARY_PATH=$ALICE_ROOT/lib/$ROOTSYS/lib/:$LD_LIBRARY_PATH:/$ALIENSRC/api/lib
if [ -e /tmp/gclient_env_$UID ]; then
source /tmp/gclient_env_$UID;
aliroot $*
fi
et voilà, you can reconstruct data.
