]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGJE/AliAnalysisTaskJetsTM.h
Extend MC truth information with z-Vertex and pileup
[u/mrichter/AliRoot.git] / PWGJE / AliAnalysisTaskJetsTM.h
1 #ifndef AliAnalysisTaskJetsTM_cxx
2 #define AliAnalysisTaskJetsTM_cxx
3 //
4 // Thrust Major (TM) analysis of reconstructed jets.
5 // TM is the thrust in the plane perpendicular to the jet axis
6 // The present amalysis performs the following steps:
7 // (a) Construct to orthogonal unit vectors (e1, e2) in the plane perpendicular to the jet axis
8 // (b) Calculate the components of all particles with jT > 1 GeV with respect to e1, e2
9 // (c) Construct the sphericity matrix
10 // (d) Find the two orthogonal eigenvectors of the spericity matrix
11 // (e) Caluclate the components of all particles with jT < 1 GeV in the reference frame spanned by the eigenvectors
12 // (f) Calculate the azimuthal angle in this frame
13 //
14 //
15 // Author: andreas.morsch@cern.ch
16
17
18
19 class TH1F;
20 class TH2F;
21 class TList;
22 class TProfile;
23
24
25 #include "AliAnalysisTaskSE.h"
26
27 class AliAnalysisTaskJetsTM : public AliAnalysisTaskSE {
28  public:
29   AliAnalysisTaskJetsTM(const char *name = "AliAnalysisTaskJetsTM");
30   virtual ~AliAnalysisTaskJetsTM() {}
31   
32   virtual void   UserCreateOutputObjects();
33   virtual void   UserExec(Option_t *option);
34   virtual void   Terminate(Option_t *);
35   
36  private:
37
38   TList       *fHists;          // List of histos
39   TH1F        *fPtH;            // pT of reconstructed Jets
40   TH1F        *fPtTH;           // pT of reconstructed tracks
41   TH1F        *fPhiM;           // Phi Major distribtion
42   TH2F        *fPhiMPt;         // Phi Major distribtion vs pt 
43   TH2F        *fPhiMPtJ;        // Phi Major distribtion vs pt jet
44   TH2F        *fPtSum;          // pT of reconstructed Jets
45   
46   AliAnalysisTaskJetsTM(const AliAnalysisTaskJetsTM&);            // not implemented
47   AliAnalysisTaskJetsTM& operator=(const AliAnalysisTaskJetsTM&); // not implemented
48   
49   ClassDef(AliAnalysisTaskJetsTM, 1); // Jet Thrust Major Analysis
50 };
51
52 #endif