]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALSuperModule.h
Update to new method names in AliESDv0, load them in visscan_init.C.
[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
18 #include <TFolder.h>
19
20 class TList;
21 class TStyle ;
22 class TROOT;
23
24 class AliEMCALCell;
25
26 class AliEMCALSuperModule : public TFolder {
27
28  public:
29   
30   AliEMCALSuperModule();  // default ctor
31   AliEMCALSuperModule(const Int_t m, const char* title="Emcal Super Module");//ctor
32   AliEMCALSuperModule( const AliEMCALSuperModule & sm);// cpy ctor
33   AliEMCALSuperModule &operator = (const AliEMCALSuperModule & sm);// cpy assignment
34   virtual ~AliEMCALSuperModule();//virtual dtor
35
36   void Init();
37   void   AddCellToEtaRow(AliEMCALCell *cell, const Int_t etaRow);
38   TList*   GetHists()  {return fLh;}
39   TObject* GetParent() {return fParent;}
40   void     SetParent(TObject *parent) {fParent=parent;}
41   // MENU
42   void FitForAllCells(); //*MENU*  
43   void FitEffMassHist(); //*MENU*  
44   void PrintInfo();      //*MENU* 
45   void DrawCC(int iopt=1); //*MENU* 
46   //
47   Int_t GetNumberOfCells();
48   Int_t GetSMNumber() const {return fSMNumber;}
49  protected:
50   TList* BookHists();
51   //
52   TObject* fParent; // parent
53   TList*   fLh;     // List of hists
54   Int_t    fSMNumber; //Super Module Number
55
56   ClassDef(AliEMCALSuperModule,2) // EMCAL SuperModule
57     
58 };
59
60 #endif // ALIEMCALSUPERMODULE_H