AliPhysics  32e057f (32e057f)
AliAnalysisTaskSoftDropResponse.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKSOFTDROPRESPONSE_H
2 #define ALIANALYSISTASKSOFTDROPRESPONSE_H
3 /**************************************************************************
4 * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5 * *
6 * Author: The ALICE Off-line Project. *
7 * Contributors are mentioned in the code where appropriate. *
8 * *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17 
18 //-----------------------------------------------------------------------
19 // Author : Kirill Lapidus, Yale University, kirill.lapidus@cern.ch
20 //-----------------------------------------------------------------------
21 
22 #include "AliJetResponseMaker.h"
23 
24 #include "FJ_includes.h"
25 
27  public:
29  AliAnalysisTaskSoftDropResponse(const char *name);
31 
33  const char *ntracks1 = "Tracks",
34  const char *nclusters1 = "CaloClusters",
35  const char *njets1 = "Jets",
36  const char *nrho1 = "Rho",
37  const Double_t jetradius1 = 0.4,
38  const char *ntracks2 = "MCParticles",
39  const char *nclusters2 = "",
40  const char *njets2 = "MCJets",
41  const char *nrho2 = "",
42  const Double_t jetradius2 = 0.4,
43  const Double_t jetptcut = 1,
44  const Double_t jetareacut = 0.557,
45  const Double_t jetBias = 5,
46  const Int_t biasType = 0, // 0 = charged, 1 = neutral, 2 = both
48  const Double_t maxDistance1 = 0.25,
49  const Double_t maxDistance2 = 0.25,
50  const char *cutType = "TPC",
51  const Int_t ptHardBin = -999,
52  const Double_t minCent = -999,
53  const Double_t maxCent = -999,
54  const char *taskname = "AliAnalysisTaskSoftDropResponse",
55  const Bool_t biggerMatrix = kFALSE,
57  const Double_t maxTrackPt = 100);
58 
59  void SetZ2gAxis(Int_t b) { fZ2gAxis = b; }
60 
61  protected:
62 
63  void FillMatchingHistos(AliEmcalJet* jet1, AliEmcalJet* jet2, Double_t d, Double_t CE1, Double_t CE2);
64  void AllocateTHnSparse();
65 
66  void CalculateZg(AliEmcalJet* jet, const Float_t zcut, const Float_t beta, Float_t zg);
67 
69 
70  private:
73 
75 };
76 #endif
double Double_t
Definition: External.C:58
AliAnalysisTaskSoftDropResponse & operator=(const AliAnalysisTaskSoftDropResponse &)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
void CalculateZg(AliEmcalJet *jet, const Float_t zcut, const Float_t beta, Float_t zg)
static AliAnalysisTaskSoftDropResponse * AddTaskSoftDropResponse(const char *ntracks1="Tracks", const char *nclusters1="CaloClusters", const char *njets1="Jets", const char *nrho1="Rho", const Double_t jetradius1=0.4, const char *ntracks2="MCParticles", const char *nclusters2="", const char *njets2="MCJets", const char *nrho2="", const Double_t jetradius2=0.4, const Double_t jetptcut=1, const Double_t jetareacut=0.557, const Double_t jetBias=5, const Int_t biasType=0, const AliAnalysisTaskSoftDropResponse::MatchingType matching=AliAnalysisTaskSoftDropResponse::kGeometrical, const Double_t maxDistance1=0.25, const Double_t maxDistance2=0.25, const char *cutType="TPC", const Int_t ptHardBin=-999, const Double_t minCent=-999, const Double_t maxCent=-999, const char *taskname="AliAnalysisTaskSoftDropResponse", const Bool_t biggerMatrix=kFALSE, AliAnalysisTaskSoftDropResponse *address=0, const Double_t maxTrackPt=100)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
bool Bool_t
Definition: External.C:53
Int_t fZ2gAxis
add Z2g axis in matching THnSparse (default=0)
void FillMatchingHistos(AliEmcalJet *jet1, AliEmcalJet *jet2, Double_t d, Double_t CE1, Double_t CE2)