update to master versions
[u/mrichter/AliRoot.git] / PWGCF / Correlations / JCORRAN / AliJCORRANTask.h
CommitLineData
37dde34e 1#ifndef ALIJCORRANTASK_H
2#define ALIJCORRANTASK_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6//______________________________________________________________________________
7// Analysis task for high pt particle correlations
8// author: R.Diaz, J. Rak, D.J. Kim
9// ALICE Group University of Jyvaskyla
10// Finland
11//
12// Fill the analysis containers for ESD or AOD
13// Note: Adapted for AliAnalysisTaskSE
14//////////////////////////////////////////////////////////////////////////////
15
16#include <iostream>
17#include <fstream>
18#include <stdlib.h>
19#include <stdio.h>
20#include <iomanip>
21
22//#include <TTree.h>
23//#include <TList.h>
24#include <TVectorT.h>
25#include "AliAnalysisTaskSE.h"
26//#include "AliAnalysisFilter.h"
27//#include "AliMCEvent.h"
28#include "AliJRunHeader.h"
29#include "AliESDVZERO.h"
30#include "AliESDTZERO.h"
31//#include "AliESDFMD.h"
32#include "AliESDZDC.h"
33#include "AliJConst.h"
34#include "AliESDpid.h"
37dde34e 35#include "AliPHOSGeoUtils.h"
36#include "AliPIDResponse.h"
37#include "AliPIDCombined.h"
66be7134 38#include "AliJFilter.h"
39#include "AliJEfficiencyScanner.h"
37dde34e 40
41//==============================================================
42
43using namespace std;
44
37dde34e 45class TH1D;
46class TH2D;
47class TNtuple;
48class TList;
49class TTree;
50class TFormula;
51
52class AliMCEvent;
53class AliESDEvent;
54class AliAODEvent;
55class AliAODTrack;
56class AliESDtrackCuts;
57class AliESDVZERO;
58class AliESDCentrality;
59
60class AliJRunHeader;
61class AliMCEvent;
62class AliAnalysisFilter;
63class AliJTrack;
64class AliJEventHeader;
65
66
67
68class AliJCORRANTask : public AliAnalysisTaskSE {
69
70 public:
71 AliJCORRANTask();
72 AliJCORRANTask(const char *name, TString inputformat);
73 AliJCORRANTask(const AliJCORRANTask& ap);
74 AliJCORRANTask& operator = (const AliJCORRANTask& ap);
75 virtual ~AliJCORRANTask();
76
77 // methods to fill from AliAnalysisTaskSE
78 virtual void UserCreateOutputObjects();
66be7134 79 virtual void Init();
37dde34e 80 virtual void LocalInit() { Init(); }
81 virtual void UserExec(Option_t *option);
5ca97880 82 virtual void Terminate(Option_t* );
66be7134 83
84 AliJFilter *GetFilter() { return fFilter; }
85
86 AliJRunHeader * GetJRunHeader(){ return fAliJRunHeader; }
87 void SetJRunHeader( AliJRunHeader * hdr ){ fAliJRunHeader = hdr ; }
37dde34e 88
89 private:
37dde34e 90
66be7134 91 AliJFilter *fFilter; // filter object
66be7134 92 AliJRunHeader * fAliJRunHeader;
37dde34e 93
5ca97880 94 ClassDef(AliJCORRANTask, 3);
37dde34e 95};
96#endif // AliJCORRANTask_H