1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 //---------------------------------------------------------------------
17 // Jet Gen header class
18 // Stores parameters of particle algoritm
19 // Author: Rafael.Diaz.Valdes@cern.ch
20 //---------------------------------------------------------------------
22 #include <Riostream.h>
23 #include "AliUA1JetHeaderV1.h"
24 ClassImp(AliUA1JetHeaderV1)
26 ////////////////////////////////////////////////////////////////////////
28 AliUA1JetHeaderV1::AliUA1JetHeaderV1():
29 AliJetHeader("AliUA1JetHeaderV1")
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
45 fLegoPhiMax = 2. * TMath::Pi();
50 ////////////////////////////////////////////////////////////////////////
52 void AliUA1JetHeaderV1::PrintParameters() const
54 // prints out parameters of jet algorithm
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;