Fix problem in terminate. Add possibility to select the minimum number of vertex...
[u/mrichter/AliRoot.git] / PWG / muon / AliAnalysisTaskSingleMu.h
CommitLineData
27de2dfb 1#ifndef ALIANALYSISTASKSINGLEMU_H
2#define ALIANALYSISTASKSINGLEMU_H
3
4/* $Id$ */
5
a07db2fb 6//
7// AliAnalysisTaskSingleMu
8// Analysis task for single muons in the spectrometer
9//
10// Author: Diego Stocco
11//
4ab8d5a6 12
a07db2fb 13#include "AliVAnalysisMuon.h"
aad6618e 14
55065f3f 15class TObjArray;
a07db2fb 16class TString;
17class TAxis;
a07db2fb 18class AliMuonTrackCuts;
19
20class AliAnalysisTaskSingleMu : public AliVAnalysisMuon {
aad6618e 21 public:
a07db2fb 22 AliAnalysisTaskSingleMu();
23 AliAnalysisTaskSingleMu(const char *name, const AliMuonTrackCuts& cuts);
9728bcfd 24 virtual ~AliAnalysisTaskSingleMu();
589e3f71 25
a07db2fb 26 virtual void Terminate(Option_t *option);
589e3f71 27
a07db2fb 28 void MyUserCreateOutputObjects();
29 void ProcessEvent(TString physSel, const TObjArray& selectTrigClasses, TString centrality);
589e3f71 30
9728bcfd 31 private:
8b8b0b7a 32
b201705a 33 AliAnalysisTaskSingleMu(const AliAnalysisTaskSingleMu&);
34 AliAnalysisTaskSingleMu& operator=(const AliAnalysisTaskSingleMu&);
aad6618e 35
662e37fe 36 enum {
a07db2fb 37 kIPVz, ///< Interaction point vertex distribution
38 kTrackContainer, ///< CF container for tracks
12e33589 39 kNobjectTypes ///< Number of objects
aad6618e 40 };
41
662e37fe 42 enum {
a07db2fb 43 kThetaAbs23, ///< Theta abs 2-3 deg
44 kThetaAbs310, ///< Theta abs 3-10 deg
45 kNthetaAbs ///< Number of theta abs bins
b201705a 46 };
47
b201705a 48 enum {
a07db2fb 49 kStepReconstructed, ///< Reconstructed tracks
50 kStepGeneratedMC, ///< Generated tracks (MC)
51 kNsteps ///< Number of steps
52 };
53
b201705a 54 enum {
a07db2fb 55 kHvarPt, ///< Pt at vertex
56 kHvarEta, ///< Pseudo-Rapidity
57 kHvarPhi, ///< Phi
58 kHvarVz, ///< Z vertex position
59 kHvarCharge, ///< Particle charge
60 kHvarThetaAbs, ///< Theta abs bin
61 kHvarMotherType, ///< Mother type (MC only)
62 kNvars ///< THnSparse dimensions
b201705a 63 };
64
a07db2fb 65 TObjArray* fThetaAbsKeys; ///< Name of theta at absorber end
aad6618e 66
12e33589 67 ClassDef(AliAnalysisTaskSingleMu, 3); // Single muon analysis
aad6618e 68};
69
4ab8d5a6 70#endif