]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/UserTasks/PHOS_embedding/AliPHOSDigitDecalibrate.h
Event embedding tasks for PHOS are added (D.Peressounko)
[u/mrichter/AliRoot.git] / PWG4 / UserTasks / PHOS_embedding / AliPHOSDigitDecalibrate.h
1 #ifndef ALIPHOSDIGITDECALIBRATE_H
2 #define ALIPHOSDIGITDECALIBRATE_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 ////////////////////////////////////////////////////////////////////////
8 //                                                                    //
9 //  PHOS tender, apply corrections to PHOS clusters                   //
10 //  and do track matching                                             //
11 //  Author : Dmitri Peressounko (RRC KI)                              //
12 //                                                                    //
13 ////////////////////////////////////////////////////////////////////////
14
15 #include <AliTenderSupply.h>
16
17 class TVector3;
18 class AliPHOSGeometry;
19 class AliPHOSCalibData ; 
20 class AliPHOSDigitDecalibrate: public AliTenderSupply {
21   
22 public:
23   AliPHOSDigitDecalibrate();
24   AliPHOSDigitDecalibrate(const char *name, const AliTender *tender=NULL);
25   virtual ~AliPHOSDigitDecalibrate();
26
27   virtual void   Init();
28   virtual void   ProcessEvent();
29   
30   void  SetDecalibration(Int_t mod, TH2F * dec) ;
31
32 protected:
33   AliPHOSDigitDecalibrate(const AliPHOSDigitDecalibrate&c);
34   AliPHOSDigitDecalibrate& operator= (const AliPHOSDigitDecalibrate&c);
35 private:
36
37   TH2F * hDec[5] ;                           //! Decalibration coeff.
38   AliPHOSGeometry   *fPHOSGeo;               //! PHOS geometry
39   AliPHOSCalibData *fPHOSCalibData;          //! PHOS calibration object
40
41  
42   ClassDef(AliPHOSDigitDecalibrate, 1); // PHOS tender task
43 };
44
45
46 #endif
47