AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalDiJetResponse.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALDIJETRESPONSE_H
2 #define ALIANALYSISTASKEMCALDIJETRESPONSE_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 AliAnalysisUtils;
12 class AliAnalysisManager;
13 class AliJetContainer;
14 
16 
18  public:
20  AliAnalysisTaskEmcalDiJetResponse(const char *name);
22 
24  void Terminate(Option_t *option);
25 
26  //Setters
27  void SetMatchFullCharged(Bool_t b) { fDoMatchFullCharged = b; }
28  void SetResponseVar(Int_t v) { fnUsedResponseVar = v; }
29 
30  //Getters
31 
32  protected:
33  Bool_t Run() ;
34  void CorrelateJets(const Int_t type);
35  void CorrelateAllJets(const Int_t type);
36  void CorrelateTwoJets(const Int_t type);
37 
38  void FillDiJetHistos(const AliEmcalJet *jet1 = 0, const AliEmcalJet *jet2 = 0, const Int_t mode = 0);
39  void FillMatchHistos();
40  Bool_t RetrieveEventObjects();
41 
42  void FillDiJetResponse(const AliEmcalJet *jetTrigMC = 0, const AliEmcalJet *jetAssocMC = 0, const AliEmcalJet *jetTrigDet = 0, const AliEmcalJet *jetAssocDet = 0, Int_t type = 0);
43 
44  private:
45  Bool_t fDoMatchFullCharged; // do full-charged matching histos
48  TH1F *fh1TriggersCharged[2];
49  TH1F *fh1TriggersFull[2];
54  THnSparse *fhnMatchingCharged;
55  THnSparse *fhnMatchingFull;
56  Int_t fnUsedResponseVar; // build response for kt (0) or dijet eta (1)
57 
58 
61 
62  ClassDef(AliAnalysisTaskEmcalDiJetResponse, 2) // jet sample analysis task
63 };
64 #endif
AliAnalysisTaskEmcalDiJetResponse & operator=(const AliAnalysisTaskEmcalDiJetResponse &)
Int_t fnUsedResponseVar
sparse comparing matched particle and detector level charged jets
TH3F * fh3AssocLostPtDeltaPhiCharged
lost full jet triggers
THnSparse * fhnDiJetResponseFullCharged
sparse with di-jet properties (full-full)
TH1F * fh1TriggersCharged[2]
sparse with di-jet properties (full-full)
THnSparse * fhnMatchingFull
sparse comparing matched particle and detector level charged jets
TH1F * fh1TriggersLostFull
lost charged jet triggers
Int_t mode
Definition: anaM.C:40
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
THnSparse * fhnMatchingCharged
lost full associated jet
void FillDiJetResponse(const AliEmcalJet *jetTrigMC=0, const AliEmcalJet *jetAssocMC=0, const AliEmcalJet *jetTrigDet=0, const AliEmcalJet *jetAssocDet=0, Int_t type=0)
TH3F * fh3AssocLostPtDeltaPhiFull
lost charged associated jet
Container for jet within the EMCAL jet framework.
void FillDiJetHistos(const AliEmcalJet *jet1=0, const AliEmcalJet *jet2=0, const Int_t mode=0)