]>
Commit | Line | Data |
---|---|---|
c0b10ad4 | 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, INFN - Catania (it) | |
18 | //----------------------------------------------------------------------- | |
19 | ||
20 | #ifndef ALICFTASKFORUNFOLDING_H | |
21 | #define ALICFTASKFORUNFOLDING_H | |
22 | ||
23 | #include "AliAnalysisTaskSE.h" | |
24 | ||
25 | class TH1I; | |
26 | class TParticle ; | |
27 | class TFile ; | |
28 | class AliStack ; | |
29 | class AliCFManager; | |
30 | class AliESDtrack; | |
31 | class AliVParticle; | |
32 | class THnSparse; | |
33 | ||
34 | class AliCFTaskForUnfolding : public AliAnalysisTaskSE { | |
35 | public: | |
36 | ||
37 | AliCFTaskForUnfolding(); | |
38 | AliCFTaskForUnfolding(const Char_t* name); | |
39 | virtual ~AliCFTaskForUnfolding(); | |
40 | ||
41 | // ANALYSIS FRAMEWORK STUFF to loop on data and fill output objects | |
42 | void UserCreateOutputObjects(); | |
43 | void UserExec(Option_t *option); | |
44 | void Terminate(Option_t *); | |
45 | ||
46 | // CORRECTION FRAMEWORK RELATED FUNCTIONS | |
47 | void SetCFManager(AliCFManager* io) {fCFManager = io;} // global correction manager | |
48 | AliCFManager * GetCFManager() const {return fCFManager;} // get corr manager | |
49 | void SetCorrelationMatrix(THnSparse* h) {fCorrelation=h;} | |
50 | ||
51 | protected: | |
52 | ||
53 | AliCFManager *fCFManager ; // pointer to the CF manager | |
54 | ||
55 | // Histograms | |
56 | //Number of events | |
fb494025 | 57 | TH1I *fHistEventsProcessed; // simple histo for monitoring the number of events processed |
58 | THnSparse *fCorrelation; //response matrix for unfolding | |
c0b10ad4 | 59 | ClassDef(AliCFTaskForUnfolding,0); |
60 | }; | |
61 | ||
62 | #endif |