AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetMassStructure.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETMASSSTRUCTURE_H
2 #define ALIANALYSISTASKEMCALJETMASSSTRUCTURE_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TProfile;
8 class THnSparse;
9 class TClonesArray;
10 class TArrayI;
11 class TRandom3;
12 class TList;
13 
14 class AliAnalysisManager;
15 class AliJetContainer;
16 class AliEmcalJet;
18 
20 
22  public:
23  enum JetMassType {
24  kRaw = 0, //mass form anti-kt 4-vector
25  kDeriv = 1 //area based subtracted jet mass
26  };
27 
29  kNoCorr = 0,
30  kAnnulus = 1, //reproduce existing particles (over-corrects)
32  };
33 
35  AliAnalysisTaskEmcalJetMassStructure(const char *name);
37 
39  void Terminate(Option_t *option);
40 
41  //Setters
48  void SetParticleArray(TString particles) { fPartArrayN = particles;}
50  //Getters
52 
53  protected:
55  Bool_t Run();
57 
58  Bool_t GetSortedArray(Int_t indexes[], Float_t dr[], AliEmcalJet *jet) const;
61 
65 
66  TH1F *fhtmppTRec;
67  TH1F *fhtmppTGen;
68 
69  TRandom3 *fRandom;
71 
74 
81  THnSparse *fhnMassResponse;
82  THnSparse *fhnMassResponseCorr;
84  THnSparse *fhnDeltaMass;
85  THnSparse *fhnDeltaMassCorr;
92  THnSparse *fhConstRecGen;
96  private:
99 
101 };
102 #endif
103 
TString fPartArrayN
Array of particles used for jet reconstruction at particle level (need to make it transient probably)...
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
Definition: External.C:244
AliAnalysisTaskEmcalJetMassStructure & operator=(const AliAnalysisTaskEmcalJetMassStructure &)
TH3F ** fh3PtDRMassCorr
! jet pT vs dr(jet axis, constituent) vs cumulative mass density corrected
THnSparse * fhnMassResponseCorr
! response matrix corrected
TList * fListOfOutputFromClass
! list of output from class AliEmcalJetByJetCorrection
THnSparse * fhnDeltaMass
! resolution on mass matrix
TH2F * fhAllpTRec
! histogram that stores the pT of the constituents (RECO level)
TH2F * fhAllpTGen
! histogram that stores the pT of the constituents (PART level)
TCanvas * c
Definition: TestFitELoss.C:172
THnSparse * fhnDeltaMassCorr
! resolution on mass matrix corrected
TH3F ** fh3JetPtDRTrackPt
! jet pt vs dr(jet axis, constituent) vs pT,track
JetByJetCorrType fCorrType
jet-by-jet correction method
Double_t fEfficiencyFixed
fixed efficiency for all pT and all types of tracks
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
void SetJetByJetCorrObject(AliEmcalJetByJetCorrection *a)
TH3F ** fh3PtDRRho
! jet pT vs dr(jet axis, constituent) vs cumulative pt density
TH3F ** fh3PtDRRhoCorr
! jet pT vs dr(jet axis, constituent) vs cumulative pt density corrected
Double_t fMinFractionShared
only fill histos for jets if shared fraction larger than X
Bool_t GetSortedArray(Int_t indexes[], Float_t dr[], AliEmcalJet *jet) const
JetMassType fJetMassType
jet mass type to be used
TH3F ** fh3PtDRMass
! jet pT vs dr(jet axis, constituent) vs cumulative mass density
Definition: External.C:220
AliEmcalJetByJetCorrection * fEJetByJetCorr
object to do jet-by-jet correction
Bool_t fSwitchResolutionhn
switch on/off (default on) the 2 THnSparse for the mass resolution
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
AliEmcalJetByJetCorrection * GetJetByJetCorrObject() const
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH2F * fhAllpTCor
! histogram that stores the pT of the constituents (CORR level)
Int_t CalculateNMissingTracks(AliEmcalJet *jet1, AliEmcalJet *jPart)
TH1F * fhtmppTGen
Temporary stores the pT distribution of jet constituents (gen level)
Container for jet within the EMCAL jet framework.
Definition: External.C:196
THnSparse * fhConstRecGen
! number of constituent correlation
TH1F * fhtmppTRec
Temporary stores the pT distribution of jet constituents (reco level)