]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliDAJetHeader.h
Useful macros for the shifter
[u/mrichter/AliRoot.git] / JETAN / AliDAJetHeader.h
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
15 class AliDAJetHeader : public AliJetHeader
16 {
17   public:
18
19         AliDAJetHeader();
20         virtual ~AliDAJetHeader() {}
21
22         void SelectJets         (Bool_t seljets ) { fSelectJets=seljets; }
23         void SetRadius          (Float_t radius );
24         void SetNclust          (Int_t ncl      ) { fNclustMax=ncl ; fFixedCl=kTRUE; }
25         void SetEtMin           (Float_t etmin  ) { fEtMin =etmin;  }
26         void SetNeff            (Int_t n        ) { fNeff = n; }
27         void SetEtaEff          (Float_t eta    ) { fEtaEff = eta;  }
28
29         Bool_t   GetSelJets()   const { return fSelectJets; }
30         Float_t  GetRadius()    const { return fRadius;    }
31         Int_t    GetNclustMax() const { return fNclustMax; }
32         Bool_t   GetFixedCl()   const { return fFixedCl; }
33         Float_t  GetEtMin()             const { return fEtMin;   }
34         Int_t    GetNeff()              const { return fNeff;    }
35         Float_t  GetEtaEff()    const { return fEtaEff;  }
36
37   protected:
38         AliDAJetHeader(const AliDAJetHeader &jh);
39         AliDAJetHeader& operator=(const AliDAJetHeader &jh);
40         Bool_t          fSelectJets;                                    // select jets among clusters
41     Float_t     fRadius;                                                // jet "radius"
42         Int_t           fNclustMax;                                             // number of clusters when to stop annealing
43         Bool_t          fFixedCl;                                               // use a fixed fNclustMax
44         Float_t         fEtMin;                                                 // minimum energy for found jets
45         Int_t           fNeff;                                                  // number of total input data, including fakes
46         Float_t         fEtaEff;                                                // eta range in which fake tracks are generated
47
48         ClassDef(AliDAJetHeader,3)
49 };
50
51 #endif