]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliAnalysisTaskDiJets.h
Bug spotted by Raphael.
[u/mrichter/AliRoot.git] / JETAN / AliAnalysisTaskDiJets.h
CommitLineData
bd24e6dc 1#ifndef ALIANALYSISTASKDIJETS_H
2#define ALIANALYSISTASKDIJETS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
4f49cbd0 6
bd24e6dc 7#include "AliAnalysisTaskSE.h"
4f49cbd0 8#include <TList.h>
9#include <TH1F.h>
10#include <TH2F.h>
11
bd24e6dc 12class AliAnalysisTaskDiJets : public AliAnalysisTaskSE
13{
14 public:
15 AliAnalysisTaskDiJets();
16 AliAnalysisTaskDiJets(const char* name);
17 virtual ~AliAnalysisTaskDiJets() {;}
4f49cbd0 18
bd24e6dc 19 // Implementation of interface methods
20 virtual void UserCreateOutputObjects();
21 virtual void Init();
22 virtual void LocalInit() {Init();}
23 virtual void UserExec(Option_t *option);
24 virtual void Terminate(Option_t *option);
863dbf3b 25
26 void SetFillAOD(Bool_t fill) { fFillAOD=fill; }
27
bd24e6dc 28 private:
29 AliAnalysisTaskDiJets(const AliAnalysisTaskDiJets &det);
30 AliAnalysisTaskDiJets &operator=(const AliAnalysisTaskDiJets &det);
4f49cbd0 31
bd24e6dc 32 private:
33 TClonesArray* fDiJets; // Array of dijets
34 TClonesArray* fDiJetsIn; // Array of dijets
4f49cbd0 35
863dbf3b 36 Bool_t fFillAOD; // option to fill AOD branch
37
4f49cbd0 38 TList *fHistList; // Output list
39
40 TH1F *fH1DeltaPt; // Pt difference
41 TH1F *fH1DeltaPhi; // delta phi plot in (0,pi)
42 TH1F *fH1PhiImbal; // phi imbalance (-pi,pi)
43 TH1F *fH1Asym; // asymmetry of the dijet
44 TH2F *fH2Pt2vsPt1; // scatter plot with the two jets' Pt
45 TH2F *fH2DifvsSum; // Pt difference vs Pt sum
46
47 ClassDef(AliAnalysisTaskDiJets, 2); // Analysis task for standard dijet analysis
bd24e6dc 48};
4f49cbd0 49
bd24e6dc 50#endif