AliPhysics  master (3d17d9d)
AliAnalysisTaskNBodyFemtoscopy.h
Go to the documentation of this file.
1 /*
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3  * See cxx source for full Copyright notice
4  * $Id$
5  */
6 
7 /**************************************
8 * Femtoscopy task for N bodies *
9 Laura Serksnyte
10 laura.serksnyte@cern.ch
11 **************************************/
12 
13 #ifndef ALIANALYSISTASKNBODYFEMTOSCOPY_H
14 #define ALIANALYSISTASKNBODYFEMTOSCOPY_H
15 
16 #include "AliAnalysisTaskSE.h"
17 #include "AliAODTrack.h"
18 #include "AliAODEvent.h"
19 #include "AliVEvent.h"
20 #include "TH1F.h"
21 
22 //================================================================================================================
23 
25  public:
26 
28  AliAnalysisTaskNBodyFemtoscopy(const char *name, Bool_t useParticleWeights=kFALSE);
30  virtual void UserCreateOutputObjects();
31  virtual void UserExec(Option_t *);
32  virtual void Terminate(Option_t *);
33 
34  // 0.) Methods called in the constructor:
35  virtual void InitializeArrays();
36 
37  // 1.) Methods called in UserCreateOutputObjects():
38  virtual void BookAndNestAllLists();
39  virtual void BookControlHistograms();
40  virtual void BookFinalResultsHistograms();
41 
42  // 2.) Methods called in UserExec(Option_t *):
43  // ...
44 
45  // 3.) Setters and getters:
46  void SetControlHistogramsList(TList* const chl) {this->fControlHistogramsList = chl;};
48  void SetFinalResultsList(TList* const frl) {this->fFinalResultsList = frl;};
49  TList* GetFinalResultsList() const {return this->fFinalResultsList;}
50 
51  void SetPtBinning(Int_t const nbins, Float_t min, Float_t max)
52  {
53  this->fNbinsPt = nbins;
54  this->fMinBinPt = min;
55  this->fMaxBinPt = max;
56  };
57 
58  private:
61 
62  // 0.) Base lists:
63  TList *fHistList; // base list to hold all output object (a.k.a. grandmother of all lists)
64 
65  // 1.) Control histograms:
66  TList *fControlHistogramsList; // list to hold all control histograms
67  TH1F *fPtHist; // atrack->Pt()
68  Int_t fNbinsPt; // number of bins
69  Float_t fMinBinPt; // min bin
70  Float_t fMaxBinPt; // min bin
71 
72  // 2.) Final results:
73  TList *fFinalResultsList; // list to hold all histograms with final results
74 
75  // Increase this counter in each new version:
77 
78 };
79 
80 //================================================================================================================
81 
82 #endif
83 
84 
85 
86 
void SetPtBinning(Int_t const nbins, Float_t min, Float_t max)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
AliAnalysisTaskNBodyFemtoscopy & operator=(const AliAnalysisTaskNBodyFemtoscopy &aatmpf)
const char Option_t
Definition: External.C:48
const Int_t nbins
bool Bool_t
Definition: External.C:53