AliPhysics  5eaf189 (5eaf189)
AliAnalysisTaskJetUE.h
Go to the documentation of this file.
1 
11 /* Copyright(c) 1998-2017, ALICE Experiment at CERN, All rights reserved. *
12  * See cxx source for full Copyright notice */
13 
14 #ifndef ALIANALYSISTASKJETUE_H
15 #define ALIANALYSISTASKJETUE_H
16 
17 class TString;
18 class TF1;
19 class TH1F;
20 class TH2F;
21 class TH3F;
22 class AliRhoParameter;
23 
24 #include <map>
25 #include <list>
26 #include <string>
27 
29 
30 
37  public:
39  AliAnalysisTaskJetUE(const char *name, Bool_t histo=kFALSE);
40  virtual ~AliAnalysisTaskJetUE() {}
41 
44  void SetPtBin(Float_t w, Float_t max) { fPtBinWidth = w ; fMaxPt = max ; }
45 
46  protected:
47  virtual void CalculateEventProperties();
48  void SortJets();
49  Bool_t IsB2BEvent(std::string jetCollName = "Signal");
51 
56 
57  // Event properties
60  std::map<std::string, Int_t> fNjets;
61 
62  std::map<std::string, Double_t> fTotJetArea;
63 
64  AliVParticle *fLeadingParticle;
65  AliVCluster *fLeadingCluster;
66  std::map<std::string, AliEmcalJet*> fLeadingJet;
67 
68  std::map<std::string, std::list<AliEmcalJet*> >
70 
71  AliAnalysisTaskJetUE(const AliAnalysisTaskJetUE&); // not implemented
72  AliAnalysisTaskJetUE& operator=(const AliAnalysisTaskJetUE&); // not implemented
73 
75  ClassDef(AliAnalysisTaskJetUE, 1);
77 };
78 #endif
std::map< std::string, Int_t > fNjets
!number of jets
Bool_t AreJetsOverlapping(AliEmcalJet *jet1, AliEmcalJet *jet2)
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
AliVCluster * fLeadingCluster
!leading cluster
Int_t fNtracks
!number of tracks
Bool_t IsB2BEvent(std::string jetCollName="Signal")
Double_t fBackToBackJetPtFraction
Minimum pt fraction of the back-to-back jet.
int Int_t
Definition: External.C:63
void SetPtBin(Float_t w, Float_t max)
float Float_t
Definition: External.C:68
Float_t fMaxPt
Histogram pt limit.
Base task in the EMCAL jet framework (lighter version of AliAnalysisTaskEmcalJet) ...
Base class for a task that studies the UE.
Float_t fPtBinWidth
Histogram pt bin width.
Int_t fNclusters
!number of clusters
AliVParticle * fLeadingParticle
!leading particle
AliAnalysisTaskJetUE & operator=(const AliAnalysisTaskJetUE &)
virtual void CalculateEventProperties()
void SetBackToBackJetPtFraction(Double_t f)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
std::map< std::string, AliEmcalJet * > fLeadingJet
!leading jet
Double_t fMaxMomentumThridJet
Maximum pt of any additional jet in the event (other than the back-to-back fraction.
bool Bool_t
Definition: External.C:53
std::map< std::string, Double_t > fTotJetArea
!total area covered by jets
std::map< std::string, std::list< AliEmcalJet * > > fSortedJets
!jets sorted by momentum
void SetMaxMomentumThridJet(Double_t pt)