StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFastJetPars.cxx
1 //
2 // Pibero Djawotho <pibero@tamu.edu>
3 // Texas A&M University
4 // 31 Aug 2011
5 //
6 // $Id: StFastJetPars.cxx,v 1.4 2016/01/06 22:00:17 gdwebb Exp $
7 //
8 // $Log: StFastJetPars.cxx,v $
9 // Revision 1.4 2016/01/06 22:00:17 gdwebb
10 // This is code to implement the off axis cone underlying event analysis.
11 //
12 // Revision 1.3 2012/03/10 23:18:28 pibero
13 // Added destructor for StCDFMidPointPlugin
14 //
15 // Revision 1.2 2012/03/10 23:09:53 pibero
16 // Addeed support for fastjet plugins
17 //
18 // Revision 1.1 2011/08/31 17:57:44 pibero
19 // Support for FastJet
20 //
21 // http://www.lpthe.jussieu.fr/~salam/fastjet/
22 // http://www.star.bnl.gov/HyperNews-star/protected/get/starsoft/8521.html
23 //
24 //
25 
26 #include "fastjet/JetDefinition.hh"
27 #include "StjFastJet.h"
28 #include "StFastJetPars.h"
29 
30 // enum JetAlgorithm
31 const int StFastJetPars::kt_algorithm = fastjet::kt_algorithm;
32 const int StFastJetPars::cambridge_algorithm = fastjet::cambridge_algorithm;
33 const int StFastJetPars::antikt_algorithm = fastjet::antikt_algorithm;
34 const int StFastJetPars::genkt_algorithm = fastjet::genkt_algorithm;
35 const int StFastJetPars::cambridge_for_passive_algorithm = fastjet::cambridge_for_passive_algorithm;
36 const int StFastJetPars::genkt_for_passive_algorithm = fastjet::genkt_for_passive_algorithm;
37 const int StFastJetPars::ee_kt_algorithm = fastjet::ee_kt_algorithm;
38 const int StFastJetPars::ee_genkt_algorithm = fastjet::ee_genkt_algorithm;
39 const int StFastJetPars::plugin_algorithm = fastjet::plugin_algorithm;
40 
41 // enum RecombinationScheme
42 const int StFastJetPars::E_scheme = fastjet::E_scheme;
43 const int StFastJetPars::pt_scheme = fastjet::pt_scheme;
44 const int StFastJetPars::pt2_scheme = fastjet::pt2_scheme;
45 const int StFastJetPars::Et_scheme = fastjet::Et_scheme;
46 const int StFastJetPars::Et2_scheme = fastjet::Et2_scheme;
47 const int StFastJetPars::BIpt_scheme = fastjet::BIpt_scheme;
48 const int StFastJetPars::BIpt2_scheme = fastjet::BIpt2_scheme;
49 const int StFastJetPars::external_scheme = fastjet::external_scheme;
50 
51 // enum Strategy
52 const int StFastJetPars::N2MinHeapTiled = fastjet::N2MinHeapTiled;
53 const int StFastJetPars::N2Tiled = fastjet::N2Tiled;
54 const int StFastJetPars::N2PoorTiled = fastjet::N2PoorTiled;
55 const int StFastJetPars::N2Plain = fastjet::N2Plain;
56 const int StFastJetPars::N3Dumb = fastjet::N3Dumb;
57 const int StFastJetPars::Best = fastjet::Best;
58 const int StFastJetPars::NlnN = fastjet::NlnN;
59 const int StFastJetPars::NlnN3pi = fastjet::NlnN3pi;
60 const int StFastJetPars::NlnN4pi = fastjet::NlnN4pi;
61 const int StFastJetPars::NlnNCam4pi = fastjet::NlnNCam4pi;
62 const int StFastJetPars::NlnNCam2pi2R = fastjet::NlnNCam2pi2R;
63 const int StFastJetPars::NlnNCam = fastjet::NlnNCam;
64 const int StFastJetPars::plugin_strategy = fastjet::plugin_strategy;
65 
66 ClassImp(StFastJetPars)
67 
68 StJetFinder* StFastJetPars::constructJetFinder() { return new StjFastJet(*this); }
69 
70 #include "fastjet/CDFMidPointPlugin.hh"
71 
72 ClassImp(StCDFMidPointPlugin)
73 
74 StCDFMidPointPlugin::StCDFMidPointPlugin(double coneRadius,
75  double overlapThreshold,
76  double seedThreshold,
77  double coneAreaFraction)
78  : StPlugin(new fastjet::CDFMidPointPlugin(coneRadius,overlapThreshold,seedThreshold,coneAreaFraction))
79 {
80 }
81 
82 StCDFMidPointPlugin::~StCDFMidPointPlugin()
83 {
84  // delete mImpl;
85 }
static const int BIpt2_scheme
static const int NlnN
best of the NlnN variants – best overall for N&gt;10^4
static const int genkt_for_passive_algorithm
Definition: StFastJetPars.h:76
static const int plugin_algorithm
any plugin algorithm supplied by the user
Definition: StFastJetPars.h:84
static const int NlnN4pi
legacy N ln N using 4pi coverage of cylinder
static const int N3Dumb
worse even than the usual N^3 algorithms
static const int ee_kt_algorithm
the e+e- kt algorithm
Definition: StFastJetPars.h:79
static const int Et_scheme
Definition: StFastJetPars.h:98
static const int cambridge_algorithm
Definition: StFastJetPars.h:61
static const int Best
automatic selection of the best (based on N)
static const int N2PoorTiled
legacy
static const int pt_scheme
Definition: StFastJetPars.h:92
static const int genkt_algorithm
Definition: StFastJetPars.h:70
static const int N2Plain
fastest below 50
static const int BIpt_scheme
static const int NlnN3pi
legacy N ln N using 3pi coverage of cylinder
static const int external_scheme
for the user&#39;s external scheme
static const int plugin_strategy
the plugin has been used...
static const int cambridge_for_passive_algorithm
Definition: StFastJetPars.h:73
static const int kt_algorithm
Definition: StFastJetPars.h:58
static const int pt2_scheme
Definition: StFastJetPars.h:95
static const int Et2_scheme
static const int N2Tiled
fastest from about 50..500
static const int E_scheme
Definition: StFastJetPars.h:89
static const int antikt_algorithm
Definition: StFastJetPars.h:65
static const int N2MinHeapTiled
static const int ee_genkt_algorithm
the e+e- genkt algorithm (R &gt; 2 and p=1 gives ee_kt)
Definition: StFastJetPars.h:81
static const int NlnNCam4pi