1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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
18 #include "AliAnalysisTask.h"
24 class AliESDtrackCuts;
29 class AliAnalysisElectronTask : public AliAnalysisTask{
34 AliAnalysisElectronTask();
35 ~AliAnalysisElectronTask();
37 virtual void ConnectInputData(Option_t *);
38 virtual void CreateOutputObjects();
39 virtual void Exec(Option_t *);
40 virtual void Terminate(Option_t *);
42 void SetQAOn() { SetBit(kIsQAOn, kTRUE); };
43 Bool_t IsQAOn() const { return TestBit(kIsQAOn); };
46 void MakeParticleContainer();
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
56 ClassDef(AliAnalysisElectronTask, 1) // The electron Analysis Task