1 #ifndef AliPHOSCPVDA1_H
2 #define AliPHOSCPVDA1_H
3 /* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
7 // Class AliPHOSCpvDA1 accumulates histograms with amplitudes per CPV channel.
8 // It is intended to run at DAQ or HLT computers.
9 ///////////////////////////////////////////////////////////////////////////////
15 class AliPHOSCpvDA1 : public TNamed {
19 AliPHOSCpvDA1(Int_t module);
20 AliPHOSCpvDA1(const AliPHOSCpvDA1& );
21 AliPHOSCpvDA1& operator= (const AliPHOSCpvDA1& );
24 void FillHistograms(Float_t e[128][56]);
25 Int_t GetModule() { return fMod; }
26 void UpdateHistoFile();
30 TFile* fHistoFile; // root file to store histograms in
31 TH1F* fCharge[128][56]; // charge deposited on CPV pads
32 Int_t fMod; // PHOS module number (0..4)
34 ClassDef(AliPHOSCpvDA1,1)