]>
Commit | Line | Data |
---|---|---|
461292d6 | 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 | ||
16 | //----------------------------------------------------------------------- | |
17 | // Author : R. Vernet, Consorzio Cometa - Catania (it) | |
18 | //----------------------------------------------------------------------- | |
19 | // Modification done by X. Lopez - LPC Clermont (fr) | |
20 | //----------------------------------------------------------------------- | |
21 | ||
22 | #ifndef ALICFMUONSINGLETASK1_H | |
23 | #define ALICFMUONSINGLETASK1_H | |
24 | ||
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 | |
51 | AliCFManager * GetCFManager() const {return fCFManager;} // get corr manager | |
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;} | |
57 | ||
58 | protected: | |
59 | ||
60 | Bool_t fReadAODData ; // flag for AOD/ESD input files | |
61 | AliCFManager *fCFManager ; // pointer to the CF manager | |
62 | TList *fQAHistList ; // list of QA histograms | |
63 | TH1I *fHistEventsProcessed; // simple histo for monitoring the number of events processed | |
64 | Int_t fNevt ; // event countor | |
65 | ||
66 | const Float_t Rap(Float_t e, Float_t pz); | |
67 | const Float_t Phideg(Float_t phi); | |
68 | ||
69 | ClassDef(AliCFMuonSingleTask1,1); | |
70 | }; | |
71 | ||
72 | #endif |