]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/STRANGENESS/LambdaK0/AliAnalysisTaskExtractV0pPb.h
AliAnaInsideClusterInvariantMass: Add methods to investigate particle overlapping...
[u/mrichter/AliRoot.git] / PWGLF / STRANGENESS / LambdaK0 / AliAnalysisTaskExtractV0pPb.h
CommitLineData
bd3cbe60 1#ifndef AliAnalysisTaskExtractV0pPb_H
2#define AliAnalysisTaskExtractV0pPb_H
3
4/**************************************************************************
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Author: The ALICE Off-line Project. *
8 * Contributors are mentioned in the code where appropriate. *
9 * *
10 * Permission to use, copy, modify and distribute this software and its *
11 * documentation strictly for non-commercial purposes is hereby granted *
12 * without fee, provided that the above copyright notice appears in all *
13 * copies and that both the copyright notice and this permission notice *
14 * appear in the supporting documentation. The authors make no claims *
15 * about the suitability of this software for any purpose. It is *
16 * provided "as is" without express or implied warranty. *
17 **************************************************************************/
18
19//-----------------------------------------------------------------
20// AliAnalysisTaskExtractV0pPb class
21// ------------------------------
22//
23// Please see cxx file for more details.
24//
25//-----------------------------------------------------------------
26
27// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
28//
29// --- This version: 23rd March 2012
30//
31// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
32
33class TList;
34class TH1F;
35class TH2F;
36class TH3F;
37class TVector3;
38class THnSparse;
39
40class AliESDpid;
41class AliESDtrackCuts;
42class AliAnalysisUtils;
43class AliESDEvent;
44class AliPhysicsSelection;
45class AliCFContainer;
46
47//#include "TString.h"
48//#include "AliESDtrackCuts.h"
49#include "AliAnalysisTaskSE.h"
50
51class AliAnalysisTaskExtractV0pPb : public AliAnalysisTaskSE {
52 public:
53 AliAnalysisTaskExtractV0pPb();
54 AliAnalysisTaskExtractV0pPb(const char *name);
55 virtual ~AliAnalysisTaskExtractV0pPb();
56
57 virtual void UserCreateOutputObjects();
58 virtual void UserExec(Option_t *option);
59 virtual void Terminate(Option_t *);
60
61//---------------------------------------------------------------------------------------
62// Minimalistic Setters for configuration of task: pPb version, V0A
63//---------------------------------------------------------------------------------------
64
65 void SetTPCdEdxSelection ( Bool_t lTPCdEdxSelection = kTRUE ) { fTPCdEdxSelection = lTPCdEdxSelection; }
66
67 private:
68 // Note : In ROOT, "//!" means "do not stream the data from Master node to Worker node" ...
69 // your data member object is created on the worker nodes and streaming is not needed.
70 // http://root.cern.ch/download/doc/11InputOutput.pdf, page 14
71 TList *fListHistV0; //! List of output objects
72 TTree *fTree; //! Output Tree filled with V0 candidates
73 TTree *fTreeEvents; //! Output Tree filled with Events
74
75 AliPIDResponse *fPIDResponse; // PID response object
76
77 //Objects Controlling Task Behaviour
78
79 //Extra selections
80 Bool_t fTPCdEdxSelection; //Configuration to apply extra TPC dE/dx selection for better filling of tree
81
82 //Variables for Tree
83 Float_t fTreeVariableChi2V0; //!
84 Float_t fTreeVariableDcaV0Daughters; //!
85 Float_t fTreeVariableDcaV0ToPrimVertex; //!
86 Float_t fTreeVariableDcaPosToPrimVertex; //!
87 Float_t fTreeVariableDcaNegToPrimVertex; //!
88 Float_t fTreeVariableV0CosineOfPointingAngle; //!
89 Float_t fTreeVariableV0Radius; //!
90 Float_t fTreeVariablePt; //!
91 Float_t fTreeVariableRapK0Short; //!
92 Float_t fTreeVariableRapLambda; //!
93 Float_t fTreeVariableInvMassK0s; //!
94 Float_t fTreeVariableInvMassLambda; //!
95 Float_t fTreeVariableInvMassAntiLambda; //!
96 Float_t fTreeVariableAlphaV0; //!
97 Float_t fTreeVariablePtArmV0;//!
98 Float_t fTreeVariableNegTotMomentum; //!
99 Float_t fTreeVariablePosTotMomentum; //!
100 Float_t fTreeVariableNegdEdxSig; //!
101 Float_t fTreeVariablePosdEdxSig; //!
102 Float_t fTreeVariableNegEta; //!
103 Float_t fTreeVariablePosEta; //!
104
105 Float_t fTreeVariableNSigmasPosProton; //!
106 Float_t fTreeVariableNSigmasPosPion; //!
107 Float_t fTreeVariableNSigmasNegProton; //!
108 Float_t fTreeVariableNSigmasNegPion; //!
109
110 Float_t fTreeVariableDistOverTotMom;//!
111 Int_t fTreeVariableLeastNbrCrossedRows;//!
112 Float_t fTreeVariableLeastRatioCrossedRowsOverFindable;//!
113 //This is only V0A centrality
114 Float_t fTreeVariableCentrality ;//!
115
116 //Variables for Event Tree
117 Float_t fTreeEventsCentrality; //!
118
119//Note: TDistOverTotMom needs a mass hypothesis to be converted to proper decaylength.
120
121//---------------------------------------------------------------------------------------
122
123 //V0A Centrality Distributions
124 TH1F *fHistCentralityProcessed; //! All processed
125 TH1F *fHistCentralityTrigEvt; //! Those selected by PS / Trigger
126 TH1F *fHistCentralityHasVtx; //! Those that have a well-established vertex
127 TH1F *fHistCentralityVtxZ; //! Those whose vertex falls within |z|<10cm
128
129
130 AliAnalysisTaskExtractV0pPb(const AliAnalysisTaskExtractV0pPb&); // not implemented
131 AliAnalysisTaskExtractV0pPb& operator=(const AliAnalysisTaskExtractV0pPb&); // not implemented
132
133 ClassDef(AliAnalysisTaskExtractV0pPb, 11);
134};
135
136#endif