AliPhysics  d9e9949 (d9e9949)
AliAnalysisTaskEmcalJetMassResponse.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETMASSRESPONSE_H
2 #define ALIANALYSISTASKEMCALJETMASSRESPONSE_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class THnSparse;
9 class TF1;
10 class TLorentzVector;
11 class TClonesArray;
12 class TArrayI;
13 class TTree;
14 class TLorentzVector;
15 class AliAnalysisManager;
16 class AliVParticle;
17 class AliJetContainer;
18 
20 
22  public:
23 
25  AliAnalysisTaskEmcalJetMassResponse(const char *name);
27 
29  void Terminate(Option_t *option);
30 
31  //Setters
32  void SetCreateTree(Bool_t b) { fCreateTree = b ; }
33 
36  void SetJetMassAverageFunc(TF1 *f) { f1JetMassAvg = f ; }
39 
40  protected:
42  Bool_t Run();
44 
45  TLorentzVector GetSubtractedVector(AliEmcalJet *jet);
46  TLorentzVector GetSubtractedVectorCheat(AliEmcalJet *jet);
47  TLorentzVector GetBkgVector(AliEmcalJet *jet, AliJetContainer *cont);
48  TLorentzVector GetBkgVectorCheat(AliEmcalJet *jet);
51  AliVParticle* GetEmbeddedConstituent(AliEmcalJet *jet);
52 
53  Int_t fContainerBase; // jets to be analyzed
54  Double_t fMinFractionShared; // only fill histos for jets if shared fraction larger than X
55  TF1 *f1JetMassAvg; // parametrization of average jet mass
56  Bool_t fSingleTrackEmb; // single track embedding
57  Bool_t fSubtractMassless; // subtract mass of jet assuming massless particles
58  Bool_t fCreateTree; // create output tree
59 
62 
65 
75 
87 
89 
91  TLorentzVector *fJet1Vec; // jet1(AA) vector
92  TLorentzVector *fJet2Vec; // jet2(probe) vector
93  TLorentzVector *fBkgVec; // bkg vector
94  Float_t fArea; // area
95  Float_t fAreaPhi; // area phi
96  Float_t fAreaEta; // area eta
97  Float_t fRho; // rho
98  Float_t fRhoM; // rho_m
99  Int_t fNConst; // N constituents in jet1
100  Float_t fJetMassMassless; // jet mass for massless constituents
101 
102  private:
105 
107 };
108 #endif
109 
TH3F ** fh3PtJet1DeltaPtDeltaMRho
pt jet2 vs jet mass jet1 vs jet mass jet2
double Double_t
Definition: External.C:58
Definition: External.C:260
TH2F ** fh2PtJet1DeltaE
pt jet2 vs delta-pt vs delta-M
TH2F ** fh2PtJet1DeltaPtVecSub
pt jet2 vs delta-P vs delta-M
TH3F ** fh3PtJet1DeltaPtDeltaMCheat
pt jet2 vs delta-pt vs delta-M
Definition: External.C:236
TH2F ** fh2PtJet1DeltaERho
pt jet1 vs delta-pt vs delta-M
Definition: External.C:244
TTree * fTreeJetBkg
pt jet1 (AA) vs delta pT while using vector subtraction
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.
TCanvas * c
Definition: TestFitELoss.C:172
TH3F ** fh3PtJet1DeltaPtDeltaM
pt jet2 vs delta-pt vs delta-M
TH2F ** fh2PtJet2DeltaPxRho
pt jet2 vs delta-pt vs delta-M
AliAnalysisTaskEmcalJetMassResponse & operator=(const AliAnalysisTaskEmcalJetMassResponse &)
TH3F ** fh3PtJet2DeltaPtDeltaM
pt jet1 vs delta-pt vs delta-M
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
TH3F ** fh3PtJet2DeltaPDeltaMRho
pt jet2 vs delta-E vs delta-M
TH3F ** fh3PtJet2DeltaPtDeltaMCheat
pt jet1 vs delta-pt vs delta-M
TH3F ** fh3PtJet2MJet1MJet2
pt jet1 vs jet mass jet1 vs jet mass jet2
Bool_t FillHistograms()
Function filling histograms.
TH2F ** fh2PtJet2DeltaMNoSub
pt jet1 vs delta-pt vs delta-M
Definition: External.C:220
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
TLorentzVector GetBkgVector(AliEmcalJet *jet, AliJetContainer *cont)
const char Option_t
Definition: External.C:48
TLorentzVector * fJet1Vec
tree with jet and bkg variables
bool Bool_t
Definition: External.C:53
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
Container for jet within the EMCAL jet framework.
Definition: External.C:196