AliPhysics  vAN-20150723 (baea2bf)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskTrackDCA.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKTRACKDCA_H
2 #define ALIANALYSISTASKTRACKDCA_H
3 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliAnalysisTaskSE.h"
7 
8 class TArray;
9 class AliAnalysisUtils;
10 class AliESDtrackCuts;
11 
12 namespace EMCalTriggerPtAnalysis {
13 
14 class AliEMCalHistoContainer;
15 
22 class AliAnalysisTaskTrackDCA: public AliAnalysisTaskSE {
23 public:
25  AliAnalysisTaskTrackDCA(const char *name);
26  virtual ~AliAnalysisTaskTrackDCA();
27 
29  void UserExec(Option_t *opt);
34  void Terminate(Option_t *opt) {}
35 
40  void SetTrackCuts(AliESDtrackCuts *trackcuts) { fStandardCuts = trackcuts; }
41 
42 protected:
43  void CreatePtBinning(TArrayD& binning) const;
44  void CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const;
45 
46 private:
49 
50  AliAnalysisUtils *fAnalysisUtils;
51  AliESDtrackCuts *fStandardCuts;
53 
55  ClassDef(AliAnalysisTaskTrackDCA, 1)
57 };
58 
59 } /* namespace EMCalTriggerPtAnalysis */
60 
61 #endif /* ALIANALYSISTASKTRACKDCA_H_ */
Simple analysis task monitoring the track DCA distribution.
void CreateLinearBinning(TArrayD &binning, int nbins, double min, double max) const
Container class for histograms for the high- charged particle analysis.
AliEMCalHistoContainer * fHistos
Histogram container.
AliESDtrackCuts * fStandardCuts
Standard track cuts.
AliAnalysisTaskTrackDCA & operator=(const AliAnalysisTaskTrackDCA &)
AliAnalysisUtils * fAnalysisUtils
Analysis utils (helper)