]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/ITS/AliMeanVertexCalibTask.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGPP / ITS / AliMeanVertexCalibTask.h
CommitLineData
bbb57828 1#ifndef AliMeanVertexCalibTask_cxx
2#define AliMeanVertexCalibTask_cxx
3
4/**************************************************************************
5 * Copyright(c) 1998-2009, 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// Class AliMeanVertexCalibTask
21// AliAnalysisTask to extract from ESD the information on primary vertex
22// reconstruction in order to compute the MeanVertex object
23//
24// Author:D.Caffarri, davide.caffarri@pd.infn.it
25// A.Dainese, andrea.dainese@pd.infn.it
26//*************************************************************************
27
28class TList;
29class AliESDEvent;
30
31#include "AliAnalysisTaskSE.h"
32
33class AliMeanVertexCalibTask : public AliAnalysisTaskSE
34{
35
36 public:
37 AliMeanVertexCalibTask(const char *name = "AliMeanVertexCalibTask");
38 virtual ~AliMeanVertexCalibTask();
39
40 virtual void UserCreateOutputObjects();
41 virtual void UserExec(Option_t *option);
42 virtual void Terminate(Option_t *);
43
44 void SetOnlyITSTPCTracks() {fOnlyITSTPCTracks=kFALSE;}
45 void SetOnlyITSSATracks() {fOnlyITSSATracks=kTRUE;}
46
47
48
49
50 private:
51 AliESDEvent *fESD; // ESD object
52 TList *fOutput; //! list send on output slot 0
53
54 Bool_t fOnlyITSTPCTracks; // only ITS-TPC tracks to redo ITSTPC vertex
55 Bool_t fOnlyITSSATracks; // only ITS-SA tracks to redo ITSTPC vertex
56
57
58 AliMeanVertexCalibTask(const AliMeanVertexCalibTask&);
59 AliMeanVertexCalibTask& operator=(const AliMeanVertexCalibTask&);
60
29be8a66 61 //AliESDVertex* ReconstructPrimaryVertex(Bool_t constr=kFALSE, Int_t mode=0) const;
bbb57828 62
63 ClassDef(AliMeanVertexCalibTask, 1);
64
65};
66
67#endif
68
69