]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALSuperModule.h
Test beam raw data reading
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSuperModule.h
1 #ifndef ALIEMCALSUPERMODULE_H
2 #define ALIEMCALSUPERMODULE_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Emcal Super Module     
10 //                  
11 //*-- Author: Aleksei Pavlinov (WSU, Detroit, USA)
12 //  Super Module folder
13 //  Initial version was created with TDataSet staf
14 //  TObjectSet -> TFolder; Sep 6, 2007
15
16
17 #include <TFolder.h>
18
19 class TList;
20 class AliEMCALCell;
21
22 class AliEMCALSuperModule : public TFolder {
23
24  public:
25   
26   AliEMCALSuperModule(); 
27   AliEMCALSuperModule(const Int_t m, const char* title="Emcal Super Module");
28
29   virtual ~AliEMCALSuperModule();
30
31   void Init();
32   void   AddCellToEtaRow(AliEMCALCell *cell, const Int_t etaRow);
33   TList*   GetHists()  {return fLh;}
34   TObject* GetParent() {return fParent;}
35   void     SetParent(TObject *parent) {fParent=parent;}
36   // MENU
37   void FitForAllCells(); //*MENU*  
38   void FitEffMassHist(); //*MENU*  
39   void PrintInfo();      //*MENU* 
40   void DrawCC(int iopt=1); //*MENU* 
41   //
42   Int_t GetNumberOfCells();
43   Int_t GetSMNumber() const {return fSMNumber;}
44  protected:
45   TList* BookHists();
46   //
47   TObject* fParent; // parent
48   TList*   fLh;     // List of hists
49   Int_t    fSMNumber;
50
51   ClassDef(AliEMCALSuperModule,2) // EMCAL SuperModule
52     
53 };
54
55 #endif // ALIEMCALSUPERMODULE_H