]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/SPECTRA/XtAnalysis/AliXtAnalysis.h
Removed some classed (Same code in JCORRAN packet under PWG-CF) + polished remaining...
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / XtAnalysis / AliXtAnalysis.h
CommitLineData
072855d8 1/**************************************************************************
2 * AliXtAnalysis:
3 * This class constructs inclusive and isolated (based on charged tracks)
4 * invariant spectra. Isolated case uses a different efficiency where the
5 * contamination from cases where non-isolated particle appears as an
6 * isolated one due to finite detector efficiency is taken into account.
7 *
8 * contact: Sami Räsänen
9 * University of Jyväskylä, Finland
10 * sami.s.rasanen@jyu.fi
11 **************************************************************************/
12
13#ifndef ALIXTANALYSIS_H
14#define ALIXTANALYSIS_H
15
16#include <AliAnalysisTaskSE.h>
17
18class AliVEvent;
19class TList;
20class AliAnalysisUtils;
21class AliJCard;
22class TDirectory;
23class AliJXtHistos;
24class TH1D;
25class TObjArray;
26
27class AliXtAnalysis : public AliAnalysisTaskSE {
28
29 public:
30 AliXtAnalysis();
31 AliXtAnalysis(const char *name, const char *cardname);
32 AliXtAnalysis(const AliXtAnalysis& a);
33 AliXtAnalysis& operator=(const AliXtAnalysis& ap);
34
35 virtual ~AliXtAnalysis();
36
37 virtual void UserCreateOutputObjects();
38 virtual void UserExec(Option_t *option);
39 virtual void Terminate(Option_t *);
40
41 bool IsGoodEvent(AliVEvent *event);
42 void SetDebugMode( int debug) { fDebugMode = debug; };
43
44 private:
45 TList *fOutputList; // Output list
46 AliAnalysisUtils *fAnaUtils; // Analysis utils
47
48 //AliIsolatedEfficiency *fEfficiency; // TODO: isolated efficiency, currently eff = 1
49 AliJCard *fCard; // All parameters
50
51 TDirectory *fHistDir; // histograms to the directory, structure compatible with JCORRAN
52 AliJXtHistos *fHistos; // encapsulate (almost) all histograms
53 TH1D *fhEvents; // general event statistics
54
55 TObjArray *fChargedList; // accepted charged tracks in an event
56 TObjArray *fIsolatedChargedList; // isolated charged tracks in an event
57
58 int fCentBin; // centrality bin
59 int fZBin; // z -vertex bin
60 double fZVert; // z -vertex
61
62 Int_t fevt; // event number
63 int fDebugMode; // debug mode
64
65 ClassDef(AliXtAnalysis, 1);
66};
67
68#endif