1 #ifndef ALIFMDANALYSISTASKBFCORRELATION_H
2 #define ALIFMDANALYSISTASKBFCORRELATION_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 #include "AliAnalysisTask.h"
10 #include "TObjString.h"
14 #include "AliMCEvent.h"
15 #include "AliFMDFloatMap.h"
19 * Task to do the backward/forward correlation analysis
22 * List of histograms from AliFMDAnaysisTaskBackground
25 * List of histograms of ...
27 * Used correction objects:
32 class AliFMDAnalysisTaskBFCorrelation : public AliAnalysisTask
40 AliFMDAnalysisTaskBFCorrelation();
44 * @param name Name of task
45 * @param SE Whether we're run from SE task
47 AliFMDAnalysisTaskBFCorrelation(const char* name, Bool_t SE = kTRUE);
51 virtual ~AliFMDAnalysisTaskBFCorrelation() {;}
55 * @param o Object to copy from
57 AliFMDAnalysisTaskBFCorrelation(const AliFMDAnalysisTaskBFCorrelation& o)
63 fVertexString(o.fVertexString),
64 fStandalone(o.fStandalone),
77 * @return Reference to this.
79 AliFMDAnalysisTaskBFCorrelation&
80 operator=(const AliFMDAnalysisTaskBFCorrelation&) { return *this; }
83 * @name Implementation of interface methods
85 virtual void ConnectInputData(Option_t *option = "");
86 virtual void CreateOutputObjects();
87 virtual void Init() {}
88 virtual void LocalInit() {Init();}
89 virtual void Exec(Option_t *option);
90 virtual void Terminate(Option_t *option);
91 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
96 * Set the input list of histograms
98 * @param inputList Input list
100 void SetInputList(TList* inputList) {fInputList = inputList;}
102 * Set the input vertex
104 * @param vtxString String
106 void SetInputVertex(TObjString* vtxString) {fVertexString = vtxString;}
108 * Set the output list
110 * @param outputList Output list
112 void SetOutputList(TList* outputList) {fOutputList = outputList;}
114 * Project the data, and mirror it.
118 void ProjectAndMirror(TString sType);
124 void CalculateValues(TString sType);
125 // void ProjectAndMirror(TString type);
126 // void CalculateParameters(TString type);
128 * The multiplicity versus eta
132 void MultiplicityVsEta(TString type);
134 * Create the response matrix
137 void CreateResponseMatrix();
139 * Process a primary hit
142 void ProcessPrimary();
144 * Get the list out out objects
149 TList* GetOutputList() {return fOutputList;}
152 Int_t fDebug; // Debug flag
153 TList* fOutputList; // output list
154 TList* fInputList; // Input list
155 TList* fInternalList; // Internal list
156 TObjString* fVertexString; // Vertex string
157 Bool_t fStandalone; // Running standalone?
159 Int_t fEvent; // Event number
160 Int_t fnBinsX; // Number of bins
161 Float_t fXmin; // Minimum
162 Float_t fXmax; // Maximum
163 Int_t fnBinsY; // Number of bins
164 Float_t fYmin; // Minumum
165 Float_t fYmax; // Maximum
167 ClassDef(AliFMDAnalysisTaskBFCorrelation, 0); // Analysis task for FMD analysis