AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEventSelectionRef.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEVENTSELECTIONREF_H
2 #define ALIANALYSISTASKEVENTSELECTIONREF_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 TArrayD;
9 class TClonesArray;
10 class THistManager;
11 class TObjArray;
12 class TString;
13 
14 class AliAnalysisUtils;
15 class AliAODTrack;
16 class AliESDtrack;
17 class AliESDtrackCuts;
18 class AliEMCALTriggerPatchInfo;
19 class AliEMCALGeometry;
20 class AliVCluster;
21 class AliVTrack;
22 
23 namespace EMCalTriggerPtAnalysis {
24 
25 class AliEmcalTriggerOfflineSelection;
26 
28 public:
30  AliAnalysisTaskEventSelectionRef(const char *name);
32 
33  virtual void UserCreateOutputObjects();
34  virtual void UserExec(Option_t *);
35 
38 
39 protected:
40  void FillEventCounterHists(const char *triggerclass, double vtxz, bool isSelected, bool isOfflineSelected);
41 
42  void ProcessTrack(const char *triggerclass, const AliVTrack * track, bool isOfflineSelected);
43  void ProcessCluster(const char *triggerclass, const AliVCluster *clust, bool isOfflineSelected);
44  void ProcessOfflinePatch(const char * triggerclass, const AliEMCALTriggerPatchInfo * patch, bool isOfflineSelected);
45 
46  Bool_t TrackSelectionESD(AliESDtrack* track) ;
47  Bool_t TrackSelectionAOD(AliAODTrack* track);
48 
49  void CreatePtBinning(TArrayD& binning) const;
50  void CreateEnergyBinning(TArrayD& binning) const;
51 
53  AliAnalysisUtils *fAnalysisUtils;
55  AliESDtrackCuts *fTrackCuts;
57  AliEMCALGeometry *fGeometry;
58  TClonesArray *fTriggerPatchContainer;
59  TClonesArray *fClusterContainer;
61 
62 private:
63 
66 
68 };
69 
70 } /* namespace EMCalTriggerPtAnalysis */
71 
72 #endif
AliAnalysisTaskEventSelectionRef & operator=(const AliAnalysisTaskEventSelectionRef &)
void FillEventCounterHists(const char *triggerclass, double vtxz, bool isSelected, bool isOfflineSelected)
void ProcessCluster(const char *triggerclass, const AliVCluster *clust, bool isOfflineSelected)
void SetOfflineTriggerSelection(AliEmcalTriggerOfflineSelection *sel)
void ProcessOfflinePatch(const char *triggerclass, const AliEMCALTriggerPatchInfo *patch, bool isOfflineSelected)
void ProcessTrack(const char *triggerclass, const AliVTrack *track, bool isOfflineSelected)
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
ClassDef(AliAnalysisTaskEventSelectionRef, 1)