]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliFastJetHeaderV1.cxx
Add a task to a train
[u/mrichter/AliRoot.git] / JETAN / AliFastJetHeaderV1.cxx
CommitLineData
8838ab7a 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//---------------------------------------------------------------------
18// FastJet v2.3.4 finder algorithm interface
19// Finder Header Class
20// Author: Rafael.Diaz.Valdes@cern.ch
21//---------------------------------------------------------------------
22
23#include <Riostream.h>
24#include <TMath.h>
25
26#include "fastjet/ClusterSequenceArea.hh"
27#include "fastjet/AreaDefinition.hh"
28#include "fastjet/JetDefinition.hh"
29
30#include "AliFastJetHeaderV1.h"
31
32ClassImp(AliFastJetHeaderV1)
33
34////////////////////////////////////////////////////////////////////////
35
36AliFastJetHeaderV1::AliFastJetHeaderV1():
37 AliJetHeader("AliFastJetHeaderV1"),
50c7d9f7 38 fRparam(0.4),
39 fRparamBkg(0.4),
8838ab7a 40 fAlgorithm(fastjet::kt_algorithm),
8f1fc92d 41 fBGAlgorithm(fastjet::kt_algorithm),
8838ab7a 42 fStrategy(fastjet::Best),
43 fRecombScheme(fastjet::BIpt_scheme),
44 fGhostEtaMax(2.0),
50c7d9f7 45 fGhostArea(0.01),
8838ab7a 46 fActiveAreaRepeats(1),
47 fAreaType(fastjet::active_area),
48 fPtMin(5.0),
60975eab 49 fMinCellEt(0.),
50 fRapMax(0.),
51 fRapMin(0.),
8838ab7a 52 fPhiMax(TMath::TwoPi()),
af94c667 53 fPhiMin(0),
8f1fc92d 54 fBGMode(0),
55 fUse4VectorArea(kFALSE)
8838ab7a 56{
57 // Constructor
58
59 Double_t rapmax = fGhostEtaMax - fRparam;
60 Double_t rapmin = -fGhostEtaMax + fRparam;
61 SetRapRange(rapmin, rapmax);
62
63}
64
65////////////////////////////////////////////////////////////////////////
66
67void AliFastJetHeaderV1::PrintParameters() const
68{
69 // prints out parameters of jet algorithm
70
71 cout << "FastJet algorithm parameters:" << endl;
72
73 cout << "-- Jet Definition --- " << endl;
74 cout << "R " << fRparam << endl;
75 cout << "Jet Algorithm " << fAlgorithm << endl;
8f1fc92d 76 cout << "Bkg Jet Algorithm " << fBGAlgorithm << endl;
8838ab7a 77 cout << "Strategy " << fStrategy << endl;
78 cout << "Recombination Scheme " << fRecombScheme << endl;
79
80 cout << "-- Ghosted Area Spec parameters --- " << endl;
81 cout << "Ghost Eta Max " << fGhostEtaMax << endl;
82 cout << "Ghost Area " << fGhostArea << endl;
83 cout << "Active Area Repeats " << fActiveAreaRepeats << endl;
84
85 cout << "-- Area Definition parameters --- " << endl;
86 cout << "Area Type " << fAreaType << endl;
87
88 cout << "-- Cluster Sequence Area parameters --- " << endl;
89 cout << "pt min " << fPtMin << endl;
90
91 cout << "-- Range Definition parameters --- " << endl;
92 cout << " bkg rapidity range from " << fRapMin << " to " << fRapMax << endl;
93 cout << " bkg phi range from " << fPhiMin << " to " << fPhiMax << endl;
94
95}