]>
Commit | Line | Data |
---|---|---|
27de2dfb | 1 | #ifndef ALICFMUONSINGLETASK1_H |
2 | #define ALICFMUONSINGLETASK1_H | |
3 | ||
461292d6 | 4 | /************************************************************************** |
5 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Author: The ALICE Off-line Project. * | |
8 | * Contributors are mentioned in the code where appropriate. * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
18 | ||
27de2dfb | 19 | /* $Id$ */ |
20 | ||
461292d6 | 21 | //----------------------------------------------------------------------- |
1074989a | 22 | // Author : X. Lopez - LPC Clermont (fr) |
461292d6 | 23 | //----------------------------------------------------------------------- |
24 | ||
461292d6 | 25 | #include "AliAnalysisTaskSE.h" |
26 | ||
27 | class TH1I; | |
28 | class TNtuple; | |
29 | class TParticle ; | |
30 | class TFile ; | |
31 | class AliStack ; | |
32 | class AliCFManager; | |
33 | class AliESDtrack; | |
34 | class AliVParticle; | |
35 | ||
36 | class AliCFMuonSingleTask1 : public AliAnalysisTaskSE { | |
37 | public: | |
38 | ||
39 | AliCFMuonSingleTask1(); | |
40 | AliCFMuonSingleTask1(const Char_t* name); | |
41 | AliCFMuonSingleTask1& operator= (const AliCFMuonSingleTask1& c); | |
42 | AliCFMuonSingleTask1(const AliCFMuonSingleTask1& c); | |
43 | virtual ~AliCFMuonSingleTask1(); | |
44 | ||
45 | // ANALYSIS FRAMEWORK STUFF to loop on data and fill output objects | |
46 | void UserExec(Option_t *option); | |
47 | void Terminate(Option_t *); | |
48 | ||
49 | // CORRECTION FRAMEWORK RELATED FUNCTIONS | |
50 | void SetCFManager(AliCFManager* const io) {fCFManager = io;} // global correction manager | |
1074989a | 51 | AliCFManager * GetCFManager() const {return fCFManager;} // get corr manager |
461292d6 | 52 | void SetQAList(TList* const list) {fQAHistList = list;} |
53 | ||
54 | // Data types | |
55 | Bool_t IsReadAODData() const {return fReadAODData;} | |
56 | void SetReadAODData (Bool_t flag=kTRUE) {fReadAODData=flag;} | |
1074989a | 57 | void SetUseMC(Bool_t isMC) { fIsMC = isMC;} |
461292d6 | 58 | |
59 | protected: | |
60 | ||
1074989a | 61 | Bool_t fReadAODData ; // flag for AOD/ESD input files |
62 | AliCFManager *fCFManager ; // pointer to the CF manager | |
63 | TList *fQAHistList ; // list of QA histograms | |
64 | TH1I *fHistEventsProcessed;// simple histo for monitoring the number of events processed | |
65 | Int_t fNevt ; // event countor | |
66 | ||
67 | Float_t Rap(Float_t e, Float_t pz); | |
68 | Float_t Phideg(Float_t phi); | |
69 | Bool_t fIsMC; // flag of whether the input is MC | |
461292d6 | 70 | |
461292d6 | 71 | ClassDef(AliCFMuonSingleTask1,1); |
72 | }; | |
73 | ||
74 | #endif |