AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 THistManager;
10 class AliAnalysisUtils;
11 class AliESDtrackCuts;
12 
13 namespace EMCalTriggerPtAnalysis {
14 
22 public:
24  AliAnalysisTaskTrackDCA(const char *name);
25  virtual ~AliAnalysisTaskTrackDCA();
26 
28  void UserExec(Option_t *opt);
33  void Terminate(Option_t *opt) {}
34 
39  void SetTrackCuts(AliESDtrackCuts *trackcuts) { fStandardCuts = trackcuts; }
40 
41 protected:
42  void CreatePtBinning(TArrayD& binning) const;
43  void CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const;
44 
45 private:
48 
49  AliAnalysisUtils *fAnalysisUtils;
50  AliESDtrackCuts *fStandardCuts;
52 
54  ClassDef(AliAnalysisTaskTrackDCA, 1)
56 };
57 
58 } /* namespace EMCalTriggerPtAnalysis */
59 
60 #endif /* ALIANALYSISTASKTRACKDCA_H_ */
Simple analysis task monitoring the track DCA distribution.
void CreateLinearBinning(TArrayD &binning, int nbins, double min, double max) const
AliESDtrackCuts * fStandardCuts
Standard track cuts.
AliAnalysisTaskTrackDCA & operator=(const AliAnalysisTaskTrackDCA &)
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
const char Option_t
Definition: External.C:48
const Int_t nbins
AliAnalysisUtils * fAnalysisUtils
Analysis utils (helper)