AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskRhoMassSparse.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKRHOMASSSPARSE_H
2 #define ALIANALYSISTASKRHOMASSSPARSE_H
3 
4 // $Id$
5 
7 
9 
10  public:
12  AliAnalysisTaskRhoMassSparse(const char *name, Bool_t histo=kFALSE);
14 
16  kMd = 0, //rho_m from arXiv:1211.2811
17  kMdP = 1, //rho_m using P instead of pT
18  kMd4 = 2 //rho_m using addition of 4-vectors
19  };
20 
22 
23  void SetExcludeLeadJets(UInt_t n) { fNExclLeadJets = n ; }
25  void SetPionMassForClusters(Bool_t b) { fPionMassClusters = b ; }
26  void SetRhoCMS(Bool_t cms) { fRhoCMS = cms ; }
27  Bool_t IsJetOverlapping(AliEmcalJet* jet1, AliEmcalJet* jet2);
28  Bool_t IsJetSignal(AliEmcalJet* jet1);
29 
30 
31  protected:
32  Bool_t Run();
33 
34  Double_t GetSumMConstituents(AliEmcalJet *jet);
35  Double_t GetSumPtConstituents(AliEmcalJet *jet);
36  Double_t GetMd(AliEmcalJet *jet);
37 
38  UInt_t fNExclLeadJets; // number of leading jets to be excluded from the median calculation
39  Bool_t fRhoCMS; // flag to run CMS method
40  JetRhoMassType fJetRhoMassType; // method for rho_m calculation
41  Bool_t fPionMassClusters; // assume pion mass for clusters
42 
45 
48 
49  ClassDef(AliAnalysisTaskRhoMassSparse, 1); // Rho_m task
50 };
51 #endif
Double_t GetSumMConstituents(AliEmcalJet *jet)
AliAnalysisTaskRhoMassSparse & operator=(const AliAnalysisTaskRhoMassSparse &)
TH2F * fHistOccCorrvsCent
Md/Area vs cent for all kt clusters.
Double_t GetSumPtConstituents(AliEmcalJet *jet)
Bool_t IsJetOverlapping(AliEmcalJet *jet1, AliEmcalJet *jet2)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
ClassDef(AliAnalysisTaskRhoMassSparse, 1)