Protection to skip PYTHIA events with large jet energy compared to pTHard
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliAnalysisTaskParticleCorrelation.h
CommitLineData
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 ---
16class TList;
17
18//--- AliRoot ---
1c5acb87 19#include "AliAnalysisTaskSE.h"
20class AliAnaPartCorrMaker;
21class AliESDEvent;
22class AliAODEvent;
1c5acb87 23
24class 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();
34 virtual void LocalInit() {Init();}
35 virtual void UserExec(Option_t *option);
36 virtual void Terminate(Option_t *option);
37
38 void SetConfigFileName(TString name ) {fConfigName = name ; }
39 TString GetConfigFileName() const {return fConfigName ; }
1c5acb87 40
477d6cee 41 void SetAnalysisMaker(AliAnaPartCorrMaker *maker) {fAna = maker;}
42
1c5acb87 43 private:
477d6cee 44 AliAnalysisTaskParticleCorrelation(const AliAnalysisTaskParticleCorrelation&); // Not implemented
45 AliAnalysisTaskParticleCorrelation& operator=(const AliAnalysisTaskParticleCorrelation&); // Not implemented
46
47 AliAnaPartCorrMaker* fAna; // Pointer to the manager class
48 TList * fOutputContainer ; //! Histogram container
49 TString fConfigName ; //Configuration file name
50
51 ClassDef(AliAnalysisTaskParticleCorrelation, 2); // Analysis task for standard gamma correlation analysis
1c5acb87 52};
477d6cee 53
1c5acb87 54#endif //ALIANALYSISTASKPARTICLECORRELATION_H