]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALSuperModule.h
COrrect handling of integers and shorts in case of big-endian platform (Marco)
[u/mrichter/AliRoot.git] / EMCAL / 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
6/* $Id$ */
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
16d3c94d 15
16d3c94d 16
0fc11500 17#include <TFolder.h>
16d3c94d 18
19class TList;
20class AliEMCALCell;
21
0fc11500 22class AliEMCALSuperModule : public TFolder {
16d3c94d 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);
0fc11500 33 TList* GetHists() {return fLh;}
34 TObject* GetParent() {return fParent;}
35 void SetParent(TObject *parent) {fParent=parent;}
16d3c94d 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 //
0fc11500 47 TObject* fParent; // parent
48 TList* fLh; // List of hists
49 Int_t fSMNumber;
16d3c94d 50
0fc11500 51 ClassDef(AliEMCALSuperModule,2) // EMCAL SuperModule
16d3c94d 52
53};
54
55#endif // ALIEMCALSUPERMODULE_H