fix memory leak and funny multiplicity
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetFinder.h
CommitLineData
99e5fe42 1#ifndef ALIUA1JETFINDER_H
2#define ALIUA1JETFINDER_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// UA1 Jet finder
10// manages the search for jets
11// Author: jgcn@mda.cinvestav.mx
12// (code adapted from EMCAL directory)
13//---------------------------------------------------------------------
14
15#include "AliJetFinder.h"
16class AliUA1JetHeader;
17class TH2F;
18
19class AliUA1JetFinder : public AliJetFinder
20{
21 public:
22
23 AliUA1JetFinder();
24 ~AliUA1JetFinder();
25
26 // getters
27
28 // setters
29 void SetJetHeader(AliUA1JetHeader* h) {fHeader= h;}
30 // others
b45b0c92 31 void FindJetsTPC();
99e5fe42 32 void FindJets();
33 void Reset();
34 void Init();
35 void WriteJHeaderToFile();
36
37 protected:
38
1b7d5d7e 39 AliUA1JetFinder(const AliUA1JetFinder& rUA1Finder);
40 AliUA1JetFinder& operator = (const AliUA1JetFinder& ruaf);
41
99e5fe42 42 AliUA1JetHeader* fHeader; // pointer to jet header
19e6695b 43 TH2F * fLego; // Lego Histo
99e5fe42 44
45 ClassDef(AliUA1JetFinder,1)
46};
47
48#endif