]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALv3.h
Fixed bug in raw data unpacking; Added pedestal to signal fit; Added logic to deal...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv3.h
1 #ifndef ALIEMCALV3_H
2 #define ALIEMCALV3_H
3 /* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                      
5          */
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 // Implementation version v3 of EMCAL Manager class for Shish-Kebab case 
10 // Save all hits inside of Sc - Nov 25, 05
11 //*--                  
12 //*-- Author:  Aleksei Pavlinov
13
14 class TClonesArray;
15 class TLorentzVector;
16 class TFile;
17 class TH1F;
18
19 class AliEMCALGeometry;
20
21 // --- AliRoot header files ---
22 #include "AliEMCALv1.h"
23
24 class AliEMCALv3 : public AliEMCALv1 {
25   
26 public:
27
28   AliEMCALv3(void) ; 
29   AliEMCALv3(const char *name, const char *title="") ;
30   AliEMCALv3(const AliEMCALv3 & emcal); //copy ctor
31
32   virtual ~AliEMCALv3(void) ;
33
34   using AliEMCALv1::AddHit;
35   virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
36                         Int_t id, Float_t *hits, Float_t *p);
37
38   virtual void StepManager(void) ;
39   virtual void FinishEvent();
40
41   // Gives the version number 
42   virtual Int_t  IsVersion(void) const {return 3;}
43   virtual const TString Version(void)const {return TString("v3");}
44   AliEMCALv3 & operator = (const AliEMCALv3 & /*rvalue*/){
45     Fatal("operator =", "not implemented") ;  
46     return *this;}
47
48   virtual Double_t GetDepositEnergy(int print=1); // *MENU*
49   virtual void Browse(TBrowser* b);
50
51   AliEMCALGeometry* fGeometry; //!
52   TH1F*             fHDe;      //!
53   TH1F*             fHNhits;   //!
54   TH1F*             fHDeDz;     //!
55
56   ClassDef(AliEMCALv3,0)    //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
57     
58 };
59
60 #endif // AliEMCALV3_H