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 */
8 //_________________________________________________________________________
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
26 class AliEMCALSuperModule : public TFolder {
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
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;}
42 void FitForAllCells(); //*MENU*
43 void FitEffMassHist(); //*MENU*
44 void PrintInfo(); //*MENU*
45 void DrawCC(int iopt=1); //*MENU*
47 Int_t GetNumberOfCells();
48 Int_t GetSMNumber() const {return fSMNumber;}
52 TObject* fParent; // parent
53 TList* fLh; // List of hists
54 Int_t fSMNumber; //Super Module Number
56 ClassDef(AliEMCALSuperModule,2) // EMCAL SuperModule
60 #endif // ALIEMCALSUPERMODULE_H