]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliUA1JetHeader.cxx
Task added to libs...
[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
26 using std::cout;
27 using std::endl;
28 ClassImp(AliUA1JetHeader)
29  
30 ////////////////////////////////////////////////////////////////////////
31
32 AliUA1JetHeader::AliUA1JetHeader():
33   AliJetHeader("AliUA1JetHeader"),
34   fConeRadius(0.3),
35   fEtSeed(3.0),
36   fMinJetEt(10.),
37   fMinCellEt(0.),
38   fMode(1),
39   fMinMove(0.05),
40   fMaxMove(0.15),
41   fPrecBg(0.035),
42   fLegoNbinEta(36),
43   fLegoNbinPhi(124),
44   fLegoEtaMin(-0.9),
45   fLegoEtaMax(0.9),
46   fLegoPhiMin(0.),
47   fLegoPhiMax(2.*TMath::Pi()),
48   fOnlySignal(kFALSE),
49   fOnlyBkgd(kFALSE)
50 {
51   // Default constructor
52 }
53  
54 ////////////////////////////////////////////////////////////////////////
55  
56 void AliUA1JetHeader::PrintParameters() const
57 {
58   // prints out parameters of jet algorithm
59
60   cout << " UA1 jet algorithm " << endl;
61   cout << " * Jet parameters: " << endl;
62   cout << "   Cone size: " << fConeRadius<< endl;
63   cout << "   Minimum energy for a seed: " << fEtSeed << endl;
64   cout << "   Minumum energy for a jet: " << fMinJetEt << endl;
65   cout << "   Minumum energy for a cell: " << fMinCellEt << endl;
66   cout << " * Background substraction parameters: " << endl;
67   cout << "   Substraction mode: " << fMode << endl;
68   cout << "   Minimum allowed move: " << fMinMove << endl;
69   cout << "   Maximum allowed move: " << fMaxMove << endl;
70   cout << "   Precision for background: " << fPrecBg << endl;
71   cout << " * Lego parameters: " << endl;
72   cout << "   Number of bins in eta: " << fLegoNbinEta<< endl;
73   cout << "   Number of bins in phi: " << fLegoNbinPhi<< endl;
74   cout << "   Minimum azimuthal angle: " << fLegoPhiMin<< endl;
75   cout << "   Maximum azimuthal angle: " << fLegoPhiMax<< endl;
76   cout << "   Minimum rapidity angle: " << fLegoEtaMin<< endl;
77   cout << "   Maximum rapidity angle: " << fLegoEtaMax<< endl;
78 }