]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/macros/Shuttle/AliPHOSCalibHistoProducer.C
Coverity fixes.
[u/mrichter/AliRoot.git] / PHOS / macros / Shuttle / AliPHOSCalibHistoProducer.C
1 void AliPHOSCalibHistoProducer(const char* file="2006run2211.root") 
2 {
3   // Script is to be run at DAQ computers (LDC, GDC, HLT or MOOD);
4   // it fills the histograms with amplitudes per channel.
5   // These histograms will be processed in the Shuttle preprocessor
6   // e.g., to extract mean amplitudes needed for relative channel calibration
7   //
8   // This example assumes that the input data is supplied from the
9   // raw data file in the ROOT format.
10   //
11   // Author: Boris Polichtchouk, 4 October 2006
12
13   // Load PHOS shuttle library as it is not linked to aliroot
14   gSystem->Load("libPHOSshuttle");
15
16   AliRawReaderRoot* rf = new AliRawReaderRoot(file);
17   AliPHOSCalibHistoProducer hp(rf);
18   hp.Run();
19 }