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 **************************************************************************/
18 //---------------------------------------------------------------------
19 // FastJet v2.3.4 finder algorithm interface
20 // Finder Header Class
21 // Author: Rafael.Diaz.Valdes@cern.ch
22 //---------------------------------------------------------------------
24 #include <Riostream.h>
27 #include "fastjet/AreaDefinition.hh"
28 #include "fastjet/JetDefinition.hh"
30 #include "AliFastJetHeaderV1.h"
34 ClassImp(AliFastJetHeaderV1)
36 ////////////////////////////////////////////////////////////////////////
38 AliFastJetHeaderV1::AliFastJetHeaderV1():
39 AliJetHeader("AliFastJetHeaderV1"),
42 fAlgorithm(fastjet::kt_algorithm),
43 fBGAlgorithm(fastjet::kt_algorithm),
44 fStrategy(fastjet::Best),
45 fRecombScheme(fastjet::BIpt_scheme),
48 fActiveAreaRepeats(1),
49 fAreaType(fastjet::active_area),
54 fPhiMax(TMath::TwoPi()),
56 fUse4VectorArea(kFALSE),
57 fkBkgFastJetb(kFALSE),
58 fktBkgFastJetWoHardest(kFALSE)
60 // Default constructor
61 Double_t rapmax = fGhostEtaMax - fRparam;
62 Double_t rapmin = -fGhostEtaMax + fRparam;
63 SetRapRange(rapmin, rapmax);
67 //____________________________________________________________________________
68 void AliFastJetHeaderV1::PrintParameters() const
70 // prints out parameters of jet algorithm
72 cout << "FastJet algorithm parameters:" << endl;
73 cout << "-- Jet Definition --- " << endl;
74 cout << "R " << fRparam << endl;
75 cout << "Jet Algorithm " << fAlgorithm << endl;
76 cout << "Bkg Jet Algorithm " << fBGAlgorithm << endl;
77 cout << "Strategy " << fStrategy << endl;
78 cout << "Recombination Scheme " << fRecombScheme << endl;
79 cout << "-- Ghosted Area Spec parameters --- " << endl;
80 cout << "Ghost Eta Max " << fGhostEtaMax << endl;
81 cout << "Ghost Area " << fGhostArea << endl;
82 cout << "Active Area Repeats " << fActiveAreaRepeats << endl;
83 cout << "-- Area Definition parameters --- " << endl;
84 cout << "Area Type " << fAreaType << endl;
85 cout << "-- Cluster Sequence Area parameters --- " << endl;
86 cout << "pt min " << fPtMin << endl;
87 cout << "-- Range Definition parameters --- " << endl;
88 cout << " bkg rapidity range from " << fRapMin << " to " << fRapMax << endl;
89 cout << " bkg phi range from " << fPhiMin << " to " << fPhiMax << endl;