AliPhysics  9df6235 (9df6235)
AliAnalysisTaskEmcalJetSparseMaker.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETSPARSEMAKER_H
2 #define ALIANALYSISTASKEMCALJETSPARSEMAKER_H
3 
4 #include <TString.h>
5 
7 //=============================================================================
8 
9 class THnSparse;
10 
11 class AliJetContainer;
14 //=============================================================================
15 
17 
18  public :
19 
21  AliAnalysisTaskEmcalJetSparseMaker(const char *name, const Bool_t bHistos=kTRUE);
23 //=============================================================================
24 
25  virtual void Init();
26  virtual void LocalInit() { Init(); }
27  virtual void UserCreateOutputObjects();
28  virtual void Terminate(Option_t *opt);
29 
30  TString GetNameJet() const { return fNameJet; };
31  void SetNameJet(const TString s) { fNameJet = s; }
32 //=============================================================================
33 
34  protected :
35 
36  virtual void ExecOnce();
37  virtual Bool_t FillGeneralHistograms();
38  virtual Bool_t FillHistograms();
39  virtual Bool_t IsEventSelected();
40  virtual Bool_t RetrieveEventObjects();
41  virtual Bool_t Run();
42 //=============================================================================
43 
44  private :
45 
48 //=============================================================================
49 
50  void MakeSparse();
51  void FillSparse();
52 
55 //=============================================================================
56 
61 //=============================================================================
62 
64 
68 
69  THnSparse *fHnsEveH;
70  THnSparse *fHnsJets;
71 
74 //=============================================================================
75 
77 };
78 
79 #endif
double Double_t
Definition: External.C:58
virtual Bool_t IsEventSelected()
Performing event selection.
virtual Bool_t FillGeneralHistograms()
Filling general histograms.
Container for particles within the EMCAL framework.
virtual Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
virtual Bool_t RetrieveEventObjects()
Retrieve common objects from event.
virtual void ExecOnce()
Perform steps needed to initialize the analysis.
AliAnalysisTaskEmcalJetSparseMaker & operator=(const AliAnalysisTaskEmcalJetSparseMaker &)
Base task in the EMCAL jet framework.
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
Container structure for EMCAL clusters.
Container for jet within the EMCAL jet framework.
virtual Bool_t FillHistograms()
Function filling histograms.