]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added midpoint (from Jiri)
authorloizides <cloizides@lbl.gov>
Sat, 1 Feb 2014 16:07:40 +0000 (17:07 +0100)
committerloizides <cloizides@lbl.gov>
Sat, 1 Feb 2014 16:07:40 +0000 (17:07 +0100)
PWGJE/EMCALJetTasks/AliFJWrapper.h
PWGJE/EMCALJetTasks/FJ_includes.h

index e93fc88eb1fda447aff8342ee08c47ba96daa87c..1da98a02518787cdee1e4e19939a4947343017cf 100644 (file)
@@ -390,6 +390,15 @@ Int_t AliFJWrapper::Run()
                                       0,    //search of stable cones - zero = until no more
                                       1.0); // this should be seed effectively for proto jets
       fJetDef = new fastjet::JetDefinition(fPlugin);
+    } else if (fPluginAlgor == 1) {
+      // CDF cone
+      // NOTE: hardcoded split parameter
+      Double_t overlap_threshold = 0.75; // NOTE: this actually splits a lot: thr/min(pt1,pt2)
+      fPlugin = new fj::CDFMidPointPlugin(fR, 
+                                      overlap_threshold,
+                                      1.0,    //search of stable cones - zero = until no more
+                                      1.0); // this should be seed effectively for proto jets
+      fJetDef = new fastjet::JetDefinition(fPlugin);
     } else {
       AliError("[e] Unrecognized plugin number!");
     }
index d94ad9e3d2796280e822d6d88d1391996c276187..573c8bf0999c403e5e4afd6fe28b5c4cd9eb60ec 100644 (file)
@@ -14,6 +14,7 @@
 #include <fastjet/ClusterSequenceArea.hh>
 #include <fastjet/AreaDefinition.hh>
 #include <fastjet/SISConePlugin.hh>
+#include <fastjet/CDFMidPointPlugin.hh>
 #ifdef FASTJET_VERSION
 #include <fastjet/tools/JetMedianBackgroundEstimator.hh>
 #endif