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