]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliLeading.h
Move AliTRDclusterError.h into macro
[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
99e5fe42 7//---------------------------------------------------------------------
8// Class to find and store the leading particle in event and
9// store its correlation to associated particles
10// Author: jgcn@mda.cinvestav.mx
11//---------------------------------------------------------------------
12
13#include <TObject.h>
14#include <TArrayI.h>
15
16class TLorentzVector;
17class AliJetReader;
18
99e5fe42 19class AliLeading : public TObject
20{
21 public:
22
23 AliLeading();
24 ~AliLeading();
25
26 // Getters
83a444b1 27 Int_t GetNassoc() const {return fNassoc;}
28 TLorentzVector* GetLeading() const {return fLeading;}
29 TArrayI GetCorr() const {return fCorr;}
30 Bool_t LeadingFound() const {return fFound;}
31 Double_t GetE();
32 Double_t GetPt();
33 Double_t GetEta();
34 Double_t GetPhi();
35
99e5fe42 36 // Setters
37 // Others
38 void FindLeading(AliJetReader* reader);
39 void PrintLeading();
40 void Reset();
41
42 protected:
43
83a444b1 44 Int_t fNassoc; // number of associated particles
99e5fe42 45 TLorentzVector* fLeading; // leading particle
83a444b1 46 TArrayI fCorr; // array to store azimuthal correlation
47 // between leading and assoc particles
48 Int_t fnBin; // number of bins in array
49 Double_t fLow; // value corresponding to lower bound of bin 0
50 Bool_t fFound; // leading found
bb828f00 51
99e5fe42 52 ClassDef(AliLeading,1);
53};
54
55#endif