]>
Commit | Line | Data |
---|---|---|
99e5fe42 | 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 | // UA1 Jet header class | |
18 | // Stores parameters of UA1 jet algo | |
19 | // Author: jgcn@mda.cinvestav.mx | |
20 | //--------------------------------------------------------------------- | |
21 | ||
22 | #include <Riostream.h> | |
23 | #include <TMath.h> | |
24 | #include "AliUA1JetHeader.h" | |
25 | ClassImp(AliUA1JetHeader) | |
26 | ||
99e5fe42 | 27 | //////////////////////////////////////////////////////////////////////// |
28 | ||
29 | AliUA1JetHeader::AliUA1JetHeader(): | |
30 | AliJetHeader("AliUA1JetHeader") | |
31 | { | |
99e5fe42 | 32 | // Constructor |
99e5fe42 | 33 | fConeRadius = 0.3; |
34 | fEtSeed = 3.0; | |
35 | fMinJetEt = 10.0; | |
36 | fMinCellEt = 0.0; | |
37 | fMode = 1; | |
38 | fMinMove = 0.05; | |
39 | fMaxMove = 0.15; | |
40 | fPrecBg = 0.035; | |
83a444b1 | 41 | fLegoNbinEta = 36; |
42 | fLegoNbinPhi = 124; | |
43 | fLegoPhiMin = 0.; | |
44 | fLegoPhiMax = 2. * TMath::Pi(); | |
45 | fLegoEtaMin = -0.9; | |
46 | fLegoEtaMax = 0.9; | |
47 | fOnlySignal = kFALSE; | |
48 | fOnlyBkgd = kFALSE; | |
99e5fe42 | 49 | } |
50 | ||
99e5fe42 | 51 | //////////////////////////////////////////////////////////////////////// |
52 | ||
53 | void AliUA1JetHeader::PrintParameters() const | |
99e5fe42 | 54 | { |
99e5fe42 | 55 | // prints out parameters of jet algorithm |
99e5fe42 | 56 | |
57 | cout << " UA1 jet algorithm " << endl; | |
58 | cout << " * Jet parameters: " << endl; | |
59 | cout << " Cone size: " << fConeRadius<< endl; | |
60 | cout << " Minimum energy for a seed: " << fEtSeed << endl; | |
61 | cout << " Minumum energy for a jet: " << fMinJetEt << endl; | |
62 | cout << " Minumum energy for a cell: " << fMinCellEt << endl; | |
63 | cout << " * Background substraction parameters: " << endl; | |
64 | cout << " Substraction mode: " << fMode << endl; | |
65 | cout << " Minimum allowed move: " << fMinMove << endl; | |
66 | cout << " Maximum allowed move: " << fMaxMove << endl; | |
67 | cout << " Precision for background: " << fPrecBg << endl; | |
68 | cout << " * Lego parameters: " << endl; | |
83a444b1 | 69 | cout << " Number of bins in eta: " << fLegoNbinEta<< endl; |
70 | cout << " Number of bins in phi: " << fLegoNbinPhi<< endl; | |
71 | cout << " Minimum azimuthal angle: " << fLegoPhiMin<< endl; | |
72 | cout << " Maximum azimuthal angle: " << fLegoPhiMax<< endl; | |
73 | cout << " Minimum rapidity angle: " << fLegoEtaMin<< endl; | |
74 | cout << " Maximum rapidity angle: " << fLegoEtaMax<< endl; | |
99e5fe42 | 75 | } |