correcting baryon mass subtraction for visible energy in MC
[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
090026bf 16/* $Id$ */
17
70e58892 18//---------------------------------------------------------------------
19// Jet Gen header class
20// Stores parameters of particle algoritm
21// Author: Rafael.Diaz.Valdes@cern.ch
22//---------------------------------------------------------------------
23
24#include <Riostream.h>
090026bf 25#include <TMath.h>
26
70e58892 27#include "AliUA1JetHeaderV1.h"
28ClassImp(AliUA1JetHeaderV1)
29
30////////////////////////////////////////////////////////////////////////
31
32AliUA1JetHeaderV1::AliUA1JetHeaderV1():
1b7d5d7e 33
34 AliJetHeader("AliUA1JetHeaderV1"),
35 fConeRadius(0.3),
36 fEtSeed(3.0),
37 fMinJetEt(10.),
ee7de0dd 38 fMinCellEt(0.0), // Temporarily added -> To be removed if not necessary
1b7d5d7e 39 fMinMove(0.05),
40 fMaxMove(0.15),
41 fBackgMode(1),
42 fPrecBg(0.035),
43 fBackgStat(0.0),
44 fBackgCutRatio(1.0),
45 fNAcceptJets(3),
46 fLegoNbinEta(36),
47 fLegoNbinPhi(124),
48 fLegoEtaMin(-0.9),
49 fLegoEtaMax(0.9),
50 fLegoPhiMin(0.),
51 fLegoPhiMax(2.*TMath::Pi())
70e58892 52{
53 // Constructor
70e58892 54}
55
56////////////////////////////////////////////////////////////////////////
57
58void AliUA1JetHeaderV1::PrintParameters() const
59{
60 // prints out parameters of jet algorithm
61
62 cout << " UA version1 jet algorithm " << endl;
63 cout << " * Jet parameters: " << endl;
64 cout << " Cone size: " << fConeRadius<< endl;
65 cout << " Minimum energy for a seed: " << fEtSeed << endl;
66 cout << " Minumum energy for a jet: " << fMinJetEt << endl;
67 cout << " Minimum allowed move: " << fMinMove << endl;
68 cout << " Maximum allowed move: " << fMaxMove << endl;
69 cout << " * Lego parameters: " << endl;
70 cout << " Number of bins in eta: " << fLegoNbinEta<< endl;
71 cout << " Number of bins in phi: " << fLegoNbinPhi<< endl;
72 cout << " Minimum azimuthal angle: " << fLegoPhiMin<< endl;
73 cout << " Maximum azimuthal angle: " << fLegoPhiMax<< endl;
74 cout << " Minimum rapidity angle: " << fLegoEtaMin<< endl;
75 cout << " Maximum rapidity angle: " << fLegoEtaMax<< endl;
76}