]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliUA1JetHeader.cxx
Making the old *.pkg files inactive
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetHeader.cxx
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  
27  
28 ////////////////////////////////////////////////////////////////////////
29
30 AliUA1JetHeader::AliUA1JetHeader():
31   AliJetHeader("AliUA1JetHeader")
32 {
33   //
34   // Constructor
35   //
36   fConeRadius =  0.3;
37   fEtSeed     =  3.0;
38   fMinJetEt   = 10.0;
39   fMinCellEt  =  0.0;
40   fMode       =  1;
41   fMinMove    =  0.05;
42   fMaxMove    =  0.15;
43   fPrecBg     =  0.035;
44   fNbinEta    =  36;
45   fNbinPhi    = 124;
46   fPhiMin     =   0.;
47   fPhiMax     = 2. * TMath::Pi();
48   fEtaMin     = -0.9;
49   fEtaMax     =  0.9;
50 }
51  
52
53 ////////////////////////////////////////////////////////////////////////
54  
55 void AliUA1JetHeader::PrintParameters() const
56
57 {
58   //
59   // prints out parameters of jet algorithm
60   //
61
62   cout << " UA1 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 << "   Minumum energy for a cell: " << fMinCellEt << endl;
68   cout << " * Background substraction parameters: " << endl;
69   cout << "   Substraction mode: " << fMode << endl;
70   cout << "   Minimum allowed move: " << fMinMove << endl;
71   cout << "   Maximum allowed move: " << fMaxMove << endl;
72   cout << "   Precision for background: " << fPrecBg << endl;
73   cout << " * Lego parameters: " << endl;
74   cout << "   Number of bins in eta: " << fNbinEta<< endl;
75   cout << "   Number of bins in phi: " << fNbinPhi<< endl;
76   cout << "   Minimum azimuthal angle: " << fPhiMin<< endl;
77   cout << "   Maximum azimuthal angle: " << fPhiMax<< endl;
78   cout << "   Minimum rapidity angle: " << fEtaMin<< endl;
79   cout << "   Maximum rapidity angle: " << fEtaMax<< endl;
80 }