3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // EMCAL cell - keep everyrhing for calibration task
11 //*-- Author: Aleksei Pavlinov (WSU, Detroit, USA)
13 #include <TObjectSet.h>
20 class AliEMCALCalibData;
21 class AliEMCALCalibCoefs;
23 class AliEMCALCell : public TObjectSet {
28 AliEMCALCell(const Int_t absId, const char* title="EMCAL cell");
30 virtual ~AliEMCALCell();
32 void SetCCfromDB(AliEMCALCalibData *ccDb); // obsolete
33 void SetCCfromCCTable(AliEMCALCalibCoefs *t);
35 TList* GetHists() {return (TList*)fObj;}
36 Int_t GetAbsId() const {return fAbsId;}
37 Int_t GetSupMod() const {return fSupMod;}
38 Int_t GetModule() const {return fModule;}
40 Double_t GetCcIn() {return fCcIn;}
41 Double_t GetCcOut() {return fCcOut;}
42 TF1* GetFunction() {return fFun;}
44 void FillEffMass(const Double_t mgg);
45 void FillCellNtuple(TNtuple *nt);
47 static void FitHist(TH1* h, const char* name="",const char* opt="");
49 void FitEffMassHist(const char* opt=""); //*MENU*
50 void Print(); //*MENU*
52 Int_t fAbsId; // abs cell id
53 Int_t fSupMod; // super module number
54 Int_t fModule; // module number inside SM
55 Int_t fPhi; // phi number of cell inside module
56 Int_t fEta; // eta number of cell inside module
57 Int_t fPhiCell; // phi number of cell SM
58 Int_t fEtaCell; // eta number of cell SM
60 Double_t fCcIn; // input cc in GeV (from Db or table
61 Double_t fCcOut; // output cc in GeV (from fir now)
63 TF1* fFun; //! fitting function - gaus + pol2
67 ClassDef(AliEMCALCell,1) // EMCAL cell
71 #endif // ALIEMCALCELL_H