1 /**************************************************************************
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.
8 * contact: Sami Räsänen
9 * University of Jyväskylä, Finland
10 * sami.s.rasanen@jyu.fi
11 **************************************************************************/
13 #ifndef ALIXTANALYSIS_H
14 #define ALIXTANALYSIS_H
16 #include <AliAnalysisTaskSE.h>
20 class AliAnalysisUtils;
27 class AliXtAnalysis : public AliAnalysisTaskSE {
31 AliXtAnalysis(const char *name, const char *cardname);
32 AliXtAnalysis(const AliXtAnalysis& a);
33 AliXtAnalysis& operator=(const AliXtAnalysis& ap);
35 virtual ~AliXtAnalysis();
37 virtual void UserCreateOutputObjects();
38 virtual void UserExec(Option_t *option);
39 virtual void Terminate(Option_t *);
41 bool IsGoodEvent(AliVEvent *event);
42 void SetDebugMode( int debug) { fDebugMode = debug; };
45 TList *fOutputList; // Output list
46 AliAnalysisUtils *fAnaUtils; // Analysis utils
48 //AliIsolatedEfficiency *fEfficiency; // TODO: isolated efficiency, currently eff = 1
49 AliJCard *fCard; // All parameters
51 TDirectory *fHistDir; // histograms to the directory, structure compatible with JCORRAN
52 AliJXtHistos *fHistos; // encapsulate (almost) all histograms
53 TH1D *fhEvents; // general event statistics
55 TObjArray *fChargedList; // accepted charged tracks in an event
56 TObjArray *fIsolatedChargedList; // isolated charged tracks in an event
58 int fCentBin; // centrality bin
59 int fZBin; // z -vertex bin
60 double fZVert; // z -vertex
62 Int_t fevt; // event number
63 int fDebugMode; // debug mode
65 ClassDef(AliXtAnalysis, 1);