Fixes to calls for MeanMaterialBudget (now in AliTracker) (From Jouri Belikov)
[u/mrichter/AliRoot.git] / JETAN / AliLeading.h
CommitLineData
99e5fe42 1#ifndef ALILEADING_H
2#define ALILEADING_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
52ff852a 7/* $Id$ */
8
99e5fe42 9//---------------------------------------------------------------------
10// Class to find and store the leading particle in event and
11// store its correlation to associated particles
12// Author: jgcn@mda.cinvestav.mx
13//---------------------------------------------------------------------
14
15#include <TObject.h>
16#include <TArrayI.h>
17
18class TLorentzVector;
19class AliJetReader;
20
99e5fe42 21class AliLeading : public TObject
22{
23 public:
24
25 AliLeading();
26 ~AliLeading();
27
28 // Getters
83a444b1 29 Int_t GetNassoc() const {return fNassoc;}
30 TLorentzVector* GetLeading() const {return fLeading;}
31 TArrayI GetCorr() const {return fCorr;}
32 Bool_t LeadingFound() const {return fFound;}
33 Double_t GetE();
34 Double_t GetPt();
35 Double_t GetEta();
36 Double_t GetPhi();
37
99e5fe42 38 // Setters
39 // Others
40 void FindLeading(AliJetReader* reader);
41 void PrintLeading();
42 void Reset();
43
44 protected:
45
1b7d5d7e 46 AliLeading(const AliLeading& rLeading);
47 AliLeading& operator = (const AliLeading& rl);
48
83a444b1 49 Int_t fNassoc; // number of associated particles
99e5fe42 50 TLorentzVector* fLeading; // leading particle
83a444b1 51 TArrayI fCorr; // array to store azimuthal correlation
52 // between leading and assoc particles
53 Int_t fnBin; // number of bins in array
54 Double_t fLow; // value corresponding to lower bound of bin 0
55 Bool_t fFound; // leading found
bb828f00 56
99e5fe42 57 ClassDef(AliLeading,1);
58};
59
60#endif