Include standard cuts in analysis. Make it more suitable for proof analysis: eliminat...
[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"
14#include "TVector3.h"
aad6618e 15
55065f3f 16class TObjArray;
a07db2fb 17class AliHistogramCollection;
18class TString;
19class TAxis;
20class AliVParticle;
21class AliAODEvent;
22class AliMuonTrackCuts;
23
24class AliAnalysisTaskSingleMu : public AliVAnalysisMuon {
aad6618e 25 public:
a07db2fb 26 AliAnalysisTaskSingleMu();
27 AliAnalysisTaskSingleMu(const char *name, const AliMuonTrackCuts& cuts);
9728bcfd 28 virtual ~AliAnalysisTaskSingleMu();
589e3f71 29
a07db2fb 30 virtual void Terminate(Option_t *option);
589e3f71 31
a07db2fb 32 void MyUserCreateOutputObjects();
33 void ProcessEvent(TString physSel, const TObjArray& selectTrigClasses, TString centrality);
589e3f71 34
9728bcfd 35 private:
8b8b0b7a 36
b201705a 37 AliAnalysisTaskSingleMu(const AliAnalysisTaskSingleMu&);
38 AliAnalysisTaskSingleMu& operator=(const AliAnalysisTaskSingleMu&);
aad6618e 39
a07db2fb 40 // Histograms to extract average DCA position
662e37fe 41 enum {
a07db2fb 42 kIPVz, ///< Interaction point vertex distribution
43 kTrackContainer, ///< CF container for tracks
44 kNhistoTypes ///< Number of histograms
aad6618e 45 };
46
662e37fe 47 enum {
a07db2fb 48 kThetaAbs23, ///< Theta abs 2-3 deg
49 kThetaAbs310, ///< Theta abs 3-10 deg
50 kNthetaAbs ///< Number of theta abs bins
b201705a 51 };
52
b201705a 53 enum {
a07db2fb 54 kStepReconstructed, ///< Reconstructed tracks
55 kStepGeneratedMC, ///< Generated tracks (MC)
56 kNsteps ///< Number of steps
57 };
58
b201705a 59 enum {
a07db2fb 60 kHvarPt, ///< Pt at vertex
61 kHvarEta, ///< Pseudo-Rapidity
62 kHvarPhi, ///< Phi
63 kHvarVz, ///< Z vertex position
64 kHvarCharge, ///< Particle charge
65 kHvarThetaAbs, ///< Theta abs bin
66 kHvarMotherType, ///< Mother type (MC only)
67 kNvars ///< THnSparse dimensions
b201705a 68 };
69
a07db2fb 70 TObjArray* fThetaAbsKeys; ///< Name of theta at absorber end
aad6618e 71
a07db2fb 72 ClassDef(AliAnalysisTaskSingleMu, 1); // Single muon analysis
aad6618e 73};
74
4ab8d5a6 75#endif