]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/macros/Shuttle/AliEMCALCalibHistoProducer.C
Move shuttle classes from shuttle library to base library
[u/mrichter/AliRoot.git] / EMCAL / macros / Shuttle / AliEMCALCalibHistoProducer.C
1 void AliEMCALCalibHistoProducer(const char* file="EMCAL.raw.root") 
2 {
3   // Script is to be run at DAQ computers (LDC, GDC or HLT);
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   //  Gustavo Conesa Balbastre, December 2006 
12
13   AliRawReaderRoot* rf = new AliRawReaderRoot(file);
14   AliEMCALCalibHistoProducer hp(rf);
15 //   hp.SetSMInstalled(10,kFALSE); //Supermodule not installed
16 //   hp.SetSMInstalled(11,kFALSE);
17   hp.Run();
18 }