ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

/* $Id$ */

//---------------------------------------------------------------------
// FastJet v2.3.4 finder algorithm interface
// Finder Header Class 
// Author: Rafael.Diaz.Valdes@cern.ch
//---------------------------------------------------------------------

#include <Riostream.h>
#include <TMath.h>

#include "fastjet/AreaDefinition.hh"
#include "fastjet/JetDefinition.hh"

#include "AliFastJetHeaderV1.h"

using std::cout;
using std::endl;
ClassImp(AliFastJetHeaderV1)

////////////////////////////////////////////////////////////////////////

AliFastJetHeaderV1::AliFastJetHeaderV1():
  AliJetHeader("AliFastJetHeaderV1"),
  fRparam(0.4),
  fRparamBkg(0.4),  
  fAlgorithm(fastjet::kt_algorithm),
  fBGAlgorithm(fastjet::kt_algorithm),
  fStrategy(fastjet::Best),
  fRecombScheme(fastjet::BIpt_scheme),
  fGhostEtaMax(2.0),
  fGhostArea(0.01),
  fActiveAreaRepeats(1),
  fAreaType(fastjet::active_area), 
  fPtMin(5.0),
  fMinCellEt(0.),
  fRapMax(0.),
  fRapMin(0.),
  fPhiMax(TMath::TwoPi()),
  fPhiMin(0),
  fUse4VectorArea(kFALSE),
  fkBkgFastJetb(kFALSE),
  fktBkgFastJetWoHardest(kFALSE)
{
  // Default constructor
  Double_t rapmax = fGhostEtaMax - fRparam;
  Double_t rapmin = -fGhostEtaMax + fRparam;
  SetRapRange(rapmin, rapmax);
  
}

//____________________________________________________________________________
void AliFastJetHeaderV1::PrintParameters() const
{
  // prints out parameters of jet algorithm

  cout << "FastJet algorithm  parameters:"           << endl;
  cout << "-- Jet Definition --- "                   << endl;
  cout << "R "                                       << fRparam << endl;
  cout << "Jet Algorithm "                           << fAlgorithm << endl; 
  cout << "Bkg Jet Algorithm "                       << fBGAlgorithm << endl;
  cout << "Strategy "                                << fStrategy << endl;  
  cout << "Recombination Scheme "                    << fRecombScheme << endl; 
  cout << "-- Ghosted Area Spec parameters --- "     << endl;
  cout << "Ghost Eta Max "                           << fGhostEtaMax << endl;
  cout << "Ghost Area "                              << fGhostArea << endl;
  cout << "Active Area Repeats "                     << fActiveAreaRepeats << endl;
  cout << "-- Area Definition parameters --- "       << endl;
  cout << "Area Type "                               << fAreaType << endl; 
  cout << "-- Cluster Sequence Area parameters --- " << endl;
  cout << "pt min "                                  << fPtMin << endl; 
  cout << "-- Range Definition parameters --- "      << endl;
  cout << " bkg rapidity range from  "               << fRapMin << " to " << fRapMax << endl;
  cout << " bkg phi range from "                     << fPhiMin << " to " << fPhiMax << endl;

}
 AliFastJetHeaderV1.cxx:1
 AliFastJetHeaderV1.cxx:2
 AliFastJetHeaderV1.cxx:3
 AliFastJetHeaderV1.cxx:4
 AliFastJetHeaderV1.cxx:5
 AliFastJetHeaderV1.cxx:6
 AliFastJetHeaderV1.cxx:7
 AliFastJetHeaderV1.cxx:8
 AliFastJetHeaderV1.cxx:9
 AliFastJetHeaderV1.cxx:10
 AliFastJetHeaderV1.cxx:11
 AliFastJetHeaderV1.cxx:12
 AliFastJetHeaderV1.cxx:13
 AliFastJetHeaderV1.cxx:14
 AliFastJetHeaderV1.cxx:15
 AliFastJetHeaderV1.cxx:16
 AliFastJetHeaderV1.cxx:17
 AliFastJetHeaderV1.cxx:18
 AliFastJetHeaderV1.cxx:19
 AliFastJetHeaderV1.cxx:20
 AliFastJetHeaderV1.cxx:21
 AliFastJetHeaderV1.cxx:22
 AliFastJetHeaderV1.cxx:23
 AliFastJetHeaderV1.cxx:24
 AliFastJetHeaderV1.cxx:25
 AliFastJetHeaderV1.cxx:26
 AliFastJetHeaderV1.cxx:27
 AliFastJetHeaderV1.cxx:28
 AliFastJetHeaderV1.cxx:29
 AliFastJetHeaderV1.cxx:30
 AliFastJetHeaderV1.cxx:31
 AliFastJetHeaderV1.cxx:32
 AliFastJetHeaderV1.cxx:33
 AliFastJetHeaderV1.cxx:34
 AliFastJetHeaderV1.cxx:35
 AliFastJetHeaderV1.cxx:36
 AliFastJetHeaderV1.cxx:37
 AliFastJetHeaderV1.cxx:38
 AliFastJetHeaderV1.cxx:39
 AliFastJetHeaderV1.cxx:40
 AliFastJetHeaderV1.cxx:41
 AliFastJetHeaderV1.cxx:42
 AliFastJetHeaderV1.cxx:43
 AliFastJetHeaderV1.cxx:44
 AliFastJetHeaderV1.cxx:45
 AliFastJetHeaderV1.cxx:46
 AliFastJetHeaderV1.cxx:47
 AliFastJetHeaderV1.cxx:48
 AliFastJetHeaderV1.cxx:49
 AliFastJetHeaderV1.cxx:50
 AliFastJetHeaderV1.cxx:51
 AliFastJetHeaderV1.cxx:52
 AliFastJetHeaderV1.cxx:53
 AliFastJetHeaderV1.cxx:54
 AliFastJetHeaderV1.cxx:55
 AliFastJetHeaderV1.cxx:56
 AliFastJetHeaderV1.cxx:57
 AliFastJetHeaderV1.cxx:58
 AliFastJetHeaderV1.cxx:59
 AliFastJetHeaderV1.cxx:60
 AliFastJetHeaderV1.cxx:61
 AliFastJetHeaderV1.cxx:62
 AliFastJetHeaderV1.cxx:63
 AliFastJetHeaderV1.cxx:64
 AliFastJetHeaderV1.cxx:65
 AliFastJetHeaderV1.cxx:66
 AliFastJetHeaderV1.cxx:67
 AliFastJetHeaderV1.cxx:68
 AliFastJetHeaderV1.cxx:69
 AliFastJetHeaderV1.cxx:70
 AliFastJetHeaderV1.cxx:71
 AliFastJetHeaderV1.cxx:72
 AliFastJetHeaderV1.cxx:73
 AliFastJetHeaderV1.cxx:74
 AliFastJetHeaderV1.cxx:75
 AliFastJetHeaderV1.cxx:76
 AliFastJetHeaderV1.cxx:77
 AliFastJetHeaderV1.cxx:78
 AliFastJetHeaderV1.cxx:79
 AliFastJetHeaderV1.cxx:80
 AliFastJetHeaderV1.cxx:81
 AliFastJetHeaderV1.cxx:82
 AliFastJetHeaderV1.cxx:83
 AliFastJetHeaderV1.cxx:84
 AliFastJetHeaderV1.cxx:85
 AliFastJetHeaderV1.cxx:86
 AliFastJetHeaderV1.cxx:87
 AliFastJetHeaderV1.cxx:88
 AliFastJetHeaderV1.cxx:89
 AliFastJetHeaderV1.cxx:90
 AliFastJetHeaderV1.cxx:91