AliPhysics  58f3d52 (58f3d52)
 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
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();
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 &)
Definition: External.C:260
Int_t fnUsedResponseVar
sparse comparing matched particle and detector level charged jets
Definition: External.C:244
TH3F * fh3AssocLostPtDeltaPhiCharged
lost full jet triggers
THnSparse * fhnDiJetResponseFullCharged
sparse with di-jet properties (full-full)
int Int_t
Definition: External.C:63
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:41
Definition: External.C:220
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
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.
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)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH3F * fh3AssocLostPtDeltaPhiFull
lost charged associated jet
Container for jet within the EMCAL jet framework.
Definition: External.C:196
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
void FillDiJetHistos(const AliEmcalJet *jet1=0, const AliEmcalJet *jet2=0, const Int_t mode=0)