PMD responce Matrix class : sjena
[u/mrichter/AliRoot.git] / PMD / anal / AliPMDAnalysisMCTaskSE.h
1 #ifndef AliPMDAnalysisMCTaskSE_cxx
2 #define AliPMDAnalysisMCTaskSE_cxx
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /**************************************************************************
8  * Analysis Class Implimentation for the MC Truth and responce Matrix 
9  *       Auther:   Satyajit Jena, IIT Bombay |  sjena@cern.ch
10  * 
11  *                     Mon Nov 22 19:54:27 CET 2010
12  *
13  **************************************************************************/
14
15 class TList;
16 class TFile;
17 class TH1F;
18 class TH1D;
19 class TH2F;
20 class AliESDEvent;
21 class AliMCEvent;
22 class AliESDPmdTrack;
23
24 #include "AliAnalysisTaskSE.h"
25
26 class AliPMDAnalysisMCTaskSE : public AliAnalysisTaskSE {
27  public:
28     
29   AliPMDAnalysisMCTaskSE(const char *name = "AliPMDAnalysisMCTaskSE");
30   virtual ~AliPMDAnalysisMCTaskSE() {}
31   
32   virtual void UserCreateOutputObjects();
33   virtual void UserExec(Option_t *option);
34   virtual void Terminate(Option_t *);
35  
36   void EventByEvent(AliESDEvent* esd, AliMCEvent* mcEvent);
37   
38  private:
39
40   TList* fPhysList;
41       
42   // TH1F* fhCounter; //!Event Counter Book Keeping
43   // TH1F* fhVtx;     //!Vertex Cut X
44   // TH1F* fhVty;
45   // TH1F* fhVtz;
46
47   // Int_t fCntr;     //!Event Counter
48
49   TH2F *fhResponseAll;  //!2D Responce Matrix
50   TH1F *fhTrueAll;      //!1D True Multiplicity
51   TH1F *fhMeasuredAll;
52
53   TH2F *fhResponse[10];
54   TH1F *fhTrue[10];
55   TH1F *fhMeasured[10];
56   
57
58
59    //___________________________________________________
60   AliPMDAnalysisMCTaskSE(const AliPMDAnalysisMCTaskSE&); 
61   AliPMDAnalysisMCTaskSE& operator=(const AliPMDAnalysisMCTaskSE&); 
62   
63   ClassDef(AliPMDAnalysisMCTaskSE, 1); 
64 };
65
66 #endif
67