70 likes | 232 Vues
Offline monitoring. This guide explains: Where the RAW data are stored and how to access them A pointer to a common AliRoot setup on lxplus How to run the two RAW data monitors How to run some calibrations with macros Experts: Marian Ivanov (marian.ivanov@cern.ch)
E N D
TPC shift guide Offline monitoring This guide explains: Where the RAW data are stored and how to access them A pointer to a common AliRoot setup on lxplus How to run the two RAW data monitors How to run some calibrations with macros • Experts: • Marian Ivanov (marian.ivanov@cern.ch) • Peter Christiansen (peter.christiansen@hep.lu.se) • Questions, comments, suggestions are encouraged:-)
TPC shift guide Raw data are stored on CASTOR • The path is: /castor/cern.ch/alice/tpc/2007/<month>/<day>/<hour> • Use nsls to list and rfcp to copy • Files can be accessed directly from lxplus if root is compiled with rfio option (--enable-rfio) • Example of root path-name: rfio:/castor/cern.ch/alice/tpc/2007/12/13/05/07000011524011.6380.root • Nb! You have to specify rfio: to let ROOT know that it is a remote/CASTOR file
TPC shift guide RAW data are also registered in AliEN • The path is: /alice/data/2007/LHC07w_TPC/ • If you have AliEn installed you can copy the data from the aliensh • The data can be accessed directly streamed in ROOT (if compiled with AliEn support). • alien-token-init (to get an alien token) • Tgrid::Connect("alien://"); inside root, aliroot or alieve. • Example of ROOT path-name: alien:///alice/data/2007/LHC07w_TPC/000010897/raw/07000010897011.20.root • NB! alien:// tells root that it is an AliEn file
TPC shift guide TPC test AliRoot installation on lxplus • There is a version of AliRoot installed on lxplus which is compiled with rfio support • To use do • ssh -X lxplus.cern.ch (from outside) • bash (if you normally use another shell) • source ~miranov/public/.balice
TPC shift guide TPC pad monitor(NB! currently does not work for zero-suppressed data) • The pad monitor by Stefan Kniege is part of AliRoot and also used online • To run the monitor in aliroot do: • .L $ALICE_ROOT/lib/tgt_linux/libTPCmon.so • .L $ALICE_ROOT/TPC/macros/TPCMonitor.C • TPCMonitor() • Now the GUI starts and you should do: • Sel. Format (Select ROOT and remember to press "Select Entry") • Sel. File (open file – can soon be alien file) • Press “Next Event” until the data is loaded
TPC shift guide AliEve general offline monitor • AliEve is part of AliRoot • To run the TPC raw display do: • alieve • .L ../test-macros/tpc_gui.C • tpc_gui(<filename>, <event_no>) • How to use the GUI: • Double click on TPCLoader to see the many draw options • Click “Help” to see how to navigate in the opengl window • SHIFT+right click on the graphical elements to get menu • CTRL+left click on pads to see 1d projections
TPC shift guide Running calibration macros (requires AliRoot HEAD e.g. tpc test AliRoot on lxplus) • Running the AliTPCCalibPedestal class: • .L $ALICE_ROOT/TPC/macros/testPed.C • testPed(<filename>, <number of events>) • The results can be displayed in the calibration GUI viewer: • AliTPCCalibViewerGUI::ShowGUI("CalibTree.root"); • Raw data QA monitor (improvements to come): • .L $ALICE_ROOT/TPC/macros/testDataQA.C • testDATAQA(<filename>, <number of events>)