]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliUA1JetHeaderV1.cxx
New version of the jet finder (Rafael)
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetHeaderV1.cxx
CommitLineData
70e58892 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// Jet Gen header class
18// Stores parameters of particle algoritm
19// Author: Rafael.Diaz.Valdes@cern.ch
20//---------------------------------------------------------------------
21
22#include <Riostream.h>
23#include "AliUA1JetHeaderV1.h"
24ClassImp(AliUA1JetHeaderV1)
25
26////////////////////////////////////////////////////////////////////////
27
28AliUA1JetHeaderV1::AliUA1JetHeaderV1():
29 AliJetHeader("AliUA1JetHeaderV1")
30{
31 // Constructor
32 fConeRadius = 0.3;
33 fEtSeed = 3.0;
34 fMinJetEt = 10.0;
35 fMinMove = 0.05;
36 fMaxMove = 0.15;
37 fBackgMode = 1; // subtract backg
38 fPrecBg = 0.035; //background prec
39 fBackgStat = 0.0; // pre-calculated background used in statistic subtraction method
40 fBackgCutRatio = 1.0; // pre-calculated pt-cut ratio used in ratio subtraction method
41 fNAcceptJets = 3; // number of accepted jets per events
42 fLegoNbinEta = 36;
43 fLegoNbinPhi = 124;
44 fLegoPhiMin = 0.;
45 fLegoPhiMax = 2. * TMath::Pi();
46 fLegoEtaMin = -0.9;
47 fLegoEtaMax = 0.9;
48}
49
50////////////////////////////////////////////////////////////////////////
51
52void AliUA1JetHeaderV1::PrintParameters() const
53{
54 // prints out parameters of jet algorithm
55
56 cout << " UA version1 jet algorithm " << endl;
57 cout << " * Jet parameters: " << endl;
58 cout << " Cone size: " << fConeRadius<< endl;
59 cout << " Minimum energy for a seed: " << fEtSeed << endl;
60 cout << " Minumum energy for a jet: " << fMinJetEt << endl;
61 cout << " Minimum allowed move: " << fMinMove << endl;
62 cout << " Maximum allowed move: " << fMaxMove << endl;
63 cout << " * Lego parameters: " << endl;
64 cout << " Number of bins in eta: " << fLegoNbinEta<< endl;
65 cout << " Number of bins in phi: " << fLegoNbinPhi<< endl;
66 cout << " Minimum azimuthal angle: " << fLegoPhiMin<< endl;
67 cout << " Maximum azimuthal angle: " << fLegoPhiMax<< endl;
68 cout << " Minimum rapidity angle: " << fLegoEtaMin<< endl;
69 cout << " Maximum rapidity angle: " << fLegoEtaMax<< endl;
70}