]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliFastJetHeaderV1.cxx
Add flag to select hybrids with ITS reffit (Leticia)
[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
3a7af7bd 32using std::cout;
33using std::endl;
8838ab7a 34ClassImp(AliFastJetHeaderV1)
35
36////////////////////////////////////////////////////////////////////////
37
38AliFastJetHeaderV1::AliFastJetHeaderV1():
39 AliJetHeader("AliFastJetHeaderV1"),
50c7d9f7 40 fRparam(0.4),
41 fRparamBkg(0.4),
8838ab7a 42 fAlgorithm(fastjet::kt_algorithm),
8f1fc92d 43 fBGAlgorithm(fastjet::kt_algorithm),
8838ab7a 44 fStrategy(fastjet::Best),
45 fRecombScheme(fastjet::BIpt_scheme),
46 fGhostEtaMax(2.0),
50c7d9f7 47 fGhostArea(0.01),
8838ab7a 48 fActiveAreaRepeats(1),
49 fAreaType(fastjet::active_area),
50 fPtMin(5.0),
60975eab 51 fMinCellEt(0.),
52 fRapMax(0.),
53 fRapMin(0.),
8838ab7a 54 fPhiMax(TMath::TwoPi()),
af94c667 55 fPhiMin(0),
8f1fc92d 56 fBGMode(0),
57 fUse4VectorArea(kFALSE)
8838ab7a 58{
59 // Constructor
60
61 Double_t rapmax = fGhostEtaMax - fRparam;
62 Double_t rapmin = -fGhostEtaMax + fRparam;
63 SetRapRange(rapmin, rapmax);
64
65}
66
67////////////////////////////////////////////////////////////////////////
68
69void AliFastJetHeaderV1::PrintParameters() const
70{
71 // prints out parameters of jet algorithm
72
73 cout << "FastJet algorithm parameters:" << endl;
74
75 cout << "-- Jet Definition --- " << endl;
76 cout << "R " << fRparam << endl;
77 cout << "Jet Algorithm " << fAlgorithm << endl;
8f1fc92d 78 cout << "Bkg Jet Algorithm " << fBGAlgorithm << endl;
8838ab7a 79 cout << "Strategy " << fStrategy << endl;
80 cout << "Recombination Scheme " << fRecombScheme << endl;
81
82 cout << "-- Ghosted Area Spec parameters --- " << endl;
83 cout << "Ghost Eta Max " << fGhostEtaMax << endl;
84 cout << "Ghost Area " << fGhostArea << endl;
85 cout << "Active Area Repeats " << fActiveAreaRepeats << endl;
86
87 cout << "-- Area Definition parameters --- " << endl;
88 cout << "Area Type " << fAreaType << endl;
89
90 cout << "-- Cluster Sequence Area parameters --- " << endl;
91 cout << "pt min " << fPtMin << endl;
92
93 cout << "-- Range Definition parameters --- " << endl;
94 cout << " bkg rapidity range from " << fRapMin << " to " << fRapMax << endl;
95 cout << " bkg phi range from " << fPhiMin << " to " << fPhiMax << endl;
96
97}