]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/analysis/AliFMDAnalysisTaskBackgroundCorrection.h
add maximum M02 band cut, retune fit param, define temporary m02 cut for eta and...
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis / AliFMDAnalysisTaskBackgroundCorrection.h
CommitLineData
3bb122c7 1#ifndef ALIFMDANALYSISTASKBACKGROUNDCORRECTION_H
2#define ALIFMDANALYSISTASKBACKGROUNDCORRECTION_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "AliAnalysisTask.h"
8
9#include "TObjArray.h"
8dc7c4c2 10#include "TObjString.h"
11#include "TArrayI.h"
875e75b6 12#include "TH1I.h"
3bb122c7 13
cfe59e45 14/**
15 * @ingroup FMD_ana
16 * @brief Applu the background correction
17 * particles.
18 *
19 */
3bb122c7 20class AliFMDAnalysisTaskBackgroundCorrection : public AliAnalysisTask
21{
22 public:
23 AliFMDAnalysisTaskBackgroundCorrection();
7c3e5162 24 AliFMDAnalysisTaskBackgroundCorrection(const char* name, Bool_t SE = kTRUE);
3bb122c7 25 virtual ~AliFMDAnalysisTaskBackgroundCorrection() {;}
c78bc12b 26 AliFMDAnalysisTaskBackgroundCorrection(const AliFMDAnalysisTaskBackgroundCorrection& o) : AliAnalysisTask(),
27 fDebug(o.fDebug),
7c3e5162 28 fOutputList(0),
29 fInputList(0),
cc066cb9 30 fHitList(0),
c78bc12b 31 fVertexString(o.fVertexString),
7c3e5162 32 fNevents(o.fNevents),
33 fStandalone(o.fStandalone),
34 fOutputVertexString(o.fOutputVertexString) {}
8dc823cc 35 AliFMDAnalysisTaskBackgroundCorrection& operator=(const AliFMDAnalysisTaskBackgroundCorrection&) { return *this; }
3bb122c7 36 // Implementation of interface methods
37 virtual void ConnectInputData(Option_t *option = "");
38 virtual void CreateOutputObjects();
39 virtual void Init() {}
40 virtual void LocalInit() {Init();}
41 virtual void Exec(Option_t *option);
8dc823cc 42 virtual void Terminate(Option_t *option);
3bb122c7 43 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
ff293341 44 void SetInputList(TList* inputList) {fInputList = inputList;}
45 void SetOutputVertex(TObjString* vtxString) {fOutputVertexString = vtxString;}
46 //void SetInputVtx(TObjString* vtxString) {fVertexString = vtxString;}
47 void SetOutputList(TList* outputList) {fOutputList = outputList;}
48 void SetHitList(TList* hitList) {fHitList = hitList;}
49 void CreatePerEventHistogram(Int_t vtxbin);
3bb122c7 50 private:
51 Int_t fDebug; // Debug flag
7c3e5162 52 TList* fOutputList;
53 TList* fInputList;
cc066cb9 54 TList* fHitList;
8dc823cc 55 TObjString* fVertexString;
875e75b6 56 TH1I fNevents;
7c3e5162 57 Bool_t fStandalone;
58 TObjString* fOutputVertexString;
3bb122c7 59 ClassDef(AliFMDAnalysisTaskBackgroundCorrection, 0); // Analysis task for FMD analysis
60};
61
62#endif
cfe59e45 63// Local Variables:
64// mode: C++
65// End: