AliPhysics  64f4410 (64f4410)
AliAnalysisTaskEmcalJetMassBkg.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETMASSBKG_H
2 #define ALIANALYSISTASKEMCALJETMASSBKG_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class THnSparse;
9 class TClonesArray;
10 class TArrayI;
11 class TLorentzVector;
12 class AliAnalysisManager;
13 class AliJetContainer;
14 
16 
18  public:
19 
21  AliAnalysisTaskEmcalJetMassBkg(const char *name);
23 
25  void Terminate(Option_t *option);
26 
27  //Setters
29 
30  void SetJetMinRC2LJ(Float_t d) { fMinRC2LJ = d ; }
31  void SetRCperEvent(Int_t n) { fRCperEvent = n ; }
33  void SetConeEtaPhiEMCAL() ;
34  void SetConeEtaPhiTPC() ;
35  void SetConeEtaLimits(Float_t min, Float_t max) { fConeMinEta = min, fConeMaxEta = max ; }
36  void SetConePhiLimits(Float_t min, Float_t max) { fConeMinPhi = min, fConeMaxPhi = max ; }
37 
38  protected:
39  void ExecOnce();
41  Bool_t Run();
43 
44  void GetRandomCone(TLorentzVector& lvRC, Float_t &pt, Float_t &eta, Float_t &phi, AliParticleContainer* tracks, AliClusterContainer* clusters, AliEmcalJet *jet = 0) const;
45  void GetCone(TLorentzVector& lvRC,Float_t &pt, Float_t eta, Float_t phi, AliParticleContainer* tracks, AliClusterContainer* clusters) const;
46  void GetPerpCone(TLorentzVector& lvRC, Float_t &pt, Float_t &eta, Float_t &phi, AliParticleContainer* tracks, AliClusterContainer* clusters, AliEmcalJet *jet = 0) const;
47  TLorentzVector GetSubtractedVector(Double_t pt, Double_t eta, Double_t phi, Double_t e);
48  TLorentzVector GetBkgVector(Double_t eta, Double_t phi, AliJetContainer *cont);
49 
50  Int_t fContainerBase; // jets to be tagged
51 
52  Float_t fMinRC2LJ; // Minimum distance random cone to leading jet
53  Int_t fRCperEvent; // No. of random cones per event
54  Double_t fConeRadius; // Radius of the random cones
55  Float_t fConeMinEta; // Minimum eta of the random cones
56  Float_t fConeMaxEta; // Maximum eta of the random cones
57  Float_t fConeMinPhi; // Minimum phi of the random cones
58  Float_t fConeMaxPhi; // Maximum phi of the random cones
59 
63 
64  private:
69 
74 
75  TProfile **fpPtVsMassRC;
76  TProfile **fpPtVsMassRCExLJ;
77  TProfile **fpPtVsMassPerpConeLJ;
78  TProfile **fpPtVsMassPerpConeTJ;
79 
84 
89 
94 
97 
100 
103 
106 
109 
112 
115 
116  ClassDef(AliAnalysisTaskEmcalJetMassBkg, 4)
117 };
118 #endif
119 
TH2F ** fh2PtVsMassPerpConeLJ
pT vs mass of RC excluding area around leading jet
TH2F * fh2MultVsMassRCExLJ
track multiplicity vs mass of RC
TH2F * fh2CentVsMedianMassPerAreaRCExLJ
cent vs median mass of all RC in event
TH2F * fh2CentVsMassRC
eta vs mass of cone perpendicular to all tagged jets
double Double_t
Definition: External.C:58
Definition: External.C:260
TH2F * fh2CentVsMassPerpConeLJ
cent vs mass of RC excluding area around leading jet
Definition: External.C:236
Definition: External.C:244
TLorentzVector GetSubtractedVector(Double_t pt, Double_t eta, Double_t phi, Double_t e)
void ExecOnce()
Perform steps needed to initialize the analysis.
AliClusterContainer * fCaloClustersCont
Tracks.
TProfile ** fpPtVsMassRC
E vs mass of cone perpendicular to all tagged jets.
void GetRandomCone(TLorentzVector &lvRC, Float_t &pt, Float_t &eta, Float_t &phi, AliParticleContainer *tracks, AliClusterContainer *clusters, AliEmcalJet *jet=0) const
TH2F * fh2CentVsMedianMassRCExLJ
cent vs median mass of all RC in event
TH2F ** fh2EtaVsMassRC
pT vs Avg mass of cone perpendicular to all tagged jets
TProfile ** fpPtVsMassPerpConeTJ
pT vs Avg mass of cone perpendicular to leading jet
TH2F ** fh2PtVsEPerpConeLJ
E vs mass of RC excluding area around leading jet.
TH2F * fh2MultVsMassPerpConeTJ
track multiplicity vs mass of RC perpendicular to leading jet
void SetConePhiLimits(Float_t min, Float_t max)
TCanvas * c
Definition: TestFitELoss.C:172
TH2F * fh2MultVsMassPerpConeLJ
track multiplicity vs mass of RC excluding area around leading jet
void SetConeEtaLimits(Float_t min, Float_t max)
TH2F * fh2MultVsMedianMassPerAreaRCExLJ
cent vs median mass of all RC in event
TH2F * fh2MultVsMedianMassPerAreaRC
cent vs meidan mass mass of all RC in event excluding area around leading jet
void GetPerpCone(TLorentzVector &lvRC, Float_t &pt, Float_t &eta, Float_t &phi, AliParticleContainer *tracks, AliClusterContainer *clusters, AliEmcalJet *jet=0) const
Container for particles within the EMCAL framework.
TH2F * fh2CentVsMedianMassPerAreaRC
cent vs meidan mass mass of all RC in event excluding area around leading jet
TH2F ** fh2PtVsERC
pT vs mass of cone perpendicular to all tagged jets
int Int_t
Definition: External.C:63
TH2F ** fh2PtVsMassPerpConeTJ
pT vs mass of cone perpendicular to leading jet
float Float_t
Definition: External.C:68
TH2F * fh2CentVsMedianMassRC
track multiplicity vs mass of RC perpendicular to tagged jets
TLorentzVector GetBkgVector(Double_t eta, Double_t phi, AliJetContainer *cont)
TH2F ** fh2EtaVsMassPerpConeTJ
eta vs mass of cone perpendicular to leading jet
TH2F * fh2CentVsMeanMassRC
cent vs meidan mass mass of all RC in event excluding area around leading jet
TH2F * fh2MultVsMedianMassRCExLJ
cent vs median mass of all RC in event
TH2F * fh2MultVsMeanMassRC
cent vs meidan mass mass of all RC in event excluding area around leading jet
void GetCone(TLorentzVector &lvRC, Float_t &pt, Float_t eta, Float_t phi, AliParticleContainer *tracks, AliClusterContainer *clusters) const
TH2F * fh2CentVsMeanMassRCExLJ
cent vs median mass of all RC in event
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.
TH2F * fh2CentVsMassPerpConeTJ
cent vs mass of RC perpendicular to leading jet
Definition: External.C:220
AliAnalysisTaskEmcalJetMassBkg & operator=(const AliAnalysisTaskEmcalJetMassBkg &)
TH2F * fh2MultVsMassRC
cent vs mass of RC perpendicular to tagged jets
TH2F * fh2MultVsMedianMassRC
cent vs meidan mass mass of all RC in event excluding area around leading jet
TProfile ** fpPtVsMassPerpConeLJ
pT vs Avg mass of RC excluding area around leading jet
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH2F ** fh2EtaVsMassPerpConeLJ
eta vs mass of RC excluding area around leading jet
TH2F * fh2MultVsMeanMassRCExLJ
cent vs median mass of all RC in event
Container structure for EMCAL clusters.
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
TProfile ** fpPtVsMassRCExLJ
pT vs Avg mass of RC
AliParticleContainer * fTracksCont
Jets.
Bool_t FillHistograms()
Function filling histograms.
Container for jet within the EMCAL jet framework.
Definition: External.C:196
TH2F ** fh2PtVsEPerpConeTJ
E vs mass of cone perpendicular to leading jet.