]>
Commit | Line | Data |
---|---|---|
f15155ed | 1 | #ifndef ALIANALYSISTASKCALOTRACKCORRELATIONM_H |
2 | #define ALIANALYSISTASKCALOTRACKCORRELATIONM_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //_________________________________________________________________________ | |
8 | // Analysis task that executes the analysis classes | |
9 | // that depend on the CaloTrackCorr frame, frame for Particle identification | |
10 | // with calorimeters and tracks and correlations. | |
11 | // Specially designed for calorimeters but also can be used for charged tracks | |
12 | // Input of this task is a configuration file that contains all the settings | |
13 | // of the analysis | |
14 | // | |
15 | // -- Author: Gustavo Conesa (INFN-LNF, LPSC-Grenoble) | |
16 | ||
17 | //--- Root --- | |
18 | class TList; | |
19 | ||
20 | //--- AliRoot --- | |
21 | #include "AliAnalysisTaskME.h" | |
22 | class AliAnaCaloTrackCorrMaker; | |
23 | class AliMixedEvent; | |
24 | class AliMCEvent; | |
25 | ||
26 | class AliAnalysisTaskCaloTrackCorrelationM : public AliAnalysisTaskME | |
27 | { | |
28 | public: | |
0de1814a | 29 | |
f15155ed | 30 | AliAnalysisTaskCaloTrackCorrelationM(); |
31 | AliAnalysisTaskCaloTrackCorrelationM(const char* name); | |
32 | virtual ~AliAnalysisTaskCaloTrackCorrelationM() ; // virtual dtor | |
33 | ||
34 | // Implementation of interface methods | |
35 | virtual void UserCreateOutputObjects(); | |
36 | virtual void Init(); | |
37 | virtual void LocalInit() ; | |
38 | virtual void UserExec(Option_t *option); | |
39 | virtual void Terminate(Option_t *option); | |
40 | ||
41 | void SetConfigFileName(TString & name ) { fConfigName = name ; } | |
42 | TString GetConfigFileName() const { return fConfigName ; } | |
43 | ||
44 | void SetAnalysisMaker(AliAnaCaloTrackCorrMaker * const maker) { fAna = maker ; } | |
45 | AliMixedEvent * InputEvent() { return fInputEvent ; } | |
0de1814a | 46 | AliMCEvent* MCEvent() const { return NULL ; } // do something about MC event |
f15155ed | 47 | |
48 | private: | |
0de1814a | 49 | |
f15155ed | 50 | AliAnalysisTaskCaloTrackCorrelationM( const AliAnalysisTaskCaloTrackCorrelationM&); // Not implemented |
51 | AliAnalysisTaskCaloTrackCorrelationM& operator=(const AliAnalysisTaskCaloTrackCorrelationM&); // Not implemented | |
52 | ||
53 | AliAnaCaloTrackCorrMaker* fAna; // Pointer to the manager class | |
54 | TList * fOutputContainer ; //! Histogram container | |
55 | TString fConfigName ; // Configuration file name | |
56 | TList * fCuts ; //! List with analysis cuts | |
0de1814a | 57 | AliMixedEvent * fInputEvent; // Mixed event access pointer |
f15155ed | 58 | |
59 | ClassDef(AliAnalysisTaskCaloTrackCorrelationM, 3); // Analysis task for standard gamma correlation analysis | |
60 | }; | |
61 | ||
62 | #endif //ALIANALYSISTASKCALOTRACKCORRELATIONM_H |