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 **************************************************************************/
16 //-----------------------------------------------------------------------
17 // Author : R. Vernet, INFN - Catania (it)
18 //-----------------------------------------------------------------------
20 #ifndef ALICFTASKFORUNFOLDING_H
21 #define ALICFTASKFORUNFOLDING_H
23 #include "AliAnalysisTaskSE.h"
34 class AliCFTaskForUnfolding : public AliAnalysisTaskSE {
37 AliCFTaskForUnfolding();
38 AliCFTaskForUnfolding(const Char_t* name);
39 virtual ~AliCFTaskForUnfolding();
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 *);
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;}
53 AliCFManager *fCFManager ; // pointer to the CF manager
57 TH1I *fHistEventsProcessed; // simple histo for monitoring the number of events processed
58 THnSparse* fCorrelation; //response matrix for unfolding
59 ClassDef(AliCFTaskForUnfolding,0);