]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/STRANGENESS/LambdaK0/AliAnalysisTaskExtractV0pPb.h
Merge branch 'feature-movesplit'
[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; //!
19e6f9a3 88 Float_t fTreeVariableDCAV0ToPrimVertex; //!
bd3cbe60 89 Float_t fTreeVariableV0CosineOfPointingAngle; //!
90 Float_t fTreeVariableV0Radius; //!
91 Float_t fTreeVariablePt; //!
92 Float_t fTreeVariableRapK0Short; //!
93 Float_t fTreeVariableRapLambda; //!
94 Float_t fTreeVariableInvMassK0s; //!
95 Float_t fTreeVariableInvMassLambda; //!
96 Float_t fTreeVariableInvMassAntiLambda; //!
97 Float_t fTreeVariableAlphaV0; //!
98 Float_t fTreeVariablePtArmV0;//!
99 Float_t fTreeVariableNegTotMomentum; //!
100 Float_t fTreeVariablePosTotMomentum; //!
101 Float_t fTreeVariableNegdEdxSig; //!
102 Float_t fTreeVariablePosdEdxSig; //!
103 Float_t fTreeVariableNegEta; //!
104 Float_t fTreeVariablePosEta; //!
105
106 Float_t fTreeVariableNSigmasPosProton; //!
107 Float_t fTreeVariableNSigmasPosPion; //!
108 Float_t fTreeVariableNSigmasNegProton; //!
109 Float_t fTreeVariableNSigmasNegPion; //!
110
111 Float_t fTreeVariableDistOverTotMom;//!
112 Int_t fTreeVariableLeastNbrCrossedRows;//!
113 Float_t fTreeVariableLeastRatioCrossedRowsOverFindable;//!
114 //This is only V0A centrality
115 Float_t fTreeVariableCentrality ;//!
116
117 //Variables for Event Tree
118 Float_t fTreeEventsCentrality; //!
119
120//Note: TDistOverTotMom needs a mass hypothesis to be converted to proper decaylength.
121
122//---------------------------------------------------------------------------------------
123
124 //V0A Centrality Distributions
125 TH1F *fHistCentralityProcessed; //! All processed
126 TH1F *fHistCentralityTrigEvt; //! Those selected by PS / Trigger
127 TH1F *fHistCentralityHasVtx; //! Those that have a well-established vertex
128 TH1F *fHistCentralityVtxZ; //! Those whose vertex falls within |z|<10cm
129
130
131 AliAnalysisTaskExtractV0pPb(const AliAnalysisTaskExtractV0pPb&); // not implemented
132 AliAnalysisTaskExtractV0pPb& operator=(const AliAnalysisTaskExtractV0pPb&); // not implemented
133
134 ClassDef(AliAnalysisTaskExtractV0pPb, 11);
135};
136
137#endif
19e6f9a3 138