fix memory leak and funny multiplicity
[u/mrichter/AliRoot.git] / JETAN / AliDAJetHeader.h
CommitLineData
7c679be0 1#ifndef ALIDAJETHEADER_H
2#define ALIDAJETHEADER_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// Jet header class for Deterministic Annealing
9// Stores the parameters of the DA jet algorithm
10// Author: Davide Perrino (davide.perrino@ba.infn.it)
11//---------------------------------------------------------------------
12
13#include <AliJetHeader.h>
14
15class AliDAJetHeader : public AliJetHeader
16{
17 public:
18
19 AliDAJetHeader();
20 virtual ~AliDAJetHeader() {}
21
7c679be0 22 void SelectJets (Bool_t seljets ) { fSelectJets=seljets; }
23 void SetNclust (Int_t ncl ) { fNclustMax=ncl ; fFixedCl=kTRUE; }
1e1eb5e9 24 void SetEtMin (Float_t etmin ) { fEtMin =etmin; }
7c679be0 25
7c679be0 26 Bool_t GetSelJets() const { return fSelectJets; }
27 Int_t GetNclustMax() const { return fNclustMax; }
28 Bool_t GetFixedCl() const { return fFixedCl; }
1e1eb5e9 29 Float_t GetEtMin() const { return fEtMin; }
7c679be0 30
31 protected:
32 AliDAJetHeader(const AliDAJetHeader &jh);
33 AliDAJetHeader& operator=(const AliDAJetHeader &jh);
1e1eb5e9 34 Bool_t fSelectJets; //select jets among clusters
35 Int_t fNclustMax; //number of clusters when to stop annealing
36 Bool_t fFixedCl; //use a fixed fNclustMax
37 Float_t fEtMin; //minimum energy for found jets
7c679be0 38
36b5cc43 39 ClassDef(AliDAJetHeader,2)
7c679be0 40};
41
42#endif