Fixing ompilation warnings
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCalibHistoProducer.h
CommitLineData
1ab07e55 1#ifndef ALIPHOSCALIBHISTOPRODUCER_H
2#define ALIPHOSCALIBHISTOPRODUCER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8///////////////////////////////////////////////////////////////////////////////
9// Class AliPHOSCalibHistoProducer accumulating histograms
10// with amplitudes per PHOS channel
11///////////////////////////////////////////////////////////////////////////////
12
13#include "TObject.h"
14
15class TH1F;
16class TFile;
a3925367 17class AliPHOSRawDecoder;
1ab07e55 18
19class AliPHOSCalibHistoProducer : public TObject {
20public:
21
22 AliPHOSCalibHistoProducer();
67346abc 23 AliPHOSCalibHistoProducer(Int_t nbinsx, Double_t xlow, Double_t xup);
1ab07e55 24 AliPHOSCalibHistoProducer(const AliPHOSCalibHistoProducer &histoproducer);
25 AliPHOSCalibHistoProducer& operator= (const AliPHOSCalibHistoProducer &histoproducer);
26 virtual ~AliPHOSCalibHistoProducer();
27
28 void Run();
29 void UpdateHistoFile();
14b34be5 30 void SetUpdatingRate(Int_t rate) {fUpdatingRate = rate;}
a3925367 31 void SetRawDecoder(AliPHOSRawDecoder* decoder) { fRawDecoder = decoder; }
1ab07e55 32
33protected:
34
35 TH1F* fAmpHisto[5][56][64]; // amplitudes in [module][column][row].
a3925367 36 AliPHOSRawDecoder* fRawDecoder; // raw data decoder.
1ab07e55 37 TFile* fHistoFile; // root file to store histograms in
38 Int_t fUpdatingRate; // update rate
383d8adb 39 Int_t fEvents;
67346abc 40 Int_t fNbins; // Number of bins in histograms.
41 Double_t fXlow; // Low X in histograms.
42 Double_t fXup; // High X in histograms.
1ab07e55 43
9a090ccd 44 ClassDef(AliPHOSCalibHistoProducer,2)
1ab07e55 45
46};
47
48#endif