]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSGammaJet.h
New class wrapping the access of files in the AliEn catalogue
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGammaJet.h
1 #ifndef ALIPHOSGammaJet_H
2 #define ALIPHOSGammaJet_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id$ */
6
7 //_________________________________________________________________________
8 //  Class for the analysis of gamma-jet correlations     
9 //                  
10 //*-- Author: Gustavo Conesa & Yves Schutz (IFIC, CERN)
11
12 // --- ROOT system ---
13 #include "TTask.h"
14
15 // --- AliRoot header files ---
16
17 class AliPHOSGammaJet : public TTask {
18
19 public: 
20
21   AliPHOSGammaJet() ; // default ctor
22   AliPHOSGammaJet(const TString inputfilename) ; //ctor 
23   AliPHOSGammaJet(const AliPHOSGammaJet & gj) ; // cpy ctor
24   virtual ~AliPHOSGammaJet() ; // dtor
25   virtual void   Exec(Option_t * = ""); 
26   void GetGammaJet(TList & particleList, TLorentzVector & gamma, Int_t & id) ; 
27   void GetLeadingCharge(TList & particleList, TLorentzVector & charge, Int_t & id) ;
28   void GetLeadingPi0(TList & particleList, TLorentzVector & pi0) ;
29 //    void GetLeadingGammaPair(TList &particleList, TLorentzVector &gammapair, Int_t & id, 
30 //                         Double_t & thetacut,Double_t & ratiocut1, Double_t & ratiocut2,
31 //                         Double_t & invmasscut1,Double_t & invmasscut2);
32   void Pi0Decay(Double_t mPi0, TLorentzVector &p0, 
33                 TLorentzVector &p1, TLorentzVector &p2, Double_t &angle) ; 
34 private: 
35
36   ClassDef(AliPHOSGammaJet,1)
37 } ; 
38 #endif //ALIPHOSGammaJet_H