Variable shadowing removed (B. Hippolyte, AM)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliAnalysisElectronTask.h
1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 *                                                                        *
4 * Author: The ALICE Off-line Project.                                    *
5 * Contributors are mentioned in the code where appropriate.              *
6 *                                                                        *
7 * Permission to use, copy, modify and distribute this software and its   *
8 * documentation strictly for non-commercial purposes is hereby granted   *
9 * without fee, provided that the above copyright notice appears in all   *
10 * copies and that both the copyright notice and this permission notice   *
11 * appear in the supporting documentation. The authors make no claims     *
12 * about the suitability of this software for any purpose. It is          *
13 * provided "as is" without express or implied warranty.                  *
14 **************************************************************************/
15 #ifndef ALIANALYSEPIDEFFICIENCY_H
16 #define ALIANALYSEPIDEFFICIENCY_H
17
18 #include "AliAnalysisTask.h"
19
20 class AliHFEpid;
21 class AliHFEcuts;
22 class AliCFManager;
23 class AliESDEvent;
24 class AliESDtrackCuts;
25 class AliMCEvent;
26 class TH1I; 
27 class TList;
28
29 class AliAnalysisElectronTask : public AliAnalysisTask{
30   enum{
31     kIsQAOn = BIT(14)
32   };
33         public:
34                 AliAnalysisElectronTask();
35                 ~AliAnalysisElectronTask();
36
37                 virtual void ConnectInputData(Option_t *);
38                 virtual void CreateOutputObjects();
39                 virtual void Exec(Option_t *);
40                 virtual void Terminate(Option_t *);
41
42     void SetQAOn() { SetBit(kIsQAOn, kTRUE); };
43     Bool_t IsQAOn() const { return TestBit(kIsQAOn); };
44
45         private:
46     void MakeParticleContainer();
47
48                 AliESDEvent *fESD;                              //! The ESD Event
49                 AliMCEvent *fMC;                                  //! The MC Event
50                 AliCFManager *fCFM;                             //! Correction Framework Manager
51                 AliHFEpid *fPID;         //! PID
52     AliHFEcuts *fCuts;     //! Cut Collection
53                 TH1I *fNEvents;                                   //! counter for the number of Events
54                 TList *fQA;                                           //! QA histos for the cuts
55
56         ClassDef(AliAnalysisElectronTask, 1)    // The electron Analysis Task
57 };
58 #endif