]>
Commit | Line | Data |
---|---|---|
1c5acb87 | 1 | #ifndef ALIANALYSISTASKPARTICLECORRELATION_H |
2 | #define ALIANALYSISTASKPARTICLECORRELATION_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 PartCorr frame, frame for Particle identification and correlations. | |
10 | // Specially designed for calorimeters but also can be used for charged tracks | |
11 | // Input of this task is a configuration file that contains all the settings of the analyis | |
12 | // | |
13 | // -- Author: Gustavo Conesa (INFN-LNF) | |
fbeaf916 | 14 | |
15 | //--- Root --- | |
16 | class TList; | |
17 | ||
18 | //--- AliRoot --- | |
1c5acb87 | 19 | #include "AliAnalysisTaskSE.h" |
20 | class AliAnaPartCorrMaker; | |
21 | class AliESDEvent; | |
22 | class AliAODEvent; | |
1c5acb87 | 23 | |
24 | class AliAnalysisTaskParticleCorrelation : public AliAnalysisTaskSE | |
25 | { | |
26 | public: | |
477d6cee | 27 | AliAnalysisTaskParticleCorrelation(); |
28 | AliAnalysisTaskParticleCorrelation(const char* name); | |
29 | virtual ~AliAnalysisTaskParticleCorrelation() ;// virtual dtor | |
30 | ||
31 | // Implementation of interface methods | |
32 | virtual void UserCreateOutputObjects(); | |
33 | virtual void Init(); | |
0c1383b5 | 34 | virtual void LocalInit() ; |
477d6cee | 35 | virtual void UserExec(Option_t *option); |
36 | virtual void Terminate(Option_t *option); | |
66580b85 | 37 | virtual void FinishTaskOutput(); |
477d6cee | 38 | |
33f3d6b9 | 39 | void SetConfigFileName(TString & name ) {fConfigName = name ; } |
477d6cee | 40 | TString GetConfigFileName() const {return fConfigName ; } |
42dc8e7d | 41 | |
42 | void SetAnalysisMaker(AliAnaPartCorrMaker * const maker) {fAna = maker;} | |
477d6cee | 43 | |
1c5acb87 | 44 | private: |
477d6cee | 45 | AliAnalysisTaskParticleCorrelation(const AliAnalysisTaskParticleCorrelation&); // Not implemented |
46 | AliAnalysisTaskParticleCorrelation& operator=(const AliAnalysisTaskParticleCorrelation&); // Not implemented | |
47 | ||
42dc8e7d | 48 | AliAnaPartCorrMaker* fAna; // Pointer to the manager class |
49 | TList * fOutputContainer ; //! Histogram container | |
50 | TString fConfigName ; // Configuration file name | |
0c1383b5 | 51 | TList * fCuts ; //! List with analysis cuts |
42dc8e7d | 52 | |
0c1383b5 | 53 | ClassDef(AliAnalysisTaskParticleCorrelation, 3); // Analysis task for standard gamma correlation analysis |
1c5acb87 | 54 | }; |
477d6cee | 55 | |
1c5acb87 | 56 | #endif //ALIANALYSISTASKPARTICLECORRELATION_H |