AliRsnReader:
[u/mrichter/AliRoot.git] / EMCAL / Calib / AliEMCALSuperModule.h
CommitLineData
16d3c94d 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
6e6f8407 6/* $Id: AliEMCALSuperModule.h 22148 2007-11-14 15:34:05Z gustavo $ */
16d3c94d 7
8//_________________________________________________________________________
9// Emcal Super Module
10//
0fc11500 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
37890aaf 15//
16//
16d3c94d 17
0fc11500 18#include <TFolder.h>
16d3c94d 19
20class TList;
37890aaf 21class TStyle ;
22class TROOT;
23
16d3c94d 24class AliEMCALCell;
25
0fc11500 26class AliEMCALSuperModule : public TFolder {
16d3c94d 27
28 public:
29
37890aaf 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
16d3c94d 35
36 void Init();
37 void AddCellToEtaRow(AliEMCALCell *cell, const Int_t etaRow);
0fc11500 38 TList* GetHists() {return fLh;}
39 TObject* GetParent() {return fParent;}
40 void SetParent(TObject *parent) {fParent=parent;}
16d3c94d 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 //
0fc11500 52 TObject* fParent; // parent
53 TList* fLh; // List of hists
37890aaf 54 Int_t fSMNumber; //Super Module Number
16d3c94d 55
0fc11500 56 ClassDef(AliEMCALSuperModule,2) // EMCAL SuperModule
16d3c94d 57
58};
59
60#endif // ALIEMCALSUPERMODULE_H