]>
Commit | Line | Data |
---|---|---|
7c679be0 | 1 | // ************************************************************************** |
2 | // * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | // * * | |
4 | // * Author: The ALICE Off-line Project. * | |
5 | // * Contributors are mentioned in the code where appropriate. * | |
6 | // * * | |
7 | // * Permission to use, copy, modify and distribute this software and its * | |
8 | // * documentation strictly for non-commercial purposes is hereby granted * | |
9 | // * without fee, provided that the above copyright notice appears in all * | |
10 | // * copies and that both the copyright notice and this permission notice * | |
11 | // * appear in the supporting documentation. The authors make no claims * | |
12 | // * about the suitability of this software for any purpose. It is * | |
13 | // * provided "as is" without express or implied warranty. * | |
14 | // ************************************************************************** | |
15 | ||
16 | //---------------------------------------------------------------------------- | |
17 | // Deterministic Annealing Jet header class | |
18 | // Stores parameters of DA jet algorithm | |
19 | // Author: Davide Perrino (davide.perrino@ba.infn.it, davide.perrino@cern.ch) | |
20 | //---------------------------------------------------------------------------- | |
21 | ||
22 | #include "AliDAJetHeader.h" | |
23 | ||
24 | ClassImp(AliDAJetHeader) | |
25 | ||
26 | ||
27 | //--------------------------------------------------------------------- | |
28 | AliDAJetHeader::AliDAJetHeader(): | |
36b5cc43 | 29 | AliJetHeader("AliDAJetHeader"), |
7c679be0 | 30 | fSelectJets(kTRUE), |
4be01860 | 31 | fRadius(0.7), |
32 | fNclustMax(10), | |
474ff593 | 33 | fFixedCl(kFALSE), |
34 | fEtMin(10.) | |
7c679be0 | 35 | { |
36 | // Constructor | |
37 | } | |
4be01860 | 38 | |
39 | //--------------------------------------------------------------------- | |
40 | void AliDAJetHeader::SetRadius(Float_t radius) | |
41 | { | |
42 | // The radius requested is used to estimate the number of clusters | |
43 | // to be found, in order to obtain jets with the expected area. | |
44 | // It must not be intended as a sharp limit on the cluster shape | |
45 | ||
94384118 | 46 | Float_t fEtaLim = 0.9; |
47 | Int_t nclust = (Int_t) (4.*fEtaLim/(radius*radius)) + 1; | |
48 | SetNclust(nclust); | |
4be01860 | 49 | } |