1 #ifndef ALIANALYSISTASKEMCALDIJETRESPONSE_H
2 #define ALIANALYSISTASKEMCALDIJETRESPONSE_H
11 class AliAnalysisUtils;
12 class AliAnalysisManager;
13 class AliJetContainer;
15 #include "AliAnalysisTaskEmcalDiJetBase.h"
17 class AliAnalysisTaskEmcalDiJetResponse : public AliAnalysisTaskEmcalDiJetBase {
19 AliAnalysisTaskEmcalDiJetResponse();
20 AliAnalysisTaskEmcalDiJetResponse(const char *name);
21 virtual ~AliAnalysisTaskEmcalDiJetResponse();
23 void UserCreateOutputObjects();
24 void Terminate(Option_t *option);
27 void SetMatchFullCharged(Bool_t b) { fDoMatchFullCharged = b; }
28 void SetResponseVar(Int_t v) { fnUsedResponseVar = v; }
34 void CorrelateJets(const Int_t type);
35 void CorrelateAllJets(const Int_t type);
36 void CorrelateTwoJets(const Int_t type);
38 void FillDiJetHistos(const AliEmcalJet *jet1 = 0, const AliEmcalJet *jet2 = 0, const Int_t mode = 0);
39 void FillMatchHistos();
40 Bool_t RetrieveEventObjects();
42 void FillDiJetResponse(const AliEmcalJet *jetTrigMC = 0, const AliEmcalJet *jetAssocMC = 0, const AliEmcalJet *jetTrigDet = 0, const AliEmcalJet *jetAssocDet = 0, Int_t type = 0);
45 Bool_t fDoMatchFullCharged; // do full-charged matching histos
46 THnSparse *fhnDiJetResponseCharged; //! sparse with di-jet properties (full-full)
47 THnSparse *fhnDiJetResponseFullCharged; //! sparse with di-jet properties (full-full)
48 TH1F *fh1TriggersCharged[2]; //! charged jet triggers
49 TH1F *fh1TriggersFull[2]; //! full jet triggers
50 TH1F *fh1TriggersLostCharged; //! lost charged jet triggers
51 TH1F *fh1TriggersLostFull; //! lost full jet triggers
52 TH3F *fh3AssocLostPtDeltaPhiCharged;//! lost charged associated jet
53 TH3F *fh3AssocLostPtDeltaPhiFull; //! lost full associated jet
54 THnSparse *fhnMatchingCharged; //! sparse comparing matched particle and detector level charged jets
55 THnSparse *fhnMatchingFull; //! sparse comparing matched particle and detector level charged jets
56 Int_t fnUsedResponseVar; // build response for kt (0) or dijet eta (1)
59 AliAnalysisTaskEmcalDiJetResponse(const AliAnalysisTaskEmcalDiJetResponse&); // not implemented
60 AliAnalysisTaskEmcalDiJetResponse &operator=(const AliAnalysisTaskEmcalDiJetResponse&); // not implemented
62 ClassDef(AliAnalysisTaskEmcalDiJetResponse, 2) // jet sample analysis task