Index: contrib/contribs/Nsubjettiness/tags/2.3.2/TauComponents.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/TauComponents.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/TauComponents.cc (revision 1412)
@@ -0,0 +1,89 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id: NjettinessDefinition.cc 704 2014-07-07 14:30:43Z jthaler $
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#include "TauComponents.hh"
+#include "MeasureDefinition.hh"
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib {
+
+// This constructor takes input vector and double and calculates all necessary tau components
+TauComponents::TauComponents(TauMode tau_mode,
+ const std::vector & jet_pieces_numerator,
+ double beam_piece_numerator,
+ double denominator,
+ const std::vector & jets,
+ const std::vector & axes
+ )
+: _tau_mode(tau_mode),
+_jet_pieces_numerator(jet_pieces_numerator),
+_beam_piece_numerator(beam_piece_numerator),
+_denominator(denominator),
+_jets(jets),
+_axes(axes)
+{
+
+ if (!has_denominator()) assert(_denominator == 1.0); //make sure no effect from _denominator if _has_denominator is false
+ if (!has_beam()) assert (_beam_piece_numerator == 0.0); //make sure no effect from _beam_piece_numerator if _has_beam is false
+
+ // Put the pieces together
+ _numerator = _beam_piece_numerator;
+ _jet_pieces.resize(_jet_pieces_numerator.size(),0.0);
+ for (unsigned j = 0; j < _jet_pieces_numerator.size(); j++) {
+ _jet_pieces[j] = _jet_pieces_numerator[j]/_denominator;
+ _numerator += _jet_pieces_numerator[j];
+
+ // Add structural information to jets
+ StructureType * structure = new StructureType(_jets[j]);
+ structure->_tau_piece = _jet_pieces[j];
+ _jets[j].set_structure_shared_ptr(SharedPtr(structure));
+ }
+
+ _beam_piece = _beam_piece_numerator/_denominator;
+ _tau = _numerator/_denominator;
+
+ // Add total_jet with structural information
+ _total_jet = join(_jets);
+ StructureType * total_structure = new StructureType(_total_jet);
+ total_structure->_tau_piece = _tau;
+ _total_jet.set_structure_shared_ptr(SharedPtr(total_structure));
+}
+
+
+
+// test for denominator/beams
+bool TauComponents::has_denominator() const {
+ return (_tau_mode == NORMALIZED_JET_SHAPE
+ || _tau_mode == NORMALIZED_EVENT_SHAPE);
+}
+
+bool TauComponents::has_beam() const {
+ return (_tau_mode == UNNORMALIZED_EVENT_SHAPE
+ || _tau_mode == NORMALIZED_EVENT_SHAPE);
+}
+
+} // namespace contrib
+
+FASTJET_END_NAMESPACE
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/Doxyfile
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/Doxyfile (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/Doxyfile (revision 1412)
@@ -0,0 +1,2310 @@
+# Doxyfile 1.8.7
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project.
+#
+# All text after a double hash (##) is considered a comment and is placed in
+# front of the TAG it is preceding.
+#
+# All text after a single hash (#) is considered a comment and will be ignored.
+# The format is:
+# TAG = value [value, ...]
+# For lists, items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (\" \").
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all text
+# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
+# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
+# for the list of possible encodings.
+# The default value is: UTF-8.
+
+DOXYFILE_ENCODING = UTF-8
+
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
+# double-quotes, unless you are using Doxywizard) that should identify the
+# project for which the documentation is generated. This name is used in the
+# title of most generated pages and in a few other places.
+# The default value is: My Project.
+
+PROJECT_NAME = "Nsubjettiness FastJet Contrib"
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
+# could be handy for archiving the generated documentation or if some version
+# control system is used.
+
+PROJECT_NUMBER = "v2.2"
+
+# Using the PROJECT_BRIEF tag one can provide an optional one line description
+# for a project that appears at the top of each page and should give viewer a
+# quick idea about the purpose of the project. Keep the description short.
+
+PROJECT_BRIEF =
+
+# With the PROJECT_LOGO tag one can specify an logo or icon that is included in
+# the documentation. The maximum height of the logo should not exceed 55 pixels
+# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
+# to the output directory.
+
+PROJECT_LOGO =
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
+# into which the generated documentation will be written. If a relative path is
+# entered, it will be relative to the location where doxygen was started. If
+# left blank the current directory will be used.
+
+OUTPUT_DIRECTORY =
+
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
+# directories (in 2 levels) under the output directory of each output format and
+# will distribute the generated files over these directories. Enabling this
+# option can be useful when feeding doxygen a huge amount of source files, where
+# putting all generated files in the same directory would otherwise causes
+# performance problems for the file system.
+# The default value is: NO.
+
+CREATE_SUBDIRS = NO
+
+# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
+# characters to appear in the names of generated files. If set to NO, non-ASCII
+# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
+# U+3044.
+# The default value is: NO.
+
+ALLOW_UNICODE_NAMES = NO
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
+# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
+# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
+# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
+# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
+# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
+# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
+# Ukrainian and Vietnamese.
+# The default value is: English.
+
+OUTPUT_LANGUAGE = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
+# descriptions after the members that are listed in the file and class
+# documentation (similar to Javadoc). Set to NO to disable this.
+# The default value is: YES.
+
+BRIEF_MEMBER_DESC = YES
+
+# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
+# description of a member or function before the detailed description
+#
+# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+# The default value is: YES.
+
+REPEAT_BRIEF = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator that is
+# used to form the text in various listings. Each string in this list, if found
+# as the leading text of the brief description, will be stripped from the text
+# and the result, after processing the whole list, is used as the annotated
+# text. Otherwise, the brief description is used as-is. If left blank, the
+# following values are used ($name is automatically replaced with the name of
+# the entity):The $name class, The $name widget, The $name file, is, provides,
+# specifies, contains, represents, a, an and the.
+
+ABBREVIATE_BRIEF =
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# doxygen will generate a detailed section even if there is only a brief
+# description.
+# The default value is: NO.
+
+ALWAYS_DETAILED_SEC = NO
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+# The default value is: NO.
+
+INLINE_INHERITED_MEMB = NO
+
+# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
+# before files name in the file list and in the header files. If set to NO the
+# shortest path that makes the file name unique will be used
+# The default value is: YES.
+
+FULL_PATH_NAMES = YES
+
+# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
+# Stripping is only done if one of the specified strings matches the left-hand
+# part of the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the path to
+# strip.
+#
+# Note that you can specify absolute paths here, but also relative paths, which
+# will be relative from the directory where doxygen is started.
+# This tag requires that the tag FULL_PATH_NAMES is set to YES.
+
+STRIP_FROM_PATH =
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
+# path mentioned in the documentation of a class, which tells the reader which
+# header file to include in order to use a class. If left blank only the name of
+# the header file containing the class definition is used. Otherwise one should
+# specify the list of include paths that are normally passed to the compiler
+# using the -I flag.
+
+STRIP_FROM_INC_PATH =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
+# less readable) file names. This can be useful is your file systems doesn't
+# support long names like on DOS, Mac, or CD-ROM.
+# The default value is: NO.
+
+SHORT_NAMES = NO
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
+# first line (until the first dot) of a Javadoc-style comment as the brief
+# description. If set to NO, the Javadoc-style will behave just like regular Qt-
+# style comments (thus requiring an explicit @brief command for a brief
+# description.)
+# The default value is: NO.
+
+JAVADOC_AUTOBRIEF = NO
+
+# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
+# line (until the first dot) of a Qt-style comment as the brief description. If
+# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
+# requiring an explicit \brief command for a brief description.)
+# The default value is: NO.
+
+QT_AUTOBRIEF = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
+# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
+# a brief description. This used to be the default behavior. The new default is
+# to treat a multi-line C++ comment block as a detailed description. Set this
+# tag to YES if you prefer the old behavior instead.
+#
+# Note that setting this tag to YES also means that rational rose comments are
+# not recognized any more.
+# The default value is: NO.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
+# documentation from any documented member that it re-implements.
+# The default value is: YES.
+
+INHERIT_DOCS = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
+# new page for each member. If set to NO, the documentation of a member will be
+# part of the file/class/namespace that contains it.
+# The default value is: NO.
+
+SEPARATE_MEMBER_PAGES = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
+# uses this value to replace tabs by spaces in code fragments.
+# Minimum value: 1, maximum value: 16, default value: 4.
+
+TAB_SIZE = 4
+
+# This tag can be used to specify a number of aliases that act as commands in
+# the documentation. An alias has the form:
+# name=value
+# For example adding
+# "sideeffect=@par Side Effects:\n"
+# will allow you to put the command \sideeffect (or @sideeffect) in the
+# documentation, which will result in a user-defined paragraph with heading
+# "Side Effects:". You can put \n's in the value part of an alias to insert
+# newlines.
+
+ALIASES =
+
+# This tag can be used to specify a number of word-keyword mappings (TCL only).
+# A mapping has the form "name=value". For example adding "class=itcl::class"
+# will allow you to use the command class in the itcl::class meaning.
+
+TCL_SUBST =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
+# only. Doxygen will then generate output that is more tailored for C. For
+# instance, some of the names that are used will be different. The list of all
+# members will be omitted, etc.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_FOR_C = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
+# Python sources only. Doxygen will then generate output that is more tailored
+# for that language. For instance, namespaces will be presented as packages,
+# qualified scopes will look different, etc.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources. Doxygen will then generate output that is tailored for Fortran.
+# The default value is: NO.
+
+OPTIMIZE_FOR_FORTRAN = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for VHDL.
+# The default value is: NO.
+
+OPTIMIZE_OUTPUT_VHDL = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it
+# parses. With this tag you can assign which parser to use for a given
+# extension. Doxygen has a built-in mapping, but you can override or extend it
+# using this tag. The format is ext=language, where ext is a file extension, and
+# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
+# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
+# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
+# Fortran. In the later case the parser tries to guess whether the code is fixed
+# or free formatted code, this is the default for Fortran type files), VHDL. For
+# instance to make doxygen treat .inc files as Fortran files (default is PHP),
+# and .f files as C (default is Fortran), use: inc=Fortran f=C.
+#
+# Note For files without extension you can use no_extension as a placeholder.
+#
+# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
+# the files are not read by doxygen.
+
+EXTENSION_MAPPING =
+
+# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
+# according to the Markdown format, which allows for more readable
+# documentation. See http://daringfireball.net/projects/markdown/ for details.
+# The output of markdown processing is further processed by doxygen, so you can
+# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
+# case of backward compatibilities issues.
+# The default value is: YES.
+
+MARKDOWN_SUPPORT = YES
+
+# When enabled doxygen tries to link words that correspond to documented
+# classes, or namespaces to their corresponding documentation. Such a link can
+# be prevented in individual cases by by putting a % sign in front of the word
+# or globally by setting AUTOLINK_SUPPORT to NO.
+# The default value is: YES.
+
+AUTOLINK_SUPPORT = YES
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should set this
+# tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string);
+# versus func(std::string) {}). This also make the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+# The default value is: NO.
+
+BUILTIN_STL_SUPPORT = NO
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+# The default value is: NO.
+
+CPP_CLI_SUPPORT = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
+# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
+# will parse them like normal C++ but will assume all classes use public instead
+# of private inheritance when no explicit protection keyword is present.
+# The default value is: NO.
+
+SIP_SUPPORT = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate
+# getter and setter methods for a property. Setting this option to YES will make
+# doxygen to replace the get and set methods by a property in the documentation.
+# This will only work if the methods are indeed getting or setting a simple
+# type. If this is not the case, or you want to show the methods anyway, you
+# should set this option to NO.
+# The default value is: YES.
+
+IDL_PROPERTY_SUPPORT = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+# The default value is: NO.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# Set the SUBGROUPING tag to YES to allow class member groups of the same type
+# (for instance a group of public functions) to be put as a subgroup of that
+# type (e.g. under the Public Functions section). Set it to NO to prevent
+# subgrouping. Alternatively, this can be done per class using the
+# \nosubgrouping command.
+# The default value is: YES.
+
+SUBGROUPING = YES
+
+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
+# are shown inside the group in which they are included (e.g. using \ingroup)
+# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
+# and RTF).
+#
+# Note that this feature does not work in combination with
+# SEPARATE_MEMBER_PAGES.
+# The default value is: NO.
+
+INLINE_GROUPED_CLASSES = NO
+
+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
+# with only public data fields or simple typedef fields will be shown inline in
+# the documentation of the scope in which they are defined (i.e. file,
+# namespace, or group documentation), provided this scope is documented. If set
+# to NO, structs, classes, and unions are shown on a separate page (for HTML and
+# Man pages) or section (for LaTeX and RTF).
+# The default value is: NO.
+
+INLINE_SIMPLE_STRUCTS = NO
+
+# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
+# enum is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically be
+# useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+# The default value is: NO.
+
+TYPEDEF_HIDES_STRUCT = NO
+
+# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
+# cache is used to resolve symbols given their name and scope. Since this can be
+# an expensive process and often the same symbol appears multiple times in the
+# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
+# doxygen will become slower. If the cache is too large, memory is wasted. The
+# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
+# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
+# symbols. At the end of a run doxygen will report the cache usage and suggest
+# the optimal cache size from a speed point of view.
+# Minimum value: 0, maximum value: 9, default value: 0.
+
+LOOKUP_CACHE_SIZE = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available. Private
+# class members and static file members will be hidden unless the
+# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
+# Note: This will also disable the warnings about undocumented members that are
+# normally produced when WARNINGS is set to YES.
+# The default value is: NO.
+
+EXTRACT_ALL = NO
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
+# be included in the documentation.
+# The default value is: NO.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
+# scope will be included in the documentation.
+# The default value is: NO.
+
+EXTRACT_PACKAGE = NO
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
+# included in the documentation.
+# The default value is: NO.
+
+EXTRACT_STATIC = NO
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
+# locally in source files will be included in the documentation. If set to NO
+# only classes defined in header files are included. Does not have any effect
+# for Java sources.
+# The default value is: YES.
+
+EXTRACT_LOCAL_CLASSES = YES
+
+# This flag is only useful for Objective-C code. When set to YES local methods,
+# which are defined in the implementation section but not in the interface are
+# included in the documentation. If set to NO only methods in the interface are
+# included.
+# The default value is: NO.
+
+EXTRACT_LOCAL_METHODS = NO
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base name of
+# the file that contains the anonymous namespace. By default anonymous namespace
+# are hidden.
+# The default value is: NO.
+
+EXTRACT_ANON_NSPACES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
+# undocumented members inside documented classes or files. If set to NO these
+# members will be included in the various overviews, but no documentation
+# section is generated. This option has no effect if EXTRACT_ALL is enabled.
+# The default value is: NO.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy. If set
+# to NO these classes will be included in the various overviews. This option has
+# no effect if EXTRACT_ALL is enabled.
+# The default value is: NO.
+
+HIDE_UNDOC_CLASSES = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
+# (class|struct|union) declarations. If set to NO these declarations will be
+# included in the documentation.
+# The default value is: NO.
+
+HIDE_FRIEND_COMPOUNDS = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
+# documentation blocks found inside the body of a function. If set to NO these
+# blocks will be appended to the function's detailed documentation block.
+# The default value is: NO.
+
+HIDE_IN_BODY_DOCS = NO
+
+# The INTERNAL_DOCS tag determines if documentation that is typed after a
+# \internal command is included. If the tag is set to NO then the documentation
+# will be excluded. Set it to YES to include the internal documentation.
+# The default value is: NO.
+
+INTERNAL_DOCS = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
+# names in lower-case letters. If set to YES upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+# The default value is: system dependent.
+
+CASE_SENSE_NAMES = NO
+
+# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
+# their full class and namespace scopes in the documentation. If set to YES the
+# scope will be hidden.
+# The default value is: NO.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
+# the files that are included by a file in the documentation of that file.
+# The default value is: YES.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
+# grouped member an include statement to the documentation, telling the reader
+# which file to include in order to use the member.
+# The default value is: NO.
+
+SHOW_GROUPED_MEMB_INC = NO
+
+# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
+# files with double quotes in the documentation rather than with sharp brackets.
+# The default value is: NO.
+
+FORCE_LOCAL_INCLUDES = NO
+
+# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
+# documentation for inline members.
+# The default value is: YES.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
+# (detailed) documentation of file and class members alphabetically by member
+# name. If set to NO the members will appear in declaration order.
+# The default value is: YES.
+
+SORT_MEMBER_DOCS = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
+# descriptions of file, namespace and class members alphabetically by member
+# name. If set to NO the members will appear in declaration order. Note that
+# this will also influence the order of the classes in the class list.
+# The default value is: NO.
+
+SORT_BRIEF_DOCS = NO
+
+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
+# (brief and detailed) documentation of class members so that constructors and
+# destructors are listed first. If set to NO the constructors will appear in the
+# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
+# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
+# member documentation.
+# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
+# detailed member documentation.
+# The default value is: NO.
+
+SORT_MEMBERS_CTORS_1ST = NO
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
+# of group names into alphabetical order. If set to NO the group names will
+# appear in their defined order.
+# The default value is: NO.
+
+SORT_GROUP_NAMES = NO
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
+# fully-qualified names, including namespaces. If set to NO, the class list will
+# be sorted only by class name, not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the alphabetical
+# list.
+# The default value is: NO.
+
+SORT_BY_SCOPE_NAME = NO
+
+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
+# type resolution of all parameters of a function it will reject a match between
+# the prototype and the implementation of a member function even if there is
+# only one candidate or it is obvious which candidate to choose by doing a
+# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
+# accept a match between prototype and implementation in such cases.
+# The default value is: NO.
+
+STRICT_PROTO_MATCHING = NO
+
+# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
+# todo list. This list is created by putting \todo commands in the
+# documentation.
+# The default value is: YES.
+
+GENERATE_TODOLIST = YES
+
+# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
+# test list. This list is created by putting \test commands in the
+# documentation.
+# The default value is: YES.
+
+GENERATE_TESTLIST = YES
+
+# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
+# list. This list is created by putting \bug commands in the documentation.
+# The default value is: YES.
+
+GENERATE_BUGLIST = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
+# the deprecated list. This list is created by putting \deprecated commands in
+# the documentation.
+# The default value is: YES.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional documentation
+# sections, marked by \if ... \endif and \cond
+# ... \endcond blocks.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
+# initial value of a variable or macro / define can have for it to appear in the
+# documentation. If the initializer consists of more lines than specified here
+# it will be hidden. Use a value of 0 to hide initializers completely. The
+# appearance of the value of individual variables and macros / defines can be
+# controlled using \showinitializer or \hideinitializer command in the
+# documentation regardless of this setting.
+# Minimum value: 0, maximum value: 10000, default value: 30.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
+# the bottom of the documentation of classes and structs. If set to YES the list
+# will mention the files that were used to generate the documentation.
+# The default value is: YES.
+
+SHOW_USED_FILES = YES
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
+# will remove the Files entry from the Quick Index and from the Folder Tree View
+# (if specified).
+# The default value is: YES.
+
+SHOW_FILES = YES
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
+# page. This will remove the Namespaces entry from the Quick Index and from the
+# Folder Tree View (if specified).
+# The default value is: YES.
+
+SHOW_NAMESPACES = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command command input-file, where command is the value of the
+# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
+# by doxygen. Whatever the program writes to standard output is used as the file
+# version. For an example see the documentation.
+
+FILE_VERSION_FILTER =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
+# by doxygen. The layout file controls the global structure of the generated
+# output files in an output format independent way. To create the layout file
+# that represents doxygen's defaults, run doxygen with the -l option. You can
+# optionally specify a file name after the option, if omitted DoxygenLayout.xml
+# will be used as the name of the layout file.
+#
+# Note that if you run doxygen from a directory containing a file called
+# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
+# tag is left empty.
+
+LAYOUT_FILE =
+
+# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
+# the reference definitions. This must be a list of .bib files. The .bib
+# extension is automatically appended if omitted. This requires the bibtex tool
+# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
+# For LaTeX the style of the bibliography can be controlled using
+# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
+# search path. Do not use file names with spaces, bibtex cannot handle them. See
+# also \cite for info how to create references.
+
+CITE_BIB_FILES =
+
+#---------------------------------------------------------------------------
+# Configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated to
+# standard output by doxygen. If QUIET is set to YES this implies that the
+# messages are off.
+# The default value is: NO.
+
+QUIET = NO
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
+# this implies that the warnings are on.
+#
+# Tip: Turn warnings on while writing the documentation.
+# The default value is: YES.
+
+WARNINGS = YES
+
+# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
+# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
+# will automatically be disabled.
+# The default value is: YES.
+
+WARN_IF_UNDOCUMENTED = YES
+
+# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some parameters
+# in a documented function, or documenting parameters that don't exist or using
+# markup commands wrongly.
+# The default value is: YES.
+
+WARN_IF_DOC_ERROR = YES
+
+# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
+# are documented, but have no documentation for their parameters or return
+# value. If set to NO doxygen will only warn about wrong or incomplete parameter
+# documentation, but not about the absence of documentation.
+# The default value is: NO.
+
+WARN_NO_PARAMDOC = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that doxygen
+# can produce. The string should contain the $file, $line, and $text tags, which
+# will be replaced by the file and line number from which the warning originated
+# and the warning text. Optionally the format may contain $version, which will
+# be replaced by the version of the file (if it could be obtained via
+# FILE_VERSION_FILTER)
+# The default value is: $file:$line: $text.
+
+WARN_FORMAT = "$file:$line: $text"
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning and error
+# messages should be written. If left blank the output is written to standard
+# error (stderr).
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag is used to specify the files and/or directories that contain
+# documented source files. You may enter file names like myfile.cpp or
+# directories like /usr/src/myproject. Separate the files or directories with
+# spaces.
+# Note: If this tag is empty the current directory is searched.
+
+INPUT =
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
+# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
+# documentation (see: http://www.gnu.org/software/libiconv) for the list of
+# possible encodings.
+# The default value is: UTF-8.
+
+INPUT_ENCODING = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
+# *.h) to filter out the source-files in the directories. If left blank the
+# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
+# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
+# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
+# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
+# *.qsf, *.as and *.js.
+
+FILE_PATTERNS =
+
+# The RECURSIVE tag can be used to specify whether or not subdirectories should
+# be searched for input files as well.
+# The default value is: NO.
+
+RECURSIVE = NO
+
+# The EXCLUDE tag can be used to specify files and/or directories that should be
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+#
+# Note that relative paths are relative to the directory from which doxygen is
+# run.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
+# directories that are symbolic links (a Unix file system feature) are excluded
+# from the input.
+# The default value is: NO.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories.
+#
+# Note that the wildcards are matched against the file with absolute path, so to
+# exclude all test directories for example use the pattern */test/*
+
+EXCLUDE_PATTERNS = example*
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+#
+# Note that the wildcards are matched against the file with absolute path, so to
+# exclude all test directories use the pattern */test/*
+
+EXCLUDE_SYMBOLS =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or directories
+# that contain example code fragments that are included (see the \include
+# command).
+
+EXAMPLE_PATH =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
+# *.h) to filter out the source-files in the directories. If left blank all
+# files are included.
+
+EXAMPLE_PATTERNS =
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude commands
+# irrespective of the value of the RECURSIVE tag.
+# The default value is: NO.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or directories
+# that contain images that are to be included in the documentation (see the
+# \image command).
+
+IMAGE_PATH =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command:
+#
+#
+#
+# where is the value of the INPUT_FILTER tag, and is the
+# name of an input file. Doxygen will then use the output that the filter
+# program writes to standard output. If FILTER_PATTERNS is specified, this tag
+# will be ignored.
+#
+# Note that the filter must not add or remove lines; it is applied before the
+# code is scanned, but not when the output code is generated. If lines are added
+# or removed, the anchors will not be placed correctly.
+
+INPUT_FILTER =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis. Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match. The filters are a list of the form: pattern=filter
+# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
+# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
+# patterns match the file name, INPUT_FILTER is applied.
+
+FILTER_PATTERNS =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER ) will also be used to filter the input files that are used for
+# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
+# The default value is: NO.
+
+FILTER_SOURCE_FILES = NO
+
+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
+# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
+# it is also possible to disable source filtering for a specific pattern using
+# *.ext= (so without naming a filter).
+# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
+
+FILTER_SOURCE_PATTERNS =
+
+# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
+# is part of the input, its contents will be placed on the main page
+# (index.html). This can be useful if you have a project on for instance GitHub
+# and want to reuse the introduction page also for the doxygen output.
+
+USE_MDFILE_AS_MAINPAGE =
+
+#---------------------------------------------------------------------------
+# Configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
+# generated. Documented entities will be cross-referenced with these sources.
+#
+# Note: To get rid of all source code in the generated output, make sure that
+# also VERBATIM_HEADERS is set to NO.
+# The default value is: NO.
+
+SOURCE_BROWSER = NO
+
+# Setting the INLINE_SOURCES tag to YES will include the body of functions,
+# classes and enums directly into the documentation.
+# The default value is: NO.
+
+INLINE_SOURCES = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
+# special comment blocks from generated source code fragments. Normal C, C++ and
+# Fortran comments will always remain visible.
+# The default value is: YES.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
+# function all documented functions referencing it will be listed.
+# The default value is: NO.
+
+REFERENCED_BY_RELATION = NO
+
+# If the REFERENCES_RELATION tag is set to YES then for each documented function
+# all documented entities called/used by that function will be listed.
+# The default value is: NO.
+
+REFERENCES_RELATION = NO
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
+# to YES, then the hyperlinks from functions in REFERENCES_RELATION and
+# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
+# link to the documentation.
+# The default value is: YES.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
+# source code will show a tooltip with additional information such as prototype,
+# brief description and links to the definition and documentation. Since this
+# will make the HTML file larger and loading of large files a bit slower, you
+# can opt to disable this feature.
+# The default value is: YES.
+# This tag requires that the tag SOURCE_BROWSER is set to YES.
+
+SOURCE_TOOLTIPS = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code will
+# point to the HTML generated by the htags(1) tool instead of doxygen built-in
+# source browser. The htags tool is part of GNU's global source tagging system
+# (see http://www.gnu.org/software/global/global.html). You will need version
+# 4.8.6 or higher.
+#
+# To use it do the following:
+# - Install the latest version of global
+# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
+# - Make sure the INPUT points to the root of the source tree
+# - Run doxygen as normal
+#
+# Doxygen will invoke htags (and that will in turn invoke gtags), so these
+# tools must be available from the command line (i.e. in the search path).
+#
+# The result: instead of the source browser generated by doxygen, the links to
+# source code will now point to the output of htags.
+# The default value is: NO.
+# This tag requires that the tag SOURCE_BROWSER is set to YES.
+
+USE_HTAGS = NO
+
+# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
+# verbatim copy of the header file for each class for which an include is
+# specified. Set to NO to disable this.
+# See also: Section \class.
+# The default value is: YES.
+
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# Configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
+# compounds will be generated. Enable this if the project contains a lot of
+# classes, structs, unions or interfaces.
+# The default value is: YES.
+
+ALPHABETICAL_INDEX = YES
+
+# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
+# which the alphabetical index list will be split.
+# Minimum value: 1, maximum value: 20, default value: 5.
+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
+
+COLS_IN_ALPHA_INDEX = 5
+
+# In case all classes in a project start with a common prefix, all classes will
+# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
+# can be used to specify a prefix (or a list of prefixes) that should be ignored
+# while generating the index headers.
+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
+
+IGNORE_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
+# The default value is: YES.
+
+GENERATE_HTML = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: html.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_OUTPUT = html
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
+# generated HTML page (for example: .htm, .php, .asp).
+# The default value is: .html.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
+# each generated HTML page. If the tag is left blank doxygen will generate a
+# standard header.
+#
+# To get valid HTML the header file that includes any scripts and style sheets
+# that doxygen needs, which is dependent on the configuration options used (e.g.
+# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
+# default header using
+# doxygen -w html new_header.html new_footer.html new_stylesheet.css
+# YourConfigFile
+# and then modify the file new_header.html. See also section "Doxygen usage"
+# for information on how to generate the default header that doxygen normally
+# uses.
+# Note: The header is subject to change so you typically have to regenerate the
+# default header when upgrading to a newer version of doxygen. For a description
+# of the possible markers and block names see the documentation.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_HEADER =
+
+# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
+# generated HTML page. If the tag is left blank doxygen will generate a standard
+# footer. See HTML_HEADER for more information on how to generate a default
+# footer and what special commands can be used inside the footer. See also
+# section "Doxygen usage" for information on how to generate the default footer
+# that doxygen normally uses.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_FOOTER =
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
+# sheet that is used by each HTML page. It can be used to fine-tune the look of
+# the HTML output. If left blank doxygen will generate a default style sheet.
+# See also section "Doxygen usage" for information on how to generate the style
+# sheet that doxygen normally uses.
+# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
+# it is more robust and this tag (HTML_STYLESHEET) will in the future become
+# obsolete.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_STYLESHEET =
+
+# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
+# defined cascading style sheet that is included after the standard style sheets
+# created by doxygen. Using this option one can overrule certain style aspects.
+# This is preferred over using HTML_STYLESHEET since it does not replace the
+# standard style sheet and is therefor more robust against future updates.
+# Doxygen will copy the style sheet file to the output directory. For an example
+# see the documentation.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_EXTRA_STYLESHEET =
+
+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the HTML output directory. Note
+# that these files will be copied to the base HTML output directory. Use the
+# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
+# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
+# files will be copied as-is; there are no commands or markers available.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_EXTRA_FILES =
+
+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
+# will adjust the colors in the stylesheet and background images according to
+# this color. Hue is specified as an angle on a colorwheel, see
+# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
+# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
+# purple, and 360 is red again.
+# Minimum value: 0, maximum value: 359, default value: 220.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_HUE = 220
+
+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
+# in the HTML output. For a value of 0 the output will use grayscales only. A
+# value of 255 will produce the most vivid colors.
+# Minimum value: 0, maximum value: 255, default value: 100.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_SAT = 100
+
+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
+# luminance component of the colors in the HTML output. Values below 100
+# gradually make the output lighter, whereas values above 100 make the output
+# darker. The value divided by 100 is the actual gamma applied, so 80 represents
+# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
+# change the gamma.
+# Minimum value: 40, maximum value: 240, default value: 80.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE_GAMMA = 80
+
+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
+# page will contain the date and time when the page was generated. Setting this
+# to NO can help when comparing the output of multiple runs.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_TIMESTAMP = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_DYNAMIC_SECTIONS = NO
+
+# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
+# shown in the various tree structured indices initially; the user can expand
+# and collapse entries dynamically later on. Doxygen will expand the tree to
+# such a level that at most the specified number of entries are visible (unless
+# a fully collapsed tree already exceeds this amount). So setting the number of
+# entries 1 will produce a full collapsed tree by default. 0 is a special value
+# representing an infinite number of entries and will result in a full expanded
+# tree by default.
+# Minimum value: 0, maximum value: 9999, default value: 100.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_INDEX_NUM_ENTRIES = 100
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files will be
+# generated that can be used as input for Apple's Xcode 3 integrated development
+# environment (see: http://developer.apple.com/tools/xcode/), introduced with
+# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
+# Makefile in the HTML output directory. Running make will produce the docset in
+# that directory and running make install will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
+# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
+# for more information.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_DOCSET = NO
+
+# This tag determines the name of the docset feed. A documentation feed provides
+# an umbrella under which multiple documentation sets from a single provider
+# (such as a company or product suite) can be grouped.
+# The default value is: Doxygen generated docs.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_FEEDNAME = "Doxygen generated docs"
+
+# This tag specifies a string that should uniquely identify the documentation
+# set bundle. This should be a reverse domain-name style string, e.g.
+# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_BUNDLE_ID = org.doxygen.Project
+
+# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
+# the documentation publisher. This should be a reverse domain-name style
+# string, e.g. com.mycompany.MyDocSet.documentation.
+# The default value is: org.doxygen.Publisher.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+
+# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
+# The default value is: Publisher.
+# This tag requires that the tag GENERATE_DOCSET is set to YES.
+
+DOCSET_PUBLISHER_NAME = Publisher
+
+# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
+# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
+# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
+# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
+# Windows.
+#
+# The HTML Help Workshop contains a compiler that can convert all HTML output
+# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
+# files are now used as the Windows 98 help format, and will replace the old
+# Windows help format (.hlp) on all Windows platforms in the future. Compressed
+# HTML files also contain an index, a table of contents, and you can search for
+# words in the documentation. The HTML workshop also contains a viewer for
+# compressed HTML files.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_HTMLHELP = NO
+
+# The CHM_FILE tag can be used to specify the file name of the resulting .chm
+# file. You can add a path in front of the file if the result should not be
+# written to the html output directory.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+CHM_FILE =
+
+# The HHC_LOCATION tag can be used to specify the location (absolute path
+# including file name) of the HTML help compiler ( hhc.exe). If non-empty
+# doxygen will try to run the HTML help compiler on the generated index.hhp.
+# The file has to be specified with full path.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+HHC_LOCATION =
+
+# The GENERATE_CHI flag controls if a separate .chi index file is generated (
+# YES) or that it should be included in the master .chm file ( NO).
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+GENERATE_CHI = NO
+
+# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
+# and project file content.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+CHM_INDEX_ENCODING =
+
+# The BINARY_TOC flag controls whether a binary table of contents is generated (
+# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it
+# enables the Previous and Next buttons.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members to
+# the table of contents of the HTML help documentation and to the tree view.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
+
+TOC_EXPAND = NO
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
+# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
+# (.qch) of the generated HTML documentation.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_QHP = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
+# the file name of the resulting .qch file. The path specified is relative to
+# the HTML output folder.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QCH_FILE =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
+# Project output. For more information please see Qt Help Project / Namespace
+# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_NAMESPACE = org.doxygen.Project
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
+# Help Project output. For more information please see Qt Help Project / Virtual
+# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
+# folders).
+# The default value is: doc.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_VIRTUAL_FOLDER = doc
+
+# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
+# filter to add. For more information please see Qt Help Project / Custom
+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
+# filters).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_CUST_FILTER_NAME =
+
+# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
+# custom filter to add. For more information please see Qt Help Project / Custom
+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
+# filters).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_CUST_FILTER_ATTRS =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
+# project's filter section matches. Qt Help Project / Filter Attributes (see:
+# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHP_SECT_FILTER_ATTRS =
+
+# The QHG_LOCATION tag can be used to specify the location of Qt's
+# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
+# generated .qhp file.
+# This tag requires that the tag GENERATE_QHP is set to YES.
+
+QHG_LOCATION =
+
+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
+# generated, together with the HTML files, they form an Eclipse help plugin. To
+# install this plugin and make it available under the help contents menu in
+# Eclipse, the contents of the directory containing the HTML and XML files needs
+# to be copied into the plugins directory of eclipse. The name of the directory
+# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
+# After copying Eclipse needs to be restarted before the help appears.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_ECLIPSEHELP = NO
+
+# A unique identifier for the Eclipse help plugin. When installing the plugin
+# the directory name containing the HTML and XML files should also have this
+# name. Each documentation set should have its own identifier.
+# The default value is: org.doxygen.Project.
+# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
+
+ECLIPSE_DOC_ID = org.doxygen.Project
+
+# If you want full control over the layout of the generated HTML pages it might
+# be necessary to disable the index and replace it with your own. The
+# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
+# of each HTML page. A value of NO enables the index and the value YES disables
+# it. Since the tabs in the index contain the same information as the navigation
+# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+DISABLE_INDEX = NO
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information. If the tag
+# value is set to YES, a side panel will be generated containing a tree-like
+# index structure (just like the one that is generated for HTML Help). For this
+# to work a browser that supports JavaScript, DHTML, CSS and frames is required
+# (i.e. any modern browser). Windows users are probably better off using the
+# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
+# further fine-tune the look of the index. As an example, the default style
+# sheet generated by doxygen has an example that shows how to put an image at
+# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
+# the same information as the tab index, you could consider setting
+# DISABLE_INDEX to YES when enabling this option.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+GENERATE_TREEVIEW = NO
+
+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
+# doxygen will group on one line in the generated HTML documentation.
+#
+# Note that a value of 0 will completely suppress the enum values from appearing
+# in the overview section.
+# Minimum value: 0, maximum value: 20, default value: 4.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+ENUM_VALUES_PER_LINE = 4
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
+# to set the initial width (in pixels) of the frame in which the tree is shown.
+# Minimum value: 0, maximum value: 1500, default value: 250.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+TREEVIEW_WIDTH = 250
+
+# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
+# external symbols imported via tag files in a separate window.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+EXT_LINKS_IN_WINDOW = NO
+
+# Use this tag to change the font size of LaTeX formulas included as images in
+# the HTML documentation. When you change the font size after a successful
+# doxygen run you need to manually remove any form_*.png images from the HTML
+# output directory to force them to be regenerated.
+# Minimum value: 8, maximum value: 50, default value: 10.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+FORMULA_FONTSIZE = 10
+
+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# generated for formulas are transparent PNGs. Transparent PNGs are not
+# supported properly for IE 6.0, but are supported on all modern browsers.
+#
+# Note that when changing this option you need to delete any form_*.png files in
+# the HTML output directory before the changes have effect.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+FORMULA_TRANSPARENT = YES
+
+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
+# http://www.mathjax.org) which uses client side Javascript for the rendering
+# instead of using prerendered bitmaps. Use this if you do not have LaTeX
+# installed or if you want to formulas look prettier in the HTML output. When
+# enabled you may also need to install MathJax separately and configure the path
+# to it using the MATHJAX_RELPATH option.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+USE_MATHJAX = NO
+
+# When MathJax is enabled you can set the default output format to be used for
+# the MathJax output. See the MathJax site (see:
+# http://docs.mathjax.org/en/latest/output.html) for more details.
+# Possible values are: HTML-CSS (which is slower, but has the best
+# compatibility), NativeMML (i.e. MathML) and SVG.
+# The default value is: HTML-CSS.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_FORMAT = HTML-CSS
+
+# When MathJax is enabled you need to specify the location relative to the HTML
+# output directory using the MATHJAX_RELPATH option. The destination directory
+# should contain the MathJax.js script. For instance, if the mathjax directory
+# is located at the same level as the HTML output directory, then
+# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
+# Content Delivery Network so you can quickly see the result without installing
+# MathJax. However, it is strongly recommended to install a local copy of
+# MathJax from http://www.mathjax.org before deployment.
+# The default value is: http://cdn.mathjax.org/mathjax/latest.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
+
+# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
+# extension names that should be enabled during MathJax rendering. For example
+# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_EXTENSIONS =
+
+# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
+# of code that will be used on startup of the MathJax code. See the MathJax site
+# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
+# example see the documentation.
+# This tag requires that the tag USE_MATHJAX is set to YES.
+
+MATHJAX_CODEFILE =
+
+# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
+# the HTML output. The underlying search engine uses javascript and DHTML and
+# should work on any modern browser. Note that when using HTML help
+# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
+# there is already a search function so this one should typically be disabled.
+# For large projects the javascript based search engine can be slow, then
+# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
+# search using the keyboard; to jump to the search box use + S
+# (what the is depends on the OS and browser, but it is typically
+# , /, or both). Inside the search box use the to jump into the search results window, the results can be navigated
+# using the . Press to select an item or to cancel
+# the search. The filter options can be selected when the cursor is inside the
+# search box by pressing +. Also here use the
+# to select a filter and or to activate or cancel the filter
+# option.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+SEARCHENGINE = YES
+
+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+# implemented using a web server instead of a web client using Javascript. There
+# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
+# setting. When disabled, doxygen will generate a PHP script for searching and
+# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
+# and searching needs to be provided by external tools. See the section
+# "External Indexing and Searching" for details.
+# The default value is: NO.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SERVER_BASED_SEARCH = NO
+
+# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
+# script for searching. Instead the search results are written to an XML file
+# which needs to be processed by an external indexer. Doxygen will invoke an
+# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
+# search results.
+#
+# Doxygen ships with an example indexer ( doxyindexer) and search engine
+# (doxysearch.cgi) which are based on the open source search engine library
+# Xapian (see: http://xapian.org/).
+#
+# See the section "External Indexing and Searching" for details.
+# The default value is: NO.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTERNAL_SEARCH = NO
+
+# The SEARCHENGINE_URL should point to a search engine hosted by a web server
+# which will return the search results when EXTERNAL_SEARCH is enabled.
+#
+# Doxygen ships with an example indexer ( doxyindexer) and search engine
+# (doxysearch.cgi) which are based on the open source search engine library
+# Xapian (see: http://xapian.org/). See the section "External Indexing and
+# Searching" for details.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SEARCHENGINE_URL =
+
+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
+# search data is written to a file for indexing by an external tool. With the
+# SEARCHDATA_FILE tag the name of this file can be specified.
+# The default file is: searchdata.xml.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+SEARCHDATA_FILE = searchdata.xml
+
+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
+# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
+# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
+# projects and redirect the results back to the right project.
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTERNAL_SEARCH_ID =
+
+# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
+# projects other than the one defined by this configuration file, but that are
+# all added to the same external search index. Each project needs to have a
+# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
+# to a relative location where the documentation can be found. The format is:
+# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
+# This tag requires that the tag SEARCHENGINE is set to YES.
+
+EXTRA_SEARCH_MAPPINGS =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
+# The default value is: YES.
+
+GENERATE_LATEX = YES
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: latex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_OUTPUT = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked.
+#
+# Note that when enabling USE_PDFLATEX this option is only used for generating
+# bitmaps for formulas in the HTML output, but not in the Makefile that is
+# written to the output directory.
+# The default file is: latex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_CMD_NAME = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
+# index for LaTeX.
+# The default file is: makeindex.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
+# documents. This may be useful for small projects and may help to save some
+# trees in general.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used by the
+# printer.
+# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
+# 14 inches) and executive (7.25 x 10.5 inches).
+# The default value is: a4.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+PAPER_TYPE = a4
+
+# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
+# that should be included in the LaTeX output. To get the times font for
+# instance you can specify
+# EXTRA_PACKAGES=times
+# If left blank no extra packages will be included.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+EXTRA_PACKAGES =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
+# generated LaTeX document. The header should contain everything until the first
+# chapter. If it is left blank doxygen will generate a standard header. See
+# section "Doxygen usage" for information on how to let doxygen write the
+# default header to a separate file.
+#
+# Note: Only use a user-defined header if you know what you are doing! The
+# following commands have a special meaning inside the header: $title,
+# $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
+# replace them by respectively the title of the page, the current date and time,
+# only the current date, the version number of doxygen, the project name (see
+# PROJECT_NAME), or the project number (see PROJECT_NUMBER).
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_HEADER =
+
+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
+# generated LaTeX document. The footer should contain everything after the last
+# chapter. If it is left blank doxygen will generate a standard footer.
+#
+# Note: Only use a user-defined footer if you know what you are doing!
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_FOOTER =
+
+# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the LATEX_OUTPUT output
+# directory. Note that the files will be copied as-is; there are no commands or
+# markers available.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_EXTRA_FILES =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
+# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
+# contain links (just like the HTML output) instead of page references. This
+# makes the output suitable for online browsing using a PDF viewer.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+PDF_HYPERLINKS = YES
+
+# If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
+# the PDF file directly from the LaTeX files. Set this option to YES to get a
+# higher quality PDF documentation.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+USE_PDFLATEX = YES
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
+# command to the generated LaTeX files. This will instruct LaTeX to keep running
+# if errors occur, instead of asking the user for help. This option is also used
+# when generating formulas in HTML.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_BATCHMODE = NO
+
+# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
+# index chapters (such as File Index, Compound Index, etc.) in the output.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_HIDE_INDICES = NO
+
+# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
+# code with syntax highlighting in the LaTeX output.
+#
+# Note that which sources are shown also depends on other settings such as
+# SOURCE_BROWSER.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_SOURCE_CODE = NO
+
+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
+# bibliography, e.g. plainnat, or ieeetr. See
+# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
+# The default value is: plain.
+# This tag requires that the tag GENERATE_LATEX is set to YES.
+
+LATEX_BIB_STYLE = plain
+
+#---------------------------------------------------------------------------
+# Configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
+# RTF output is optimized for Word 97 and may not look too pretty with other RTF
+# readers/editors.
+# The default value is: NO.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: rtf.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_OUTPUT = rtf
+
+# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
+# documents. This may be useful for small projects and may help to save some
+# trees in general.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
+# contain hyperlink fields. The RTF file will contain links (just like the HTML
+# output) instead of page references. This makes the output suitable for online
+# browsing using Word or some other Word compatible readers that support those
+# fields.
+#
+# Note: WordPad (write) and others do not support links.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's config
+# file, i.e. a series of assignments. You only have to provide replacements,
+# missing definitions are set to their default value.
+#
+# See also section "Doxygen usage" for information on how to generate the
+# default style sheet that doxygen normally uses.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an RTF document. Syntax is
+# similar to doxygen's config file. A template extensions file can be generated
+# using doxygen -e rtf extensionFile.
+# This tag requires that the tag GENERATE_RTF is set to YES.
+
+RTF_EXTENSIONS_FILE =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
+# classes and files.
+# The default value is: NO.
+
+GENERATE_MAN = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it. A directory man3 will be created inside the directory specified by
+# MAN_OUTPUT.
+# The default directory is: man.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_OUTPUT = man
+
+# The MAN_EXTENSION tag determines the extension that is added to the generated
+# man pages. In case the manual section does not start with a number, the number
+# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
+# optional.
+# The default value is: .3.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_EXTENSION = .3
+
+# The MAN_SUBDIR tag determines the name of the directory created within
+# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
+# MAN_EXTENSION with the initial . removed.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_SUBDIR =
+
+# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
+# will generate one additional man file for each entity documented in the real
+# man page(s). These additional files only source the real man page, but without
+# them the man command would be unable to find the correct page.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_LINKS = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
+# captures the structure of the code including all documentation.
+# The default value is: NO.
+
+GENERATE_XML = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
+# it.
+# The default directory is: xml.
+# This tag requires that the tag GENERATE_XML is set to YES.
+
+XML_OUTPUT = xml
+
+# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
+# listings (including syntax highlighting and cross-referencing information) to
+# the XML output. Note that enabling this will significantly increase the size
+# of the XML output.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_XML is set to YES.
+
+XML_PROGRAMLISTING = YES
+
+#---------------------------------------------------------------------------
+# Configuration options related to the DOCBOOK output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
+# that can be used to generate PDF.
+# The default value is: NO.
+
+GENERATE_DOCBOOK = NO
+
+# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
+# front of it.
+# The default directory is: docbook.
+# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
+
+DOCBOOK_OUTPUT = docbook
+
+#---------------------------------------------------------------------------
+# Configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
+# Definitions (see http://autogen.sf.net) file that captures the structure of
+# the code including all documentation. Note that this feature is still
+# experimental and incomplete at the moment.
+# The default value is: NO.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
+# file that captures the structure of the code including all documentation.
+#
+# Note that this feature is still experimental and incomplete at the moment.
+# The default value is: NO.
+
+GENERATE_PERLMOD = NO
+
+# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
+# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
+# output from the Perl module output.
+# The default value is: NO.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_LATEX = NO
+
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
+# formatted so it can be parsed by a human reader. This is useful if you want to
+# understand what is going on. On the other hand, if this tag is set to NO the
+# size of the Perl module output will be much smaller and Perl will parse it
+# just the same.
+# The default value is: YES.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_PRETTY = YES
+
+# The names of the make variables in the generated doxyrules.make file are
+# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
+# so different doxyrules.make files included by the same Makefile don't
+# overwrite each other's variables.
+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
+# C-preprocessor directives found in the sources and include files.
+# The default value is: YES.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
+# in the source code. If set to NO only conditional compilation will be
+# performed. Macro expansion can be done in a controlled way by setting
+# EXPAND_ONLY_PREDEF to YES.
+# The default value is: NO.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+MACRO_EXPANSION = NO
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
+# the macro expansion is limited to the macros specified with the PREDEFINED and
+# EXPAND_AS_DEFINED tags.
+# The default value is: NO.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+EXPAND_ONLY_PREDEF = NO
+
+# If the SEARCH_INCLUDES tag is set to YES the includes files in the
+# INCLUDE_PATH will be searched if a #include is found.
+# The default value is: YES.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by the
+# preprocessor.
+# This tag requires that the tag SEARCH_INCLUDES is set to YES.
+
+INCLUDE_PATH =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will be
+# used.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that are
+# defined before the preprocessor is started (similar to the -D option of e.g.
+# gcc). The argument of the tag is a list of macros of the form: name or
+# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
+# is assumed. To prevent a macro definition from being undefined via #undef or
+# recursively expanded use the := operator instead of the = operator.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+PREDEFINED =
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
+# tag can be used to specify a list of macro names that should be expanded. The
+# macro definition that is found in the sources will be used. Use the PREDEFINED
+# tag if you want to use a different macro definition that overrules the
+# definition found in the source code.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
+# remove all references to function-like macros that are alone on a line, have
+# an all uppercase name, and do not end with a semicolon. Such function macros
+# are typically used for boiler-plate code, and will confuse the parser if not
+# removed.
+# The default value is: YES.
+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration options related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES tag can be used to specify one or more tag files. For each tag
+# file the location of the external documentation should be added. The format of
+# a tag file without this location is as follows:
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where loc1 and loc2 can be relative or absolute paths or URLs. See the
+# section "Linking to external documentation" for more information about the use
+# of tag files.
+# Note: Each tag file must have a unique name (where the name does NOT include
+# the path). If a tag file is not located in the directory in which doxygen is
+# run, you must also specify the path to the tagfile here.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
+# tag file that is based on the input files it reads. See section "Linking to
+# external documentation" for more information about the usage of tag files.
+
+GENERATE_TAGFILE =
+
+# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
+# class index. If set to NO only the inherited external classes will be listed.
+# The default value is: NO.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
+# the modules index. If set to NO, only the current project's groups will be
+# listed.
+# The default value is: YES.
+
+EXTERNAL_GROUPS = YES
+
+# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
+# the related pages index. If set to NO, only the current project's pages will
+# be listed.
+# The default value is: YES.
+
+EXTERNAL_PAGES = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of 'which perl').
+# The default file (with absolute path) is: /usr/bin/perl.
+
+PERL_PATH = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
+# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
+# NO turns the diagrams off. Note that this option also works with HAVE_DOT
+# disabled, but it is recommended to install and use dot, since it yields more
+# powerful graphs.
+# The default value is: YES.
+
+CLASS_DIAGRAMS = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see:
+# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH =
+
+# You can include diagrams made with dia in doxygen documentation. Doxygen will
+# then run dia to produce the diagram and insert it in the documentation. The
+# DIA_PATH tag allows you to specify the directory where the dia binary resides.
+# If left empty dia is assumed to be found in the default search path.
+
+DIA_PATH =
+
+# If set to YES, the inheritance and collaboration graphs will hide inheritance
+# and usage relations if the target is undocumented or is not a class.
+# The default value is: YES.
+
+HIDE_UNDOC_RELATIONS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz (see:
+# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
+# Bell Labs. The other options in this section have no effect if this option is
+# set to NO
+# The default value is: NO.
+
+HAVE_DOT = NO
+
+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
+# to run in parallel. When set to 0 doxygen will base this on the number of
+# processors available in the system. You can set it explicitly to a value
+# larger than 0 to get control over the balance between CPU load and processing
+# speed.
+# Minimum value: 0, maximum value: 32, default value: 0.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_NUM_THREADS = 0
+
+# When you want a differently looking font n the dot files that doxygen
+# generates you can specify the font name using DOT_FONTNAME. You need to make
+# sure dot is able to find the font, which can be done by putting it in a
+# standard location or by setting the DOTFONTPATH environment variable or by
+# setting DOT_FONTPATH to the directory containing the font.
+# The default value is: Helvetica.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTNAME = Helvetica
+
+# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
+# dot graphs.
+# Minimum value: 4, maximum value: 24, default value: 10.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTSIZE = 10
+
+# By default doxygen will tell dot to use the default font as specified with
+# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
+# the path where dot can find it using this tag.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_FONTPATH =
+
+# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
+# each documented class showing the direct and indirect inheritance relations.
+# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
+# graph for each documented class showing the direct and indirect implementation
+# dependencies (inheritance, containment, and class references variables) of the
+# class with other documented classes.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+COLLABORATION_GRAPH = YES
+
+# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
+# groups, showing the direct groups dependencies.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GROUP_GRAPHS = YES
+
+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+UML_LOOK = NO
+
+# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
+# class node. If there are many fields or methods and many nodes the graph may
+# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
+# number of items for each type to make the size more manageable. Set this to 0
+# for no limit. Note that the threshold may be exceeded by 50% before the limit
+# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
+# but if the number exceeds 15, the total amount of fields shown is limited to
+# 10.
+# Minimum value: 0, maximum value: 100, default value: 10.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+UML_LIMIT_NUM_FIELDS = 10
+
+# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
+# collaboration graphs will show the relations between templates and their
+# instances.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+TEMPLATE_RELATIONS = NO
+
+# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
+# YES then doxygen will generate a graph for each documented file showing the
+# direct and indirect include dependencies of the file with other documented
+# files.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INCLUDE_GRAPH = YES
+
+# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
+# set to YES then doxygen will generate a graph for each documented file showing
+# the direct and indirect include dependencies of the file with other documented
+# files.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
+# dependency graph for every global function or class method.
+#
+# Note that enabling this option will significantly increase the time of a run.
+# So in most cases it will be better to enable call graphs for selected
+# functions only using the \callgraph command.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CALL_GRAPH = NO
+
+# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
+# dependency graph for every global function or class method.
+#
+# Note that enabling this option will significantly increase the time of a run.
+# So in most cases it will be better to enable caller graphs for selected
+# functions only using the \callergraph command.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+CALLER_GRAPH = NO
+
+# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
+# hierarchy of all classes instead of a textual one.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GRAPHICAL_HIERARCHY = YES
+
+# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
+# dependencies a directory has on other directories in a graphical way. The
+# dependency relations are determined by the #include relations between the
+# files in the directories.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DIRECTORY_GRAPH = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot.
+# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
+# to make the SVG files visible in IE 9+ (other browsers do not have this
+# requirement).
+# Possible values are: png, jpg, gif and svg.
+# The default value is: png.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_IMAGE_FORMAT = png
+
+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
+# enable generation of interactive SVG images that allow zooming and panning.
+#
+# Note that this requires a modern browser other than Internet Explorer. Tested
+# and working are Firefox, Chrome, Safari, and Opera.
+# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
+# the SVG files visible. Older versions of IE do not have SVG support.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+INTERACTIVE_SVG = NO
+
+# The DOT_PATH tag can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the \dotfile
+# command).
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOTFILE_DIRS =
+
+# The MSCFILE_DIRS tag can be used to specify one or more directories that
+# contain msc files that are included in the documentation (see the \mscfile
+# command).
+
+MSCFILE_DIRS =
+
+# The DIAFILE_DIRS tag can be used to specify one or more directories that
+# contain dia files that are included in the documentation (see the \diafile
+# command).
+
+DIAFILE_DIRS =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
+# that will be shown in the graph. If the number of nodes in a graph becomes
+# larger than this value, doxygen will truncate the graph, which is visualized
+# by representing a node as a red box. Note that doxygen if the number of direct
+# children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
+# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+# Minimum value: 0, maximum value: 10000, default value: 50.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_GRAPH_MAX_NODES = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
+# generated by dot. A depth value of 3 means that only nodes reachable from the
+# root by following a path via at most 3 edges will be shown. Nodes that lay
+# further from the root node will be omitted. Note that setting this option to 1
+# or 2 may greatly reduce the computation time needed for large code bases. Also
+# note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+# Minimum value: 0, maximum value: 1000, default value: 0.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+MAX_DOT_GRAPH_DEPTH = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not seem
+# to support this out of the box.
+#
+# Warning: Depending on the platform used, enabling this option may lead to
+# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
+# read).
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_TRANSPARENT = NO
+
+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10) support
+# this, this feature is disabled by default.
+# The default value is: NO.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_MULTI_TARGETS = NO
+
+# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
+# explaining the meaning of the various boxes and arrows in the dot generated
+# graphs.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
+# files that are used to generate the various graphs.
+# The default value is: YES.
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_CLEANUP = YES
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/Nsubjettiness.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/Nsubjettiness.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/Nsubjettiness.cc (revision 1412)
@@ -0,0 +1,54 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#include "Nsubjettiness.hh"
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib {
+
+LimitedWarning Nsubjettiness::_old_constructor_warning;
+
+
+//result returns tau_N with normalization dependent on what is specified in constructor
+double Nsubjettiness::result(const PseudoJet& jet) const {
+ std::vector particles = jet.constituents();
+ return _njettinessFinder.getTau(_N, particles);
+}
+
+TauComponents Nsubjettiness::component_result(const PseudoJet& jet) const {
+ std::vector particles = jet.constituents();
+ return _njettinessFinder.getTauComponents(_N, particles);
+}
+
+//ratio result uses Nsubjettiness result to find the ratio tau_N/tau_M, where N and M are specified by user
+double NsubjettinessRatio::result(const PseudoJet& jet) const {
+ double numerator = _nsub_numerator.result(jet);
+ double denominator = _nsub_denominator.result(jet);
+ return numerator/denominator;
+}
+
+} // namespace contrib
+
+FASTJET_END_NAMESPACE
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/Nsubjettiness.cc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/ChangeLog
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/ChangeLog (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/ChangeLog (revision 1412)
@@ -0,0 +1,351 @@
+2024-02-28
+ Fixing unsigned int warning in example_advanced_usage.cc
+ Updated NEWS and VERSION getting ready for v2.3.2 release
+2024-02-27
+ Fixing unsigned int warning in AxesDefinition.hh
+ Updated NEWS and VERSION getting ready for v2.3.1 release
+2024-02-22
+ Updated README and VERSION getting ready for v2.3.0 release
+ Removed extraneous "-lm" from Makefile
+ Added HalfKT options to AxesDefinition.hh
+ Updated example files with new recommended usage and higher accuracy for OnePass minimization
+ Removed "ee" example file, since it uses ee measure with pp axes (ee axes not available in current version)
+2022-06-13
+ Removed -std=c++11 flag from makefile
+ Updated MeasureDefinition.cc to remove "static thread_local" (since it
+ doesn't really seem to help with timing)
+2022-06-10
+ Updated makefile with -std=c++11 flag
+ Updated MeasureDefinition.cc with thread_local for thread safety
+2018-07-06
+ Updated comments in AxesDefinition.hh about role of JetDefinitionWrapper
+ Updated AUTHORS with JHEP publication information for XCone
+ Prepared VERSION and NEWS for 2.2.5 release
+2018-07-05
+ Fixed bug in AxesDefinition.hh where _recomb was used before it was declared.
+2016-06-08
+ Fixed bug in MeasureDefinition.cc where axes were not completely defined,
+ leading to problems with multi-pass axes
+2016-04-04
+ Fixed Njettiness.cc to give value of _current_tau_components even if less
+ than N constituents
+ Delete extraneous code in example_advanced_usage.cc
+2016-03-29
+ Update for FJ 3.2.0 to deal with SharedPtr () deprecation
+2015-09-28
+ Updated NEWS for 2.2.1 release.
+2015-09-18
+ Fixed duplicate XConePlugin entry in Makefile.
+2015-08-20
+ Trying to fix "abs" bug in ExtraRecombiners.cc
+2015-08-19
+ Adding arXiv numbers to XCone papers
+ Used this_jet in example_basic_usage.
+ Fixed typo in example_advanced_usage header.
+ Added copy/paste code in README file.
+2015-08-13
+ Ready for 2.2.0 release
+2015-07-23
+ Fixed typo in GenET_GenKT_Axes error message
+ Added _too_few_axes_warning to ExclusiveJetAxes and ExclusiveCombinatorialJetAxes
+ Switched to ../data/single_event_ee.dat for make check
+2015-07-20
+ Renamed WinnerTakeAllRecombiner.hh/cc to ExtraRecombiners.hh/cc
+ Added _too_few_axes_warning to HardestJetAxes
+ Added GenKT_Axes and OnePass_GenKT_Axes and Comb_GenKT_Axes (using E-scheme recombination).
+ Added warning about p < 0 or delta <=0 in GenKT axes finders.
+ Added warning about beta <= 0 in all measures.
+2015-07-10
+ Putting in small tweaks in documentation to get ready for 2.2 release candidate 1.
+2015-06-15
+ Starting doxygen file for eventual improved documentation.
+ Starting long process of improving documentation throughout.
+ Made the basic usage file a bit easier to read.
+ Adding in LimitedWarnings for old style constructors
+2015-06-12
+ Synchronized definition of new measures with XCone paper.
+ In MeasureDefinition, added default values of jet_distance_squared and beam_distance_squared for cases where we don't want to optimize specifically.
+ Fixed bug in OriginalGeometricMeasure and ModifiedGeometric Measure
+ Commented out DeprecatedGeometricMeasure and DeprecatedGeometricCutoffMeasure since they were only causing confusion
+2015-05-26
+ Removed axis_scale_factor(), added bool to calculate this value if needed to save computation time
+ Defined small offset in denominator of axis scaling according to accuracy of refinement
+ Updated advanced examples to include tau values and number of jet constituents
+2015-05-25
+ Clean up of AxesDefinition
+ Splitting get_axes into get_starting_axes and get_refined axes
+ Putting in proper noise ranges (hopefully) for MultiPass
+ Clean up of MeasureDefinition, rename jet_gamma to beam_gamma
+ Put in zero checking for jet_distance in ConicalGeometricMeasure
+ Added in ConicalMeasure for consistency
+ Changing OnePass Minimization to allow for temporary uphill
+2015-05-24
+ Added Combinatorial GenET_GenKT_Axes and MultiPass_Manual_Axes
+ Moved Axes refining information into MeasureDefinition, associated each measure with corresponding axes refiner
+ Moved get_one_pass_axes into MeasureDefinition, removed any mention of Npass
+ Moved all information on number of passes to AxesDefinition
+ Made AxesRefiner.hh/.cc into defunct files
+2015-05-22
+ Cleaning out commented text. Renaming classes to be consistent with recommended usage.
+2015-05-22
+ Added XConePlugin as a specific implementation of NjettinessPlugin
+ Added usage of XCone beta = 1.0 and beta = 2.0 to both basic and advanced example files
+ Added OriginalGeometric, ModifiedGeometric, ConicalGeometric, and XCone measures to list of test measures
+ Added OnePass_GenRecomb_GenKT_Axes to list of test axes
+ Added description to XCone measure in MeasureDefinition
+2015-05-21
+ Updated minimization scheme to avoid divide-by-zero errors
+ Fixed various factors of 2 in the definition of the measures
+2015-04-19
+ Fixed bug in minimization scheme for GeneralAxesRefiner
+ Moved measure_type to DefaultMeasure, removed geometric measure from e+e- example file
+2015-03-22
+ Added OriginalGeometricMeasure and ModifiedGeometricMeasure definitions
+ Changed all instances of GeometricMeasure to DeprecatedGeometricMeasure, and added error statements
+ Made GeneralAxesRefiner the default axes refiner for Measure Definition, overwritten by DefaultMeasure and GeometricMeasure
+ Created DefaultMeasure class for all the conical measure subclasses
+ Separated out e+e- and pp measures into separate example files
+2015-03-09
+ Added ConicalGeometric measures with jet_beta and jet_gamma definitions
+ Added XCone measures derived from ConicalGeometric with jet_gamma = 1.0
+ Added GeneralAxesRefiner for use with any measure (currently defined with XCone measure)
+ Added axes_numerator in MeasureDefinition to define the momentum scaling for minimization (currently only defined for Conical Geometric measure)
+2014-11-28
+ Minor change to default parameters in axes definition
+2014-10-08
+ Updated example file with new e+e- measure definitions
+ Added measure type to measure definition descriptions
+ Changed order of parameters in new axes definitions
+ Added standard C++ epsilon definition to GeneralERecombiner
+2014-10-07
+ Updated example_advanced_usage with new axes choices
+ Reversed inheritance of NormalizedMeasure and NormalizedCutoffMeasure (and Geometric) back to original
+ Storing _RcutoffSq as separate variable, and recalculating it in NormalizedMeasure
+ Cleaning up ExclusiveCombinatorialJetAxes and added comments to explain the process
+ Fixed memory leaks using delete_recombiner_when_unused()
+ Fixed manual axes bug in Njettiness
+ Cleaned up enum definitions
+2014-10-01
+ Added new parameterized recombination scheme to Winner-Take-All recombiner
+ Created Winner-Take-All GenKT and general Recomb GenKT axes finders and onepass versions
+ Created new N choose M minimization axis finder, created N choose M WTA GenKT axis finder as example
+ Removed NPass as constructor argument in AxesDefinition, made it set through protected method
+ Removed TauMode as constructor argument in MeasureDefinition, made it set through protected method
+ Flipped inheritance of NormalizedMeasure and NormalizedCutoffMeasure (same for Geometric) to remove error of squaring the integer maximum
+ Created new MeasureType enum to allow user to choose between pp and ee variables (ee variables need testing)
+ Updated MeasureDefinition constructors to take in extra MeasureType parameter (but defaulted to pp variables)
+ Added new Default TauMode argument
+ Fixed unsigned integers in various places
+ Added setAxes method to NjettinessPlugin
+2014-08-26
+ Enhanced TauComponents to include more infomation
+ NjettinessExtras now inherits from TauComponents
+ Removed getPartition from Njettiness, to avoid code duplication
+ Fixed double calculating issue in NjettinessPlugin::run_clustering()
+ Now AxesDefinition can use measure information without running AxesRefiner
+ Added TauStructure so the jets returned by TauComponents can know their tau value.
+2014-08-25
+ Merged MeasureDefinition and MeasureFunction into new MeasureDefinition.
+ Merged StartingAxesFinder and AxesDefinition into new AxesDefinition.
+ Renamed AxesFinder.cc/hh to AxesRefiner.cc/hh
+ Renamed NjettinessDefinition.cc/hh to AxesDefinition.cc/hh
+ Renamed MeasureFunction.cc/hh to MeasureDefinition.cc/hh
+ Renaming result() function in MeasureDefinition to be consistent with Nsubjettiness interface.
+ Split off TauComponents into separate header
+ Added TauPartition class for readability of partitioning
+ Moved NjettinessExtras into TauComponents, as this will eventually be the logical location
+ Added cross check of new MeasureDefinition and AxesDefinition in example_advanced_usage.
+ Lots of comments updated.
+ Changed version number to 2.2.0-alpha-dev, since this is going to be a bigger update than I had originally thought
+2014-08-20
+ Incorporated code in NjettinessPlugin to handle FJ3.1 treatment of auto_ptr (thanks Gregory)
+ Changed version number to 2.1.1-alpha-dev
+ Split AxesFinder into StartingAxesFinder and RefiningAxesFinder for clarity.
+ Manual axes mode now corresponds to a NULL StartingAxesFinder in Njettiness (so removed AxesFinderFromUserInput)
+ Added AxesRefiningMode to make selection of minimization routine more transparent in Njettiness
+ Moved sq() to more appropriate place in AxesFinder.hh
+ Rearranged Nsubjettiness.hh to make the old code less visible.
+ Renamed AxesFinderFromOnePassMinimization -> AxesFinderFromConicalMinimization
+ Renamed DefaultUnnormalizedMeasureFunction -> ConicalUnnormalizedMeasureFunction
+ Removed supportsMultiPassMinimization() from MeasureDefinition since any One Pass algorithm can be multipass.
+2014-07-09
+ Changed version for 2.1.0 release.
+ Updated NEWS to reflect 2.1.0 release
+2014-07-07
+ Added forward declaration of options in NjettinessDefinition for readability.
+ Updated README with some clarifications
+ Added usage information in the example file
+ Reran svn propset svn:keywords Id *.cc *.hh
+2014-06-25
+ Declaring release candidate of 2.1
+2014-06-11
+ Fixed virtual destructor issue in AxesFinder
+ Changing copy() to create() in NjettinessDefinition for "new" clarity
+ Converted some SharedPtr to regular pointers in NjettinessDefinition to be consistent on meaning of "create" commands.
+2014-06-10
+ Slight modification of example_advanced_usage
+ Fixed bug in GeometricCutoffMeasure (incorrect denominator setting)
+2014-06-05
+ Moved public before private in the .hh files for readability
+ Starting process of switching to SharedPtr internally
+ Clean up of AxesFinderFromGeometricMinimization
+ Simplified AxesFinder interface such that it doesn't know about starting axes finders (this is now handled in Njettiness).
+ Added const qualifiers in Njettiness
+2014-06-04
+ Implemented AxesDefinition class
+ Added descriptions to AxesDefinition and MeasureDefinition
+ Simplified example_advanced_usage with new Definitions
+ Made copy constructor private for Njettiness, to avoid copying
+2014-06-03
+ Implemented remaining suggestions from FJ authors (Thanks!)
+ Fixed bug in example_advanced_usage where wrong beta value was used for NjettinessPlugin tests.
+ Removed NANs as signals for number of parameters in Nsubjettiness and NjettinessPlugin
+ Reduced the number of allowed parameters from 4 to 3.
+ Wrapped NEWS to 80 characters
+ Added MeasureDefinition as way to safely store information about the measures used
+ Converted a few NANs to std::numeric_limits::quiet_NaN() when a parameter shouldn't be used.
+ Added AxesStruct and MeasureStruct to simplify the form of example_advanced_usage
+ Added example_v1p0p3 to check for backwards compatibility with v1.0.3
+ Changed the names of the MeasureFunctions in order to avoid conflicts with the new MeasureDefinitions
+ Fixed bug in correlation between subjets and tau values in NjettinessPlugin
+ Added currentTauComponents to Nsubjettiness
+ Added subTau information to example_basic_usage
+ Added file NjettinessDefinition to hold MeasureDefinition
+ Changed Njettiness constructors to treat MeasureSpecification as primary object
+ Fixed segmentation fault with ClusterSequenceAreas
+2014-06-02
+ Implemented many suggestions from FJ authors (Thanks!)
+ Removed FastJet 2 specific code
+ Made sq() function into internal namespace (as "inline static" to avoid conflicts with other packages)
+ Made setAxes() take const reference argument
+ Rewrapped README to 80 characters and updated/improved some of the descriptions
+ Clarified NEWS about what parts of the Nsubjettiness code is backwards compatible with v1.0.3
+ Clarified the para choices in Nsubjettiness constructor
+2014-04-30
+ Added (void)(n_jets) in AxesFinder.hh to fix unused-parameter warning
+2014-04-29
+ Added manual definition of NAN for compilers that don't have it.
+ Removed a few more unused parameters for compilation
+2014-04-22
+ Turned on -Wunused-parameter compiler flag to fix ATLAS compile issues.
+2014-04-18
+ Tweaks to NEWS and README. Preparing for 2.0.0-rc1 release.
+2014-04-16
+ Decided that enough has changed that this should be v2.0
+ Added Id tags
+2014-04-14
+ Added get_partition_list to MeasureFunction
+ Removed do_cluster from MeasureFunction (no longer needed)
+ Fixed bug with NjettinessPlugin where jets were listed in backwards order from axes.
+ Removed various commented out pieces of code.
+2014-03-16
+ Added partitioning information to Nsubjettiness
+ Partitioning is now calculated in MeasureFunction and stored by Njettiness.
+ Rewrote MeasureFunction result() to call result_from_partition()
+ Added subjet (and constituent counting) information to example_basic_usage
+ Commented out redundant "getJets" function
+2014-02-25
+ Added access to seedAxes used for one-pass minimization routines.
+ Added axes print out to example_basic_usage, and fixed too many PrintJets declarations
+2014-02-24
+ Fixed embarrassing bug with min_axes (error introduced after v1.0 to make it the same as onepass_kt)
+ Simplified GeometricMeasure and added possibility of beta dependence
+ Commented out WTA2 options, since those have not been fully tested (nor do they seem particularly useful at the moment). They can be reinstated if the physics case can be made to use them.
+ Split example into example_basic_usage and example_advanced_usage
+2014-01-28
+ Added new options in WinnerTakeAllRecombiner to use either pT or pT^2/E to recombine particles
+2014-01-24
+ Added access to currentAxes from Nsubjettiness.
+2014-01-18
+ Added beam regions to MeasureFunction, correspondingly renamed functions to have jet and beam regions
+ Renamed functions in TauComponents for consistency with MeasureFunction
+ Adding debugging code to AxesFinderFromOnePassMinimization::getAxes
+ Worked extensively on example.cc to make sure that it tests all available options.
+ Rewrote PrintJets command in example.cc for later improvements
+ Converted some magic numbers to std::numeric_limits::max()
+2014-01-17
+ Rewrote KMeansMinimization to call OnePassMinimization, adding noise explicitly.
+ Removed any nothing of noise from OnePassMinimization
+ Removed Double32_t for root usage is Nsubjettiness
+ Clean up of many comments throughout the code, updating of README file
+ Removed unnecessary establishAxes in Njettiness
+ Removed bare constructor for Njettiness to avoid incompatibility with enum choices, may reinstate later. Also removed setMeasureFunction, setAxesFinder for same reason
+ NjettinessExtras now calls TauComponents
+2014-01-16
+ Moved minimization functions to OnePassMinimization, changed KMeansMinimization class to simply call OnePassMinimization a specified number of times
+ Added extra tau function in TauComponents for users to get tau directly
+ Changed radius parameter in AxesFinderFromExclusiveJet subclasses to use max_allowable_R
+ Updated example.ref to account for changes due to change in radius parameter
+2014-01-15
+ Changed NjettinessComponents to TauComponents
+ Updated MeasureFunction with "result" function that returns TauComponents object
+ TauComponents changed to calculate all tau components given subtaus_numerator and tau_denominator
+ Njettiness updated to return TauComponents object rather than individual components
+ Nsubjettiness and NjettinessPlugin updated to have option for 4th parameter
+2014-01-14
+ Added NjettinessComponents class so Njettiness does not recalculate tau values
+ Removed old Njettiness constructors, updated Nsubjettiness and NjettinessPlugin constructors to use new constructor
+ Added geometric minimization to OnePassAxesFinders
+ Created new Njettiness function to set OnePassAxesFinders to reduce code
+ Updated LightLikeAxis with ConvertToPseudoJet function
+ Updated README with new functionality of code
+2014-01-12
+ Removed NsubGeometricParameters in all functions/constructors, replaced with Rcutoff double
+ Added three new measure mode options where Rcutoff is declared explicitly in parameters
+ Added checks so minimization axes finders are not used for geometric measures
+ AxesFinderFromOnePassMinimization class created as child of AxesFinderFromKmeansMinimization
+ Added new NsubjettinessRatio constructor to include MeasureMode option
+ Moved AxesFinder and MeasureFunction declarations from AxesMode and MeasureMode into separate Njettiness function
+ Removed R0 from AxesFinderFromKmeansMinimization
+ Changed example.cc to get rid of use of NsubGeometricParameters
+2014-01-9
+ Removed NsubParameters in all functions/constructors, replaced with three separate parameters
+ Added checks for correct number of parameters in Njettiness constructor
+2014-01-8
+ Removed normalization information from Nsubjettiness
+ Added flag to MeasureFunction to give option of using the denominator
+ Split DefaultMeasure into separate normalized and unnormalized classes
+2014-01-7
+ Added capability of choosing a specific Measure in Njettiness
+ Added new Nsubjettiness constructor to allow choice of both AxesMode and MeasureMode
+2014-01-6
+ Updated copyright information
+ Fixed bug in WinnerTakeAllRecombiner
+ Moved KMeansParameters to AxesFinder
+ Updated README with descriptions of new header files
+2013-12-30
+ Changed name of MeasureFunctor to MeasureFunction
+ Created separate .hh/.cc files for MeasureFunction, AxesFinder, and WinnerTakeAllRecombiner
+ Updated Makefile to account for new files
+ Removed getMinimumAxes in AxesFinderFromKMeansMinimization, consolidated with getAxes
+ Updated comments on classes and major functions
+2013-12-22
+ Created .cc files and moved all function definitions into .cc files
+ Updated Makefile to account for new .cc files
+2013-11-12
+ Added to fjcontrib svn
+2013-11-12
+ Debugging svn
+2013-11-11
+ Changed MeasureFunctor to separately treat tau numerator and denominator
+ Changed some of the function names in MeasureFunctor. Should not affect users
+ Added more informative function names to Njettiness.
+ Njettiness now allows finding unnormalized tau values
+ Added WTARecombiner to define winner-take-all axes
+ Added various WTA options to AxesMode
+ Added setAxes to Nsubjettiness
+ Added NsubjettinessRatio function
+2013-08-26
+ Added inlines to fix compile issue
+ Put some of the minimization code inside of the AxesFinderFromKmeansMinimization class
+2013-02-23
+ Fixed dependency issue (now using make depend)
+2013-02-22
+ Fixed memory management and failed make check issues.
+2013-02-21
+ First version submitted to fjcontrib
+2013-02-20
+ Initial creation based on previous plugin hosted at http://www.jthaler.net/jets/
+
+
+
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage_ee.ref
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage_ee.ref (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage_ee.ref (revision 1412)
@@ -0,0 +1,1482 @@
+# read an event with 70 particles
+#--------------------------------------------------------------------------
+# FastJet release 3.1.2
+# M. Cacciari, G.P. Salam and G. Soyez
+# A software package for jet finding and analysis at colliders
+# http://fastjet.fr
+#
+# Please cite EPJC72(2012)1896 [arXiv:1111.6097] if you use this package
+# for scientific work and optionally PLB641(2006)57 [hep-ph/0512210].
+#
+# FastJet is provided without warranty under the terms of the GNU GPLv2.
+# It uses T. Chan's closest pair algorithm, S. Fortune's Voronoi code
+# and 3rd party plugin jet algorithms. See COPYING file for details.
+#--------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Analyzing Jet 1:
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Outputting N-subjettiness Values
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 0.148841 0.104154 0.094991 0.699766 0.912021
+ CA: 0.148841 0.109441 0.099409 0.735288 0.908331
+ AKT0.20: 0.153345 0.107126 0.089416 0.698597 0.834676
+ WTA KT: 0.150919 0.110314 0.078502 0.730945 0.711624
+ WTA CA: 0.160755 0.105976 0.097731 0.659240 0.922197
+ WTA, GenKT Axes: 0.160755 0.105976 0.084861 0.659240 0.800756
+ GenET, GenKT Axes: 0.160335 0.105923 0.085033 0.660635 0.802785
+ OnePass KT: 0.144939 0.102572 0.088333 0.707690 0.861186
+ OnePassAKT0.20: 0.144510 0.102622 0.078714 0.710137 0.767031
+ OnePass WTA KT: 0.144930 0.110314 0.078502 0.761153 0.711624
+ OnePass WTA GenKT: 0.144912 0.102070 0.078720 0.704358 0.771234
+ OnePass GenET, GenKT: 0.144927 0.102166 0.078722 0.704952 0.770530
+ N Choose M WTA GenKT: 0.150660 0.105976 0.078402 0.703412 0.739808
+ N Choose M GenET GenKT: 0.150660 0.105923 0.078442 0.703060 0.740552
+# OnePass CA: 0.144939 0.105944 0.093342 0.730956 0.881057
+# OnePass WTA CA: 0.144912 0.102070 0.089811 0.704358 0.879900
+# MultiPass: 0.144904 0.102182 0.082353 0.703780 0.783542
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 4.561444 3.191943 2.911120 0.699766 0.912021
+ CA: 4.561444 3.353974 3.046519 0.735288 0.908331
+ AKT0.20: 4.699471 3.283038 2.740273 0.698597 0.834676
+ WTA KT: 4.625141 3.380722 2.405802 0.730945 0.711624
+ WTA CA: 4.926567 3.247790 2.995103 0.659240 0.922197
+ WTA, GenKT Axes: 4.926567 3.247790 2.600686 0.659240 0.800756
+ GenET, GenKT Axes: 4.913705 3.246164 2.605972 0.660635 0.802785
+ OnePass KT: 4.440355 3.143452 2.705648 0.707928 0.860725
+ OnePassAKT0.20: 4.428705 3.144365 2.412228 0.709997 0.767159
+ OnePass WTA KT: 4.440350 3.380722 2.405802 0.761364 0.711624
+ OnePass WTA GenKT: 4.440363 3.128080 2.412166 0.704465 0.771133
+ OnePass GenET, GenKT: 4.440348 3.131033 2.412185 0.705132 0.770412
+ N Choose M WTA GenKT: 4.617196 3.247790 2.402743 0.703412 0.739808
+ N Choose M GenET GenKT: 4.617196 3.246164 2.403954 0.703060 0.740552
+# OnePass CA: 4.440355 3.246795 2.858601 0.731202 0.880438
+# OnePass WTA CA: 4.440363 3.128080 2.752396 0.704465 0.879900
+# MultiPass: 4.423144 3.143452 2.526025 0.707482 0.865557
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 0.032935 0.016233 0.012668 0.492898 0.780389
+ CA: 0.032935 0.017113 0.013689 0.519599 0.799946
+ AKT0.20: 0.042292 0.021336 0.018957 0.504503 0.888502
+ WTA KT: 0.033624 0.025977 0.012827 0.772588 0.493785
+ WTA CA: 0.046941 0.020750 0.018614 0.442055 0.897043
+ WTA, GenKT Axes: 0.046941 0.020750 0.017741 0.442055 0.854951
+ GenET, GenKT Axes: 0.046696 0.020766 0.017823 0.444708 0.858287
+ OnePass KT: 0.032935 0.016233 0.012668 0.492898 0.780389
+ OnePassAKT0.20: 0.032973 0.016503 0.015398 0.500503 0.933071
+ OnePass WTA KT: 0.032971 0.019218 0.011497 0.582879 0.598221
+ OnePass WTA GenKT: 0.032970 0.016777 0.013895 0.508862 0.828238
+ OnePass GenET, GenKT: 0.032970 0.016782 0.013929 0.509012 0.829996
+ N Choose M WTA GenKT: 0.033588 0.020435 0.012825 0.608416 0.627607
+ N Choose M GenET GenKT: 0.033588 0.020435 0.012752 0.608406 0.624014
+# OnePass CA: 0.032935 0.017113 0.012752 0.519599 0.745164
+# OnePass WTA CA: 0.032970 0.016777 0.012436 0.508862 0.741266
+# MultiPass: 0.032927 0.016233 0.010911 0.493024 0.707530
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 1.009327 0.497495 0.388240 0.492898 0.780389
+ CA: 1.009327 0.524445 0.419528 0.519599 0.799946
+ AKT0.20: 1.296086 0.653880 0.580973 0.504503 0.888502
+ WTA KT: 1.030444 0.796108 0.393106 0.772588 0.493785
+ WTA CA: 1.438569 0.635927 0.570454 0.442055 0.897043
+ WTA, GenKT Axes: 1.438569 0.635927 0.543687 0.442055 0.854951
+ GenET, GenKT Axes: 1.431061 0.636404 0.546218 0.444708 0.858287
+ OnePass KT: 1.009327 0.497495 0.388240 0.492898 0.780389
+ OnePassAKT0.20: 1.010495 0.505756 0.471907 0.500503 0.933071
+ OnePass WTA KT: 1.010430 0.588958 0.352327 0.582879 0.598221
+ OnePass WTA GenKT: 1.010399 0.506898 0.425842 0.501681 0.840094
+ OnePass GenET, GenKT: 1.010398 0.506487 0.426871 0.501274 0.842808
+ N Choose M WTA GenKT: 1.029351 0.626274 0.393054 0.608416 0.627607
+ N Choose M GenET GenKT: 1.029351 0.626264 0.390797 0.608406 0.624014
+# OnePass CA: 1.009327 0.524445 0.390798 0.519599 0.745164
+# OnePass WTA CA: 1.010399 0.506898 0.381125 0.501681 0.751876
+# MultiPass: 1.009075 0.497495 0.337369 0.493003 0.688048
+-----------------------------------------------------------------------------------------------
+Done Outputting N-subjettiness Values
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Outputting N-subjettiness Subjets
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.148841
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.148841
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.038773
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.065380
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.104154
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.022999
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.033218
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.038773
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.094991
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.150919
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.150919
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.028034
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 0.082280
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.110314
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.008939
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.041529
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.028034
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.078502
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.144939
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.144939
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.037048
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.065524
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.102572
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.2592 2.1969 4.2690 2.0912 9.0476 3 0.032121
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.029157
+ 3 -0.9562 2.0308 4.3301 1.2133 6.7143 5 0.027055
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.088333
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2831 2.3754 15.7767 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9839 2.0902 4.9347 0.0000 7.5225
+ 2 -1.3238 2.4394 11.4936 0.0000 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2983 2.2620 4.5974 0.0000 9.0476
+ 2 -1.3254 2.4939 7.3878 0.0000 14.8845
+ 3 -0.9805 2.0952 4.4160 0.0000 6.7143
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.144930
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.144930
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.028034
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 0.082280
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.110314
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.008939
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.041529
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.028034
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.078502
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2833 2.3756 15.7739 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.561444
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.561444
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 1.188268
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 2.003675
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 3.191943
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.704835
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 1.018017
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 1.188268
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 2.911120
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.625141
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.625141
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.859131
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 2.521592
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 3.380722
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.273942
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 1.272730
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.859131
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 2.405802
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440355
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440355
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 1.135378
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 2.008074
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 3.143452
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.2592 2.1969 4.2690 2.0912 9.0476 3 0.983013
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.893539
+ 3 -0.9562 2.0308 4.3301 1.2133 6.7143 5 0.829097
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 2.705648
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2841 2.3769 15.7636 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9839 2.0902 4.9347 0.0000 7.5225
+ 2 -1.3238 2.4394 11.4936 0.0000 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2934 2.2639 4.6167 0.0000 9.0476
+ 2 -1.3254 2.4939 7.3878 0.0000 14.8845
+ 3 -0.9805 2.0953 4.4161 0.0000 6.7143
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440350
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440350
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.859131
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 2.521592
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 3.380722
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.273942
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 1.272730
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.859131
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 2.405802
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2841 2.3769 15.7636 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032935
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032935
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.007045
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.009188
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.016233
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.001999
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.003625
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.007045
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.012668
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.033624
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.033624
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.004145
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 0.021832
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.025977
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.001802
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.006880
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.004145
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.012827
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032935
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032935
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.007045
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.009188
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.016233
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.001999
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.003625
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.007045
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.012668
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2506 2.3085 16.2201 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.0141 1.9959 4.8226 0.0000 7.5225
+ 2 -1.3122 2.4321 11.6100 0.0000 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3409 2.2483 4.0349 0.0000 8.2394
+ 2 -1.2848 2.5288 7.6518 0.0000 14.8845
+ 3 -1.0141 1.9959 4.8226 0.0000 7.5225
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032971
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.032971
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2507 2.4714 10.1069 2.1322 19.5170 7 0.005562
+ 2 -1.0778 2.0355 6.0829 3.0159 11.1294 7 0.013656
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.019218
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.001603
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.006256
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.003637
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.011497
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2539 2.3154 16.1753 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2685 2.4666 10.1739 0.0000 19.5170
+ 2 -1.1807 2.0737 6.2459 0.0000 11.1294
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9544 1.7716 2.2976 0.0000 3.4260
+ 2 -1.2188 2.2176 6.7068 0.0000 12.3359
+ 3 -1.2910 2.5224 7.6108 0.0000 14.8845
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.215907
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.281588
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.497495
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.061250
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.111082
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.215907
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.388240
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.030444
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.030444
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.127021
+ 2 -1.1119 2.1132 8.5695 3.7569 15.7619 8 0.669087
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.796108
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.055227
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.210858
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.127021
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.393106
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3484 2.5160 7.6695 0.0000 15.7640
+ 2 -1.2026 2.2995 8.7840 0.0000 15.9394
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9302 1.7670 2.0532 0.0000 3.0075
+ 2 -1.2026 2.2995 6.7308 0.0000 12.2137
+ 3 -1.3484 2.5160 7.6695 0.0000 15.7640
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.215907
+ 2 -1.2868 2.4321 11.5223 2.8364 23.1240 8 0.281588
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.497495
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3256 2.2483 4.0177 0.7610 8.2394 2 0.061250
+ 2 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.111082
+ 3 -0.9401 1.9959 4.6202 2.1564 7.5225 6 0.215907
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.388240
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2506 2.3085 16.2201 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.0141 1.9959 4.8226 0.0000 7.5225
+ 2 -1.3122 2.4321 11.6100 0.0000 23.1240
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3409 2.2483 4.0349 0.0000 8.2394
+ 2 -1.2848 2.5288 7.6518 0.0000 14.8845
+ 3 -1.0141 1.9959 4.8226 0.0000 7.5225
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010430
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010430
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -1.2507 2.4714 10.1069 2.1322 19.5170 7 0.170440
+ 2 -1.0778 2.0355 6.0829 3.0159 11.1294 7 0.418518
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.588958
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9078 1.7328 2.0436 1.2147 3.4260 4 0.049139
+ 2 -1.1825 2.2265 6.7150 1.6408 12.3359 4 0.191738
+ 3 -1.2664 2.5288 7.6079 1.5913 14.8845 6 0.111450
+total -1.1820 2.3085 15.8307 6.6742 30.6464 14 0.352327
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.2539 2.3154 16.1753 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2685 2.4666 10.1739 0.0000 19.5170
+ 2 -1.1807 2.0737 6.2459 0.0000 11.1294
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9544 1.7716 2.2976 0.0000 3.4260
+ 2 -1.2188 2.2176 6.7068 0.0000 12.3359
+ 3 -1.2910 2.5224 7.6108 0.0000 14.8845
+-----------------------------------------------------------------------------------------------
+Done Outputting N-subjettiness Subjets
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Analyzing Jet 2:
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Outputting N-subjettiness Values
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 0.205212 0.171288 0.128154 0.834690 0.748177
+ CA: 0.205212 0.190261 0.167907 0.927148 0.882509
+ AKT0.20: 0.216663 0.165031 0.110982 0.761691 0.672492
+ WTA KT: 0.214875 0.156737 0.107850 0.729435 0.688097
+ WTA CA: 0.218953 0.193562 0.178665 0.884035 0.923037
+ WTA, GenKT Axes: 0.218953 0.175569 0.138897 0.801859 0.791125
+ GenET, GenKT Axes: 0.224179 0.172390 0.137832 0.768985 0.799532
+ OnePass KT: 0.205212 0.163776 0.117171 0.798083 0.715437
+ OnePassAKT0.20: 0.206058 0.165031 0.110982 0.800893 0.672492
+ OnePass WTA KT: 0.205843 0.156737 0.107850 0.761442 0.688097
+ OnePass WTA GenKT: 0.205378 0.163688 0.138897 0.797007 0.848547
+ OnePass GenET, GenKT: 0.205193 0.163684 0.137832 0.797708 0.842060
+ N Choose M WTA GenKT: 0.214501 0.156038 0.106742 0.727449 0.684073
+ N Choose M GenET GenKT: 0.214501 0.156038 0.106742 0.727449 0.684073
+# OnePass CA: 0.205212 0.190261 0.167907 0.927148 0.882509
+# OnePass WTA CA: 0.205378 0.193562 0.178665 0.942464 0.923037
+# MultiPass: 0.205212 0.160753 0.117171 0.772163 0.723257
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 2.787928 2.327056 1.741051 0.834690 0.748177
+ CA: 2.787928 2.584822 2.281128 0.927148 0.882509
+ AKT0.20: 2.943507 2.242044 1.507757 0.761691 0.672492
+ WTA KT: 2.919210 2.129374 1.465216 0.729435 0.688097
+ WTA CA: 2.974609 2.629659 2.427272 0.884035 0.923037
+ WTA, GenKT Axes: 2.974609 2.385218 1.887005 0.801859 0.791125
+ GenET, GenKT Axes: 3.045612 2.342031 1.872528 0.768985 0.799532
+ OnePass KT: 2.787928 2.222914 1.591847 0.797335 0.716108
+ OnePassAKT0.20: 2.799145 2.242044 1.507757 0.800974 0.672492
+ OnePass WTA KT: 2.796502 2.129374 1.465216 0.761442 0.688097
+ OnePass WTA GenKT: 2.790197 2.222900 1.887005 0.796682 0.848893
+ OnePass GenET, GenKT: 2.787672 2.222909 1.872528 0.797407 0.842377
+ N Choose M WTA GenKT: 2.914128 2.119878 1.450151 0.727449 0.684073
+ N Choose M GenET GenKT: 2.914128 2.119878 1.450151 0.727449 0.684073
+# OnePass CA: 2.787928 2.584822 2.281128 0.927148 0.882509
+# OnePass WTA CA: 2.790197 2.629659 2.427272 0.942464 0.923037
+# MultiPass: 2.787423 2.197284 1.591847 0.788606 0.716703
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 0.064408 0.043207 0.031935 0.670836 0.739099
+ CA: 0.064408 0.051663 0.039595 0.802120 0.766410
+ AKT0.20: 0.070694 0.051361 0.035303 0.726516 0.687356
+ WTA KT: 0.073033 0.048932 0.035304 0.670001 0.721485
+ WTA CA: 0.068325 0.054502 0.043333 0.797679 0.795080
+ WTA, GenKT Axes: 0.068325 0.053915 0.044308 0.789085 0.821828
+ GenET, GenKT Axes: 0.070456 0.052154 0.043623 0.740234 0.836430
+ OnePass KT: 0.064408 0.042188 0.031658 0.655001 0.750411
+ OnePassAKT0.20: 0.064423 0.050682 0.034383 0.786717 0.678412
+ OnePass WTA KT: 0.064419 0.042202 0.031749 0.655117 0.752312
+ OnePass WTA GenKT: 0.064454 0.042139 0.043498 0.653791 1.032241
+ OnePass GenET, GenKT: 0.064457 0.041974 0.043518 0.651193 1.036788
+ N Choose M WTA GenKT: 0.068325 0.046218 0.035405 0.676446 0.766036
+ N Choose M GenET GenKT: 0.070456 0.045965 0.035405 0.652396 0.770257
+# OnePass CA: 0.064408 0.051663 0.039595 0.802120 0.766410
+# OnePass WTA CA: 0.064454 0.054502 0.043333 0.845596 0.795080
+# MultiPass: 0.064408 0.042188 0.029258 0.654438 0.684684
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+ AxisMode tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ KT: 0.875029 0.587001 0.433851 0.670836 0.739099
+ CA: 0.875029 0.701878 0.537926 0.802120 0.766410
+ AKT0.20: 0.960427 0.697766 0.479613 0.726516 0.687356
+ WTA KT: 0.992196 0.664772 0.479623 0.670001 0.721485
+ WTA CA: 0.928243 0.740440 0.588709 0.797679 0.795080
+ WTA, GenKT Axes: 0.928243 0.732463 0.601959 0.789085 0.821828
+ GenET, GenKT Axes: 0.957187 0.708542 0.592646 0.740234 0.836430
+ OnePass KT: 0.875029 0.573145 0.430094 0.655001 0.750411
+ OnePassAKT0.20: 0.875221 0.688551 0.467121 0.786717 0.678412
+ OnePass WTA KT: 0.875168 0.573337 0.431329 0.655117 0.752312
+ OnePass WTA GenKT: 0.875643 0.572487 0.590945 0.653791 1.032241
+ OnePass GenET, GenKT: 0.875687 0.570242 0.591220 0.651193 1.036788
+ N Choose M WTA GenKT: 0.928243 0.627906 0.480999 0.676446 0.766036
+ N Choose M GenET GenKT: 0.957187 0.624465 0.480999 0.652396 0.770257
+# OnePass CA: 0.875029 0.701878 0.537926 0.802120 0.766410
+# OnePass WTA CA: 0.875643 0.740440 0.588709 0.845596 0.795080
+# MultiPass: 0.874951 0.572036 0.405240 0.655080 0.752914
+-----------------------------------------------------------------------------------------------
+Done Outputting N-subjettiness Values
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Outputting N-subjettiness Subjets
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205212
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205212
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.058137
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.113151
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.171288
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.010919
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.056023
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.061212
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.128154
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7662 0.0870 4.0073 1.7607 5.7262
+ 2 -1.0829 0.4092 4.4952 1.6107 7.8595
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757
+ 2 -0.9505 0.4871 3.1115 0.8192 4.7838
+ 3 -0.7662 0.0870 4.0073 1.7607 5.7262
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.214875
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.214875
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.038797
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 0.117940
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.156737
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.008084
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.060970
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.038797
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.107850
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 8.6826 0.0000 13.2937
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205212
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205212
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.057380
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.106396
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.163776
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.009637
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.065921
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.041613
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.117171
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0055 0.2574 8.7674 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8384 0.0484 2.9930 0.0000 4.1079
+ 2 -1.0764 0.3838 5.7880 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3731 0.2329 1.4642 0.0000 3.0757
+ 2 -0.9622 0.4301 4.4487 0.0000 6.6720
+ 3 -0.8428 0.0512 2.7879 0.0000 3.8380
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 1.00, R0 = 1.00):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205843
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.205843
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.038797
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 0.117940
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.156737
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.008084
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.060970
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.038797
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.107850
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0203 0.2629 8.6686 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.787928
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.787928
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.789827
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 1.537230
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.327056
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.148342
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.761107
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.831602
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 1.741051
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7662 0.0870 4.0073 1.7607 5.7262
+ 2 -1.0829 0.4092 4.4952 1.6107 7.8595
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757
+ 2 -0.9505 0.4871 3.1115 0.8192 4.7838
+ 3 -0.7662 0.0870 4.0073 1.7607 5.7262
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.919210
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.919210
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.527078
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 1.602296
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.129374
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.109827
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.828310
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.527078
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 1.465216
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 8.6826 0.0000 13.2937
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.787928
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.787928
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.777581
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 1.445334
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.222914
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.130920
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.895582
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.565344
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 1.591847
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0055 0.2574 8.7674 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8387 0.0379 2.9923 0.0000 4.1079
+ 2 -1.0763 0.3838 5.7887 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3731 0.2329 1.4642 0.0000 3.0757
+ 2 -0.9622 0.4301 4.4487 0.0000 6.6720
+ 3 -0.8428 0.0512 2.7879 0.0000 3.8380
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 1.00, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.796502
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.796502
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.527078
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 1.602296
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 2.129374
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.109827
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.828310
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.527078
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 1.465216
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0203 0.2629 8.6686 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064408
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064408
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.020780
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.022428
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.043207
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.000750
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.019342
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.011843
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.031935
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7662 0.0870 4.0073 1.7607 5.7262
+ 2 -1.0829 0.4092 4.4952 1.6107 7.8595
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757
+ 2 -0.9505 0.4871 3.1115 0.8192 4.7838
+ 3 -0.7662 0.0870 4.0073 1.7607 5.7262
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.073033
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.073033
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.011711
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 0.037221
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.048932
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.001003
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.022589
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.011711
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.035304
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 8.6826 0.0000 13.2937
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064408
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064408
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.019768
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.022419
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.042188
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.000773
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.019062
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.011823
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.031658
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0055 0.2574 8.7674 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7741 0.0326 3.1243 0.0000 4.1079
+ 2 -1.1289 0.4103 5.5496 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3862 0.2497 1.4476 0.0000 3.0757
+ 2 -0.9555 0.5171 3.3865 0.0000 5.0537
+ 3 -0.8258 0.0305 4.0096 0.0000 5.4562
+-----------------------------------------------------------------------------------------------
+Normalized Measure (beta = 2.00, R0 = 1.00):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064419
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.064419
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.019797
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.022405
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.042202
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.000877
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.019020
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.011852
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.031749
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0078 0.2582 8.7517 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7798 0.0372 3.1126 0.0000 4.1079
+ 2 -1.1273 0.4102 5.5566 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3588 0.2165 1.4828 0.0000 3.0757
+ 2 -0.9560 0.5045 3.3852 0.0000 5.0537
+ 3 -0.8498 0.0170 3.9441 0.0000 5.4562
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875029
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875029
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.282308
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.304693
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.587001
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.010186
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.262772
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.160893
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.433851
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7662 0.0870 4.0073 1.7607 5.7262
+ 2 -1.0829 0.4092 4.4952 1.6107 7.8595
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757
+ 2 -0.9505 0.4871 3.1115 0.8192 4.7838
+ 3 -0.7662 0.0870 4.0073 1.7607 5.7262
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.992196
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.992196
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.159107
+ 2 -1.0042 0.3870 5.7122 2.6500 9.7476 8 0.505665
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.664772
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.013628
+ 2 -0.8875 0.4358 4.3192 1.8464 6.6720 5 0.306887
+ 3 -0.7749 6.2765 2.8265 0.7229 3.8380 3 0.159107
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.479623
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 8.6826 0.0000 13.2937
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.8909 6.1402 2.1980 0.0000 3.1296
+ 2 -0.9897 0.4035 6.4847 0.0000 9.9284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3447 0.2004 1.4177 0.0000 2.9046
+ 2 -0.9897 0.4035 5.0670 0.0000 7.7579
+ 3 -0.8909 6.1402 2.1980 0.0000 3.1296
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875029
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875029
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.268566
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.304579
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.573145
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.010503
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.258965
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.160626
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.430094
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0055 0.2574 8.7674 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7741 0.0326 3.1243 0.0000 4.1079
+ 2 -1.1289 0.4103 5.5496 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3862 0.2497 1.4476 0.0000 3.0757
+ 2 -0.9555 0.5171 3.3865 0.0000 5.0537
+ 3 -0.8258 0.0305 4.0096 0.0000 5.4562
+-----------------------------------------------------------------------------------------------
+Unnormalized Measure (beta = 2.00, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau1
+ 1 -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875168
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.875168
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7163 0.0383 3.0174 1.1816 4.1079 4 0.268956
+ 2 -1.0500 0.3773 5.4869 2.1944 9.4777 7 0.304381
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.573337
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.3700 0.2373 1.4140 0.3960 3.0757 3 0.011919
+ 2 -0.8804 0.4961 3.3414 1.2741 5.0537 4 0.258393
+ 3 -0.8125 0.0562 3.8094 1.3625 5.4562 4 0.161016
+total -0.9314 0.2574 8.3928 3.9289 13.5856 11 0.431329
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Subjets
+jet # rap phi pt m e
+ 1 -1.0078 0.2582 8.7517 0.0000 13.5856
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.7798 0.0372 3.1126 0.0000 4.1079
+ 2 -1.1273 0.4102 5.5566 0.0000 9.4777
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.3588 0.2165 1.4828 0.0000 3.0757
+ 2 -0.9560 0.5045 3.3852 0.0000 5.0537
+ 3 -0.8498 0.0170 3.9441 0.0000 5.4562
+-----------------------------------------------------------------------------------------------
+Done Outputting N-subjettiness Subjets
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Using N-jettiness as a Jet Algorithm
+-----------------------------------------------------------------------------------------------
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 1.00, Rcut = 0.50, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 1.8286 4.6767 7.3764 8.9227 36.9658 13 10.971436
+ 2 -1.1906 2.2530 15.0312 6.6030 29.4956 15 9.595944
+ beam 16.769309
+total 0.1609 2.7263 10.6458 64.7409 66.4614 28 37.336689
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.561444
+ 2 -0.9424 0.2445 7.9554 3.2710 12.7122 9 3.785610
+ 3 1.8286 4.6767 7.3764 8.9227 36.9658 13 10.971436
+ beam 9.837767
+total 0.0046 2.0417 7.0350 80.0150 80.3245 36 29.156258
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.8710 4.6454 6.9561 8.6364 36.8644 13 6.743115
+ 2 0.0985 4.9585 2.8614 1.2467 3.1363 4 1.116483
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.561444
+ 4 -0.9424 0.2445 7.9554 3.2710 12.7122 9 3.785610
+ beam 8.320309
+total 0.0087 2.1728 4.7623 83.2201 83.3594 40 24.526962
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 0.7457 4.8463 16.1052 37.1848 52.3217
+ 2 -0.8560 1.7047 16.1052 30.3047 47.6783
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+ 2 -0.4888 0.4634 9.4985 11.8435 17.0319
+ 3 0.7457 4.8463 16.1052 37.1848 52.3217
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 1.9862 4.5373 6.3086 6.7442 34.2828
+ 2 0.0046 5.0341 10.2760 14.8256 18.0389
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464
+ 4 -0.4888 0.4634 9.4985 11.8435 17.0319
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 1.00, Rcut = 0.50, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.625141
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.825202
+ beam 33.252663
+total -1.0402 2.3532 13.4825 16.1598 33.4947 20 38.703005
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.717167
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.825202
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.625141
+ beam 26.594823
+total -1.0160 1.7063 11.6720 27.6007 46.8104 30 34.762332
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.8770 4.6355 7.0825 8.2566 36.3690 12 7.161046
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.825202
+ 3 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.717167
+ 4 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.625141
+ beam 8.410330
+total -0.0151 2.0110 4.9781 83.0207 83.1793 42 23.738885
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+ 2 -0.2430 5.1639 30.5862 0.0000 31.4940
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 10.9295 0.0000 16.7338
+ 2 -0.2430 5.1639 19.6567 0.0000 20.2401
+ 3 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 1.7753 4.7881 6.7069 0.0000 20.3597
+ 2 -0.2430 5.1639 12.9499 0.0000 13.3342
+ 3 -0.9897 0.4035 10.9295 0.0000 16.7338
+ 4 -1.2026 2.2995 16.4536 0.0000 29.8564
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 1.00, Rcut = 0.50, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 1.8710 4.6454 6.9561 8.6364 36.8644 13 6.740950
+ 2 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.481679
+ beam 16.244577
+total 0.1459 2.7358 12.0951 65.6947 67.5108 27 27.467206
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.469983
+ 2 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.586485
+ 3 1.8770 4.6355 7.0825 8.2566 36.3690 12 6.422614
+ beam 9.834456
+total -0.0072 2.0267 7.4136 79.9862 80.3311 36 23.313538
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.9630 4.5745 6.3418 7.4219 35.4439 12 6.166698
+ 2 0.3489 4.7194 2.5803 1.1114 2.9822 4 0.836784
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440328
+ 4 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.585914
+ beam 8.805904
+total -0.0025 2.2052 6.0293 82.1670 82.3882 40 22.835628
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 2.3811 4.5809 6.6676 0.0000 36.3690
+ 2 -1.2719 2.3440 15.9285 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2683 2.3532 15.9773 0.0000 30.6464
+ 2 -0.9893 0.2801 8.3055 0.0000 12.7122
+ 3 2.1654 4.6625 8.3703 0.0000 36.9658
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 2.6394 4.5407 5.0360 0.0000 35.4439
+ 2 0.4043 4.7981 2.7541 0.0000 2.9822
+ 3 -1.2841 2.3769 15.7634 0.0000 30.6464
+ 4 -1.0239 0.2811 8.4727 0.0000 13.3157
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 1.00, Rcut = 0.50, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.440505
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.854452
+ beam 33.252663
+total -1.0402 2.3532 13.4825 16.1598 33.4947 20 38.547620
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.582018
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.851440
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.443637
+ beam 26.594823
+total -1.0160 1.7063 11.6720 27.6007 46.8104 30 34.471918
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.9630 4.5745 6.3418 7.4219 35.4439 12 6.113728
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.851440
+ 3 -0.9588 0.2474 8.1764 3.5176 13.3157 10 2.582018
+ 4 -1.1820 2.3085 15.8307 6.6742 30.6464 14 4.443637
+ beam 8.872882
+total -0.0230 2.0048 5.8234 82.0261 82.2542 42 22.863706
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 -1.2840 2.3767 15.7649 0.0000 30.6464
+ 2 -0.2762 5.1468 2.7430 0.0000 2.8483
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.0182 0.2442 8.1052 0.0000 12.6821
+ 2 -0.2735 5.1482 2.7450 0.0000 2.8483
+ 3 -1.2822 2.3735 15.7885 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 2.5400 4.5328 5.5563 0.0000 35.4439
+ 2 -0.2735 5.1482 2.7450 0.0000 2.8483
+ 3 -1.0182 0.2442 8.1052 0.0000 12.6821
+ 4 -1.2822 2.3735 15.7885 0.0000 30.6464
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 2.00, Rcut = 0.50, in GeV):
+KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 1.8286 4.6767 7.3764 8.9227 36.9658 13 3.900662
+ 2 -1.1906 2.2530 15.0312 6.6030 29.4956 15 3.279668
+ beam 8.384654
+total 0.1609 2.7263 10.6458 64.7409 66.4614 28 15.564985
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+ 2 -0.9424 0.2445 7.9554 3.2710 12.7122 9 1.368159
+ 3 1.8286 4.6767 7.3764 8.9227 36.9658 13 3.900662
+ beam 4.918884
+total 0.0046 2.0417 7.0350 80.0150 80.3245 36 11.197031
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.8710 4.6454 6.9561 8.6364 36.8644 13 1.501627
+ 2 0.0985 4.9585 2.8614 1.2467 3.1363 4 0.418076
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.009327
+ 4 -0.9424 0.2445 7.9554 3.2710 12.7122 9 1.368159
+ beam 4.160154
+total 0.0087 2.1728 4.7623 83.2201 83.3594 40 8.457343
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 0.7457 4.8463 16.1052 37.1848 52.3217
+ 2 -0.8560 1.7047 16.1052 30.3047 47.6783
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464
+ 2 -0.4888 0.4634 9.4985 11.8435 17.0319
+ 3 0.7457 4.8463 16.1052 37.1848 52.3217
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 1.9862 4.5373 6.3086 6.7442 34.2828
+ 2 0.0046 5.0341 10.2760 14.8256 18.0389
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464
+ 4 -0.4888 0.4634 9.4985 11.8435 17.0319
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 2.00, Rcut = 0.50, in GeV):
+Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.030444
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.339661
+ beam 16.626331
+total -1.0402 2.3532 13.4825 16.1598 33.4947 20 17.996436
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9588 0.2474 8.1764 3.5176 13.3157 10 0.840980
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.339661
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.030444
+ beam 13.297411
+total -1.0160 1.7063 11.6720 27.6007 46.8104 30 15.508496
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.8770 4.6355 7.0825 8.2566 36.3690 12 2.051208
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.339661
+ 3 -0.9588 0.2474 8.1764 3.5176 13.3157 10 0.840980
+ 4 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.030444
+ beam 4.205165
+total -0.0151 2.0110 4.9781 83.0207 83.1793 42 8.467457
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 -1.2026 2.2995 16.4536 0.0000 29.8564
+ 2 -0.2430 5.1639 30.5862 0.0000 31.4940
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9897 0.4035 10.9295 0.0000 16.7338
+ 2 -0.2430 5.1639 19.6567 0.0000 20.2401
+ 3 -1.2026 2.2995 16.4536 0.0000 29.8564
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 1.7753 4.7881 6.7069 0.0000 20.3597
+ 2 -0.2430 5.1639 12.9499 0.0000 13.3342
+ 3 -0.9897 0.4035 10.9295 0.0000 16.7338
+ 4 -1.2026 2.2995 16.4536 0.0000 29.8564
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 2.00, Rcut = 0.50, in GeV):
+One-Pass Minimization from KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 1.8710 4.6454 6.9561 8.6364 36.8644 13 1.509779
+ 2 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010988
+ beam 8.122288
+total 0.1459 2.7358 12.0951 65.6947 67.5108 27 10.643056
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010831
+ 2 -0.9495 0.2144 7.9406 3.1322 12.6821 9 0.538817
+ 3 1.8710 4.6454 6.9561 8.6364 36.8644 13 1.509131
+ beam 4.951767
+total 0.0050 2.0494 7.2823 79.8606 80.1929 36 8.010546
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.8710 4.6454 6.9561 8.6364 36.8644 13 1.507499
+ 2 0.0985 4.9585 2.8614 1.2467 3.1363 4 0.376004
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010831
+ 4 -0.9495 0.2144 7.9406 3.1322 12.6821 9 0.538817
+ beam 4.167688
+total 0.0085 2.1950 4.5460 83.2021 83.3292 40 7.600840
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 2.4633 4.6139 6.2330 0.0000 36.8644
+ 2 -1.2561 2.3173 16.1447 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2556 2.3168 16.1510 0.0000 30.6464
+ 2 -0.9995 0.2014 8.2217 0.0000 12.6821
+ 3 2.4615 4.6147 6.2439 0.0000 36.8644
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 2.4564 4.6143 6.2757 0.0000 36.8644
+ 2 0.1210 4.9539 3.1135 0.0000 3.1363
+ 3 -1.2556 2.3168 16.1510 0.0000 30.6464
+ 4 -0.9995 0.2014 8.2217 0.0000 12.6821
+-----------------------------------------------------------------------------------------------
+Unnormalized Cutoff Measure (beta = 2.00, Rcut = 0.50, in GeV):
+One-Pass Minimization from Winner-Take-All KT Axes:
+jet # rap phi pt m e constit tau2
+ 1 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010430
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.343948
+ beam 16.626331
+total -1.0402 2.3532 13.4825 16.1598 33.4947 20 17.980709
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.9495 0.2144 7.9406 3.1322 12.6821 9 0.538341
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.343948
+ 3 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010430
+ beam 13.455810
+total -1.0140 1.7247 11.3862 27.3295 46.1768 29 15.348529
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 1.9630 4.5745 6.3418 7.4219 35.4439 12 1.159421
+ 2 -0.2431 5.2003 2.4373 1.3079 2.8483 6 0.343948
+ 3 -0.9495 0.2144 7.9406 3.1322 12.6821 9 0.538341
+ 4 -1.1820 2.3085 15.8307 6.6742 30.6464 14 1.010430
+ beam 4.594839
+total -0.0167 2.0555 5.6171 81.4157 81.6206 41 7.646980
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 -1.2539 2.3154 16.1753 0.0000 30.6464
+ 2 -0.2869 5.1426 2.7349 0.0000 2.8483
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -0.9986 0.2062 8.2277 0.0000 12.6821
+ 2 -0.2869 5.1426 2.7349 0.0000 2.8483
+ 3 -1.2539 2.3154 16.1753 0.0000 30.6464
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 2.4521 4.5585 6.0593 0.0000 35.4439
+ 2 -0.2869 5.1426 2.7349 0.0000 2.8483
+ 3 -0.9986 0.2062 8.2277 0.0000 12.6821
+ 4 -1.2539 2.3154 16.1753 0.0000 30.6464
+-----------------------------------------------------------------------------------------------
+Done Using N-jettiness as a Jet Algorithm
+-----------------------------------------------------------------------------------------------
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage.cc (revision 1412)
@@ -0,0 +1,996 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-13
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// Run this example with
+// ./example_advanced_usage < ../data/single-event.dat
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "fastjet/PseudoJet.hh"
+#include "fastjet/ClusterSequenceArea.hh"
+#include
+#include "Nsubjettiness.hh" // In external code, this should be fastjet/contrib/Nsubjettiness.hh
+#include "Njettiness.hh"
+#include "NjettinessPlugin.hh"
+#include "XConePlugin.hh"
+
+using namespace std;
+using namespace fastjet;
+using namespace fastjet::contrib;
+
+// forward declaration to make things clearer
+void read_event(vector &event);
+void analyze(const vector & input_particles);
+
+//----------------------------------------------------------------------
+int main(){
+
+ //----------------------------------------------------------
+ // read in input particles
+ vector event;
+ read_event(event);
+ cout << "# read an event with " << event.size() << " particles" << endl;
+
+ //----------------------------------------------------------
+ // illustrate how Nsubjettiness contrib works
+
+ analyze(event);
+
+ return 0;
+}
+
+// Simple class to store Axes along with a name for display
+class AxesStruct {
+
+private:
+ // Shared Ptr so it handles memory management
+ SharedPtr _axes_def;
+
+public:
+ AxesStruct(const AxesDefinition & axes_def)
+ : _axes_def(axes_def.create()) {}
+
+ // Need special copy constructor to make it possible to put in a std::vector
+ AxesStruct(const AxesStruct& myStruct)
+ : _axes_def(myStruct._axes_def->create()) {}
+
+ const AxesDefinition & def() const {return *_axes_def;}
+ AxesDefinition & def_for_change() {return *_axes_def;}
+ string description() const {return _axes_def->description();}
+ string short_description() const {return _axes_def->short_description();}
+
+};
+
+
+// Simple class to store Measures to make it easier to put in std::vector
+class MeasureStruct {
+
+private:
+ // Shared Ptr so it handles memory management
+ SharedPtr _measure_def;
+
+public:
+ MeasureStruct(const MeasureDefinition& measure_def)
+ : _measure_def(measure_def.create()) {}
+
+ // Need special copy constructor to make it possible to put in a std::vector
+ MeasureStruct(const MeasureStruct& myStruct)
+ : _measure_def(myStruct._measure_def->create()) {}
+
+ const MeasureDefinition & def() const {return *_measure_def;}
+ string description() const {return _measure_def->description();}
+
+};
+
+
+// read in input particles
+void read_event(vector &event){
+ string line;
+ while (getline(cin, line)) {
+ istringstream linestream(line);
+ // take substrings to avoid problems when there are extra "pollution"
+ // characters (e.g. line-feed).
+ if (line.substr(0,4) == "#END") {return;}
+ if (line.substr(0,1) == "#") {continue;}
+ double px,py,pz,E;
+ linestream >> px >> py >> pz >> E;
+ PseudoJet particle(px,py,pz,E);
+
+ // push event onto back of full_event vector
+ event.push_back(particle);
+ }
+}
+
+// Helper Function for Printing out Jet Information
+void PrintJets(const vector & jets, bool commentOut = false);
+void PrintAxes(const vector & jets, bool commentOut = false);
+void PrintJetsWithComponents(const vector & jets, bool commentOut = false);
+
+////////
+//
+// Main Routine for Analysis
+//
+///////
+
+void analyze(const vector & input_particles) {
+
+ ////////
+ //
+ // This code will check multiple axes/measure modes
+ // First thing we do is establish the various modes we will check
+ //
+ ///////
+
+ //Define characteristic test parameters to use here
+ double p = 0.5;
+ double delta = 10.0; // close to winner-take-all. TODO: Think about right value here.
+ double R0 = 0.2;
+ double Rcutoff = 0.5;
+ double infinity = std::numeric_limits::max();
+ int nExtra = 2;
+ int NPass = 10;
+
+ // A list of all of the available axes modes
+ vector _testAxes;
+ _testAxes.push_back(HalfKT_Axes());
+ _testAxes.push_back(KT_Axes());
+ _testAxes.push_back(CA_Axes());
+ _testAxes.push_back(AntiKT_Axes(R0));
+ _testAxes.push_back(WTA_HalfKT_Axes());
+ _testAxes.push_back(WTA_KT_Axes());
+ _testAxes.push_back(WTA_CA_Axes());
+ _testAxes.push_back(GenKT_Axes(p, R0));
+ _testAxes.push_back(WTA_GenKT_Axes(p, R0));
+ _testAxes.push_back(GenET_GenKT_Axes(delta, p, R0));
+
+ _testAxes.push_back(OnePass_HalfKT_Axes());
+ _testAxes.push_back(OnePass_KT_Axes());
+ _testAxes.push_back(OnePass_AntiKT_Axes(R0));
+ _testAxes.push_back(OnePass_WTA_HalfKT_Axes());
+ _testAxes.push_back(OnePass_WTA_KT_Axes());
+ _testAxes.push_back(OnePass_GenKT_Axes(p, R0));
+ _testAxes.push_back(OnePass_WTA_GenKT_Axes(p, R0));
+ _testAxes.push_back(OnePass_GenET_GenKT_Axes(delta, p, R0));
+
+ _testAxes.push_back(Comb_GenKT_Axes(nExtra, p, R0));
+ _testAxes.push_back(Comb_WTA_GenKT_Axes(nExtra, p, R0));
+ _testAxes.push_back(Comb_GenET_GenKT_Axes(nExtra, delta, p, R0));
+
+ // manual axes (should be identical to kt axes)
+ _testAxes.push_back(Manual_Axes());
+ _testAxes.push_back(OnePass_Manual_Axes());
+
+ // these axes are not checked during make check since they do not give reliable results
+ _testAxes.push_back(OnePass_CA_Axes()); // not recommended
+ _testAxes.push_back(OnePass_WTA_CA_Axes()); // not recommended
+ _testAxes.push_back(MultiPass_Axes(NPass));
+ _testAxes.push_back(MultiPass_Manual_Axes(NPass));
+ int num_unchecked = 4; // number of unchecked axes
+
+ // For testing purposes on different platforms, increase number of iterations
+ // and accuracy for OnePass minimization to be less sensitive to floating point rounding
+ for (unsigned int i = 0; i < _testAxes.size(); i++) {
+ if (_testAxes[i].def().nPass() == 1) {
+ _testAxes[i].def_for_change().setNPass(1, 10000, 0.00001); // defaut is 1, 1000, 0.0001
+ }
+ }
+
+ //
+ // Note: Njettiness::min_axes is not guarenteed to give a global
+ // minimum, only a local minimum, and different choices of the random
+ // number seed can give different results. For that reason,
+ // the one-pass minimization are recommended over min_axes.
+ //
+
+ // Getting a smaller list of recommended axes modes
+ // These are the ones that are more likely to give sensible results (and are all IRC safe)
+ vector _testRecommendedAxes;
+ _testRecommendedAxes.push_back(HalfKT_Axes());
+ _testRecommendedAxes.push_back(WTA_KT_Axes());
+
+ // new axes options added in most recent version of Nsubjettiness
+ // these are separate from above since they should only be defined with a cutoff value for sensible results
+ vector _testAlgorithmRecommendedAxes;
+ _testAlgorithmRecommendedAxes.push_back(GenET_GenKT_Axes(1.0, 1.0, Rcutoff));
+ _testAlgorithmRecommendedAxes.push_back(GenET_GenKT_Axes(infinity, 1.0, Rcutoff));
+ _testAlgorithmRecommendedAxes.push_back(GenET_GenKT_Axes(1.0, 0.5, Rcutoff));
+ _testAlgorithmRecommendedAxes.push_back(OnePass_GenET_GenKT_Axes(1.0, 1.0, Rcutoff));
+ _testAlgorithmRecommendedAxes.push_back(OnePass_GenET_GenKT_Axes(infinity, 1.0, Rcutoff));
+ _testAlgorithmRecommendedAxes.push_back(OnePass_GenET_GenKT_Axes(1.0, 0.5, Rcutoff));
+
+ // Getting some of the measure modes to test
+ // (When applied to a single jet we won't test the cutoff measures,
+ // since cutoffs aren't typically helpful when applied to single jets)
+ // Note that we are calling measures by their MeasureDefinition
+ vector _testMeasures;
+ _testMeasures.push_back( NormalizedMeasure(1.0, 1.0, pt_R));
+ _testMeasures.push_back(UnnormalizedMeasure(1.0 , pt_R));
+ _testMeasures.push_back( NormalizedMeasure(2.0, 1.0, pt_R));
+ _testMeasures.push_back(UnnormalizedMeasure(2.0 , pt_R));
+
+ // When doing Njettiness as a jet algorithm, want to test the cutoff measures.
+ // (Since they are not senisible without a cutoff)
+ vector _testCutoffMeasures;
+ _testCutoffMeasures.push_back(UnnormalizedCutoffMeasure(1.0, Rcutoff, pt_R));
+ _testCutoffMeasures.push_back(UnnormalizedCutoffMeasure(2.0, Rcutoff, pt_R));
+ // new measures added in the most recent version of NSubjettiness
+ _testCutoffMeasures.push_back(ConicalMeasure(1.0, Rcutoff));
+ _testCutoffMeasures.push_back(ConicalMeasure(2.0, Rcutoff));
+ _testCutoffMeasures.push_back(OriginalGeometricMeasure(Rcutoff));
+ _testCutoffMeasures.push_back(ModifiedGeometricMeasure(Rcutoff));
+ _testCutoffMeasures.push_back(ConicalGeometricMeasure(1.0, 1.0, Rcutoff));
+ _testCutoffMeasures.push_back(ConicalGeometricMeasure(2.0, 1.0, Rcutoff));
+ _testCutoffMeasures.push_back(XConeMeasure(1.0, Rcutoff)); // Should be identical to ConicalGeometric
+ _testCutoffMeasures.push_back(XConeMeasure(2.0, Rcutoff));
+
+ /////// N-subjettiness /////////////////////////////
+
+ ////////
+ //
+ // Start of analysis. First find anti-kT jets, then find N-subjettiness values of those jets
+ //
+ ///////
+
+ // Initial clustering with anti-kt algorithm
+ JetAlgorithm algorithm = antikt_algorithm;
+ double jet_rad = 1.00; // jet radius for anti-kt algorithm
+ JetDefinition jetDef = JetDefinition(algorithm,jet_rad,E_scheme,Best);
+ ClusterSequence clust_seq(input_particles,jetDef);
+ vector antikt_jets = sorted_by_pt(clust_seq.inclusive_jets());
+
+ // clust_seq.delete_self_when_unused();
+ // small number to show equivalence of doubles
+ double epsilon = 0.0001;
+
+ for (int j = 0; j < 2; j++) { // Two hardest jets per event
+ if (antikt_jets[j].perp() < 200) continue;
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Analyzing Jet " << j + 1 << ":" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+ ////////
+ //
+ // Basic checks of tau values first
+ //
+ // If you don't want to know the directions of the subjets,
+ // then you can use the simple function Nsubjettiness.
+ //
+ // Recommended usage for Nsubjettiness:
+ // AxesMode: kt_axes, wta_kt_axes, onepass_kt_axes, or onepass_wta_kt_axes
+ // MeasureMode: unnormalized_measure
+ // beta with kt_axes: 2.0
+ // beta with wta_kt_axes: anything greater than 0.0 (particularly good for 1.0)
+ // beta with onepass_kt_axes or onepass_wta_kt_axes: between 1.0 and 3.0
+ //
+ ///////
+
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Outputting N-subjettiness Values" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+ // Now loop through all options
+ cout << setprecision(6) << right << fixed;
+ for (unsigned iM = 0; iM < _testMeasures.size(); iM++) {
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << _testMeasures[iM].description() << ":" << endl;
+ cout << setw(25) << "AxisMode"
+ << setw(14) << "tau1"
+ << setw(14) << "tau2"
+ << setw(14) << "tau3"
+ << setw(14) << "tau2/tau1"
+ << setw(14) << "tau3/tau2"
+ << endl;
+
+ for (unsigned iA = 0; iA < _testAxes.size(); iA++) {
+
+ // Current axes/measure modes and particles
+ const PseudoJet & my_jet = antikt_jets[j];
+ const vector particles = my_jet.constituents();
+ const AxesDefinition & axes_def = _testAxes[iA].def();
+ const MeasureDefinition & measure_def = _testMeasures[iM].def();
+
+ // This case doesn't work, so skip it.
+ // if (axes_def.givesRandomizedResults()) continue;
+
+ // define Nsubjettiness functions
+ Nsubjettiness nSub1(1, axes_def, measure_def);
+ Nsubjettiness nSub2(2, axes_def, measure_def);
+ Nsubjettiness nSub3(3, axes_def, measure_def);
+
+ // define manual axes when they are necessary (should be identical to KT_Axes)
+ if (axes_def.needsManualAxes()) {
+ JetDefinition manual_jetDef(fastjet::kt_algorithm,
+ fastjet::JetDefinition::max_allowable_R,
+ // new WinnerTakeAllRecombiner(),
+ fastjet::E_scheme,
+ fastjet::Best);
+
+ fastjet::ClusterSequence manual_clustSeq(particles, manual_jetDef);
+
+ nSub1.setAxes(manual_clustSeq.exclusive_jets(1));
+ nSub2.setAxes(manual_clustSeq.exclusive_jets(2));
+ nSub3.setAxes(manual_clustSeq.exclusive_jets(3));
+ }
+
+ // calculate Nsubjettiness values
+ double tau1 = nSub1(my_jet);
+ double tau2 = nSub2(my_jet);
+ double tau3 = nSub3(my_jet);
+
+ //These should only happen if the axes are not manual and are not multipass
+ double tau21, tau32;
+ if (!axes_def.needsManualAxes() && !axes_def.givesRandomizedResults()) {
+ // An entirely equivalent, but painful way to calculate is:
+ double tau1alt = measure_def(particles,axes_def(1,particles,&measure_def));
+ double tau2alt = measure_def(particles,axes_def(2,particles,&measure_def));
+ double tau3alt = measure_def(particles,axes_def(3,particles,&measure_def));
+ assert(tau1alt == tau1);
+ assert(tau2alt == tau2);
+ assert(tau3alt == tau3);
+
+ NsubjettinessRatio nSub21(2,1, axes_def, measure_def);
+ NsubjettinessRatio nSub32(3,2, axes_def, measure_def);
+ tau21 = nSub21(my_jet);
+ tau32 = nSub32(my_jet);
+
+ // Make sure calculations are consistent
+ if (!_testAxes[iA].def().givesRandomizedResults()) {
+ assert(abs(tau21 - tau2/tau1) < epsilon);
+ assert(abs(tau32 - tau3/tau2) < epsilon);
+ }
+ }
+ else {
+ tau21 = tau2/tau1;
+ tau32 = tau3/tau2;
+ }
+
+ string axesName = _testAxes[iA].short_description();
+ string left_hashtag;
+
+ // comment out with # because MultiPass uses random number seed, or because axes do not give reliable results (those at the end of axes vector)
+ if (_testAxes[iA].def().givesRandomizedResults() || iA >= (_testAxes.size() - num_unchecked)) left_hashtag = "#";
+ else left_hashtag = " ";
+
+ // Output results:
+ cout << std::right
+ << left_hashtag
+ << setw(23)
+ << axesName
+ << ":"
+ << setw(14) << tau1
+ << setw(14) << tau2
+ << setw(14) << tau3
+ << setw(14) << tau21
+ << setw(14) << tau32
+ << endl;
+ }
+ }
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Done Outputting N-subjettiness Values" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+ ////////
+ //
+ // Finding axes/jets found by N-subjettiness partitioning
+ //
+ // This uses the component_results function to get the subjet information
+ //
+ ///////
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Outputting N-subjettiness Subjets" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+ // Loop through all options, this time setting up jet finding
+ cout << setprecision(6) << left << fixed;
+ for (unsigned iM = 0; iM < _testMeasures.size(); iM++) {
+
+ for (unsigned iA = 0; iA < _testRecommendedAxes.size(); iA++) {
+
+ const PseudoJet & my_jet = antikt_jets[j];
+ const AxesDefinition & axes_def = _testRecommendedAxes[iA].def();
+ const MeasureDefinition & measure_def = _testMeasures[iM].def();
+
+ // This case doesn't work, so skip it.
+ if (axes_def.givesRandomizedResults()) continue;
+
+ // define Nsubjettiness functions
+ Nsubjettiness nSub1(1, axes_def, measure_def);
+ Nsubjettiness nSub2(2, axes_def, measure_def);
+ Nsubjettiness nSub3(3, axes_def, measure_def);
+
+ // get component results
+ TauComponents tau1comp = nSub1.component_result(my_jet);
+ TauComponents tau2comp = nSub2.component_result(my_jet);
+ TauComponents tau3comp = nSub3.component_result(my_jet);
+
+ vector jets1 = tau1comp.jets();
+ vector jets2 = tau2comp.jets();
+ vector jets3 = tau3comp.jets();
+
+ vector axes1 = tau1comp.axes();
+ vector axes2 = tau2comp.axes();
+ vector axes3 = tau3comp.axes();
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << measure_def.description() << ":" << endl;
+ cout << axes_def.description() << ":" << endl;
+
+ bool commentOut = false;
+ if (axes_def.givesRandomizedResults()) commentOut = true; // have to comment out min_axes, because it has random values
+
+ // This helper function tries to find out if the jets have tau information for printing
+ PrintJetsWithComponents(jets1,commentOut);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJetsWithComponents(jets2,commentOut);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJetsWithComponents(jets3,commentOut);
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes Used for Above Subjets" << endl;
+
+ PrintAxes(axes1,commentOut);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(axes2,commentOut);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(axes3,commentOut);
+
+ }
+ }
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Done Outputting N-subjettiness Subjets" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+ }
+
+
+ ////////// the XCone Jet Algorithm ///////////////////////////
+
+ ////////
+ //
+ // We define a specific implementation of N-jettiness as a jet algorithm, which we call "XCone".
+ // This is the recommended version for all users.
+ //
+ // Recommended usage of XConePlugin is with beta = 2.0
+ // Beta = 1.0 is also useful as a recoil-free variant in the face of pile-up.
+ //
+ ///////
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Using the XCone Jet Algorithm" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+ //create list of various values of beta
+ vector betalist;
+ betalist.push_back(1.0);
+ betalist.push_back(2.0);
+ unsigned int n_betas = betalist.size();
+
+ for (unsigned iB = 0; iB < n_betas; iB++) {
+
+ double beta = betalist[iB];
+
+ // define the plugins
+ XConePlugin xcone_plugin2(2, Rcutoff, beta);
+ XConePlugin xcone_plugin3(3, Rcutoff, beta);
+ XConePlugin xcone_plugin4(4, Rcutoff, beta);
+
+ // and the jet definitions
+ JetDefinition xcone_jetDef2(&xcone_plugin2);
+ JetDefinition xcone_jetDef3(&xcone_plugin3);
+ JetDefinition xcone_jetDef4(&xcone_plugin4);
+
+ // and the cluster sequences
+ ClusterSequence xcone_seq2(input_particles, xcone_jetDef2);
+ ClusterSequence xcone_seq3(input_particles, xcone_jetDef3);
+ ClusterSequence xcone_seq4(input_particles, xcone_jetDef4);
+
+ // and associated extras for more information
+ const NjettinessExtras * extras2 = njettiness_extras(xcone_seq2);
+ const NjettinessExtras * extras3 = njettiness_extras(xcone_seq3);
+ const NjettinessExtras * extras4 = njettiness_extras(xcone_seq4);
+
+ // and find the jets
+ vector xcone_jets2 = xcone_seq2.inclusive_jets();
+ vector xcone_jets3 = xcone_seq3.inclusive_jets();
+ vector xcone_jets4 = xcone_seq4.inclusive_jets();
+
+ // (alternative way to find the jets)
+ //vector xcone_jets2 = extras2->jets();
+ //vector xcone_jets3 = extras3->jets();
+ //vector xcone_jets4 = extras4->jets();
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Using beta = " << setprecision(2) << beta << ", Rcut = " << setprecision(2) << Rcutoff << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+ PrintJets(xcone_jets2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(xcone_jets3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(xcone_jets4);
+
+ // The axes might point in a different direction than the jets
+ // Using the NjettinessExtras pointer (ClusterSequence::Extras) to access that information
+ vector xcone_axes2 = extras2->axes();
+ vector xcone_axes3 = extras3->axes();
+ vector xcone_axes4 = extras4->axes();
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes Used for Above Jets" << endl;
+
+ PrintAxes(xcone_axes2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(xcone_axes3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(xcone_axes4);
+
+ bool calculateArea = false;
+ if (calculateArea) {
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Adding Area Information (quite slow)" << endl;
+
+ double ghost_maxrap = 5.0; // e.g. if particles go up to y=5
+ AreaDefinition area_def(active_area_explicit_ghosts, GhostedAreaSpec(ghost_maxrap));
+
+ // Defining cluster sequences with area
+ ClusterSequenceArea xcone_seq_area2(input_particles, xcone_jetDef2, area_def);
+ ClusterSequenceArea xcone_seq_area3(input_particles, xcone_jetDef3, area_def);
+ ClusterSequenceArea xcone_seq_area4(input_particles, xcone_jetDef4, area_def);
+
+ vector xcone_jets_area2 = xcone_seq_area2.inclusive_jets();
+ vector xcone_jets_area3 = xcone_seq_area3.inclusive_jets();
+ vector xcone_jets_area4 = xcone_seq_area4.inclusive_jets();
+
+ PrintJets(xcone_jets_area2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(xcone_jets_area3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(xcone_jets_area4);
+ }
+ }
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Done Using the XCone Jet Algorithm" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+
+ ////////// N-jettiness as a jet algorithm ///////////////////////////
+
+ ////////
+ //
+ // The user can also defined N-jettiness as a jet algorithm more generally, using different choice
+ // for measures and for axis finding.
+ //
+ // Recommended usage of NjettinessPlugin (event-wide)
+ // AxesMode: wta_kt_axes or onepass_wta_kt_axes
+ // MeasureMode: unnormalized_measure
+ // beta with wta_kt_axes: anything greater than 0.0 (particularly good for 1.0)
+ // beta with onepass_wta_kt_axes: between 1.0 and 3.0
+ //
+ // Note that the user should find that the usage of Conical Geometric Measure beta = 1.0 with
+ // GenET_GenKT_Axes(std::numeric_limits::max(), 1.0, Rcutoff) should be identical to XCone beta = 1.0,
+ // and Conical Geometric Measure beta = 2.0 with GenET_GenKT_Axes(1.0, 0.5, Rcutoff) should be identical to
+ // XCone beta = 2.0.
+ //
+ ///////
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Using N-jettiness as a Jet Algorithm" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+ for (unsigned iM = 0; iM < _testCutoffMeasures.size(); iM++) {
+
+ for (unsigned iA = 0; iA < _testAlgorithmRecommendedAxes.size(); iA++) {
+
+ const AxesDefinition & axes_def = _testAlgorithmRecommendedAxes[iA].def();
+ const MeasureDefinition & measure_def = _testCutoffMeasures[iM].def();
+
+ // define the plugins
+ NjettinessPlugin njet_plugin2(2, axes_def,measure_def);
+ NjettinessPlugin njet_plugin3(3, axes_def,measure_def);
+ NjettinessPlugin njet_plugin4(4, axes_def,measure_def);
+
+ // and the jet definitions
+ JetDefinition njet_jetDef2(&njet_plugin2);
+ JetDefinition njet_jetDef3(&njet_plugin3);
+ JetDefinition njet_jetDef4(&njet_plugin4);
+
+ // and the cluster sequences
+ ClusterSequence njet_seq2(input_particles, njet_jetDef2);
+ ClusterSequence njet_seq3(input_particles, njet_jetDef3);
+ ClusterSequence njet_seq4(input_particles, njet_jetDef4);
+
+ // and associated extras for more information
+ const NjettinessExtras * extras2 = njettiness_extras(njet_seq2);
+ const NjettinessExtras * extras3 = njettiness_extras(njet_seq3);
+ const NjettinessExtras * extras4 = njettiness_extras(njet_seq4);
+
+ // and find the jets
+ vector njet_jets2 = njet_seq2.inclusive_jets();
+ vector njet_jets3 = njet_seq3.inclusive_jets();
+ vector njet_jets4 = njet_seq4.inclusive_jets();
+
+ // (alternative way to find the jets)
+ //vector njet_jets2 = extras2->jets();
+ //vector njet_jets3 = extras3->jets();
+ //vector njet_jets4 = extras4->jets();
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << measure_def.description() << ":" << endl;
+ cout << axes_def.description() << ":" << endl;
+
+ PrintJets(njet_jets2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(njet_jets3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(njet_jets4);
+
+ // The axes might point in a different direction than the jets
+ // Using the NjettinessExtras pointer (ClusterSequence::Extras) to access that information
+ vector njet_axes2 = extras2->axes();
+ vector njet_axes3 = extras3->axes();
+ vector njet_axes4 = extras4->axes();
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes Used for Above Jets" << endl;
+
+ PrintAxes(njet_axes2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(njet_axes3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintAxes(njet_axes4);
+
+ bool calculateArea = false;
+ if (calculateArea) {
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Adding Area Information (quite slow)" << endl;
+
+ double ghost_maxrap = 5.0; // e.g. if particles go up to y=5
+ AreaDefinition area_def(active_area_explicit_ghosts, GhostedAreaSpec(ghost_maxrap));
+
+ // Defining cluster sequences with area
+ ClusterSequenceArea njet_seq_area2(input_particles, njet_jetDef2, area_def);
+ ClusterSequenceArea njet_seq_area3(input_particles, njet_jetDef3, area_def);
+ ClusterSequenceArea njet_seq_area4(input_particles, njet_jetDef4, area_def);
+
+ vector njet_jets_area2 = njet_seq_area2.inclusive_jets();
+ vector njet_jets_area3 = njet_seq_area3.inclusive_jets();
+ vector njet_jets_area4 = njet_seq_area4.inclusive_jets();
+
+ PrintJets(njet_jets_area2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(njet_jets_area3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(njet_jets_area4);
+ }
+
+ }
+ }
+
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+ cout << "Done Using N-jettiness as a Jet Algorithm" << endl;
+ cout << "-----------------------------------------------------------------------------------------------" << endl;
+
+
+
+ // Below are timing tests for the developers
+ double do_timing_test = false;
+ if (do_timing_test) {
+
+ clock_t clock_begin, clock_end;
+ double num_iter;
+
+ cout << setprecision(6);
+
+ num_iter = 1000;
+
+ double R0 = 0.5;
+ double beta = 2.0;
+ double N = 6;
+
+
+ // AKT
+ JetDefinition aktDef = JetDefinition(antikt_algorithm,R0,E_scheme,Best);
+
+ // XC
+ XConePlugin xconePlugin(N, R0, beta);
+ JetDefinition xconeDef = JetDefinition(&xconePlugin);
+
+ // pXC
+ PseudoXConePlugin pseudoxconePlugin(N, R0, beta);
+ JetDefinition pseudoxconeDef = JetDefinition(&pseudoxconePlugin);
+
+ //AKT
+ cout << "Timing for " << aktDef.description() << endl;
+ clock_begin = clock();
+ for (int t = 0; t < num_iter; t++) {
+ ClusterSequence clust_seq(input_particles,aktDef);
+ clust_seq.inclusive_jets();
+ }
+ clock_end = clock();
+ cout << (clock_end-clock_begin)/double(CLOCKS_PER_SEC*num_iter)*1000 << " ms per AKT"<< endl;
+
+ // XC
+ cout << "Timing for " << xconeDef.description() << endl;
+ clock_begin = clock();
+ for (int t = 0; t < num_iter; t++) {
+ ClusterSequence clust_seq(input_particles,xconeDef);
+ clust_seq.inclusive_jets();
+ }
+ clock_end = clock();
+ cout << (clock_end-clock_begin)/double(CLOCKS_PER_SEC*num_iter)*1000 << " ms per XCone"<< endl;
+
+ // pXC
+ cout << "Timing for " << pseudoxconePlugin.description() << endl;
+ clock_begin = clock();
+ for (int t = 0; t < num_iter; t++) {
+ ClusterSequence clust_seq(input_particles,pseudoxconeDef);
+ clust_seq.inclusive_jets();
+ }
+ clock_end = clock();
+ cout << (clock_end-clock_begin)/double(CLOCKS_PER_SEC*num_iter)*1000 << " ms per PseudoXCone"<< endl;
+
+
+ }
+}
+
+
+void PrintJets(const vector & jets, bool commentOut) {
+
+ string commentStr = "";
+ if (commentOut) commentStr = "#";
+
+ // gets extras information
+ if (jets.size() == 0) return;
+ const NjettinessExtras * extras = njettiness_extras(jets[0]);
+
+ // bool useExtras = true;
+ bool useExtras = (extras != NULL);
+ bool useArea = jets[0].has_area();
+ bool useConstit = jets[0].has_constituents();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (useConstit) cout << setw(11) << "constit";
+ if (useExtras) cout << setw(14) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ fastjet::PseudoJet total(0,0,0,0);
+ int total_constit = 0;
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (useConstit) cout << setprecision(4) << setw(11) << jets[i].constituents().size();
+ if (useExtras) cout << setprecision(6) << setw(14) << max(extras->subTau(jets[i]),0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ total += jets[i];
+ if (useConstit) total_constit += jets[i].constituents().size();
+ }
+
+ // print out total jet
+ if (useExtras) {
+ double beamTau = extras->beamTau();
+
+ if (beamTau > 0.0) {
+ cout << commentStr << setw(5) << " beam" << " "
+ << setw(10) << ""
+ << setw(10) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(14) << setprecision(6) << beamTau
+ << endl;
+ }
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e();
+ if (useConstit) cout << setprecision(4) << setw(11) << total_constit;
+ if (useExtras) cout << setprecision(6) << setw(14) << extras->totalTau();
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+ }
+
+}
+
+
+void PrintAxes(const vector & jets, bool commentOut) {
+
+ string commentStr = "";
+ if (commentOut) commentStr = "#";
+
+ // gets extras information
+ if (jets.size() == 0) return;
+ const NjettinessExtras * extras = njettiness_extras(jets[0]);
+
+ // bool useExtras = true;
+ bool useExtras = (extras != NULL);
+ bool useArea = jets[0].has_area();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (useExtras) cout << setw(14) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ fastjet::PseudoJet total(0,0,0,0);
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (useExtras) cout << setprecision(6) << setw(14) << max(extras->subTau(jets[i]),0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ total += jets[i];
+ }
+
+ // print out total jet
+ if (useExtras) {
+ double beamTau = extras->beamTau();
+
+ if (beamTau > 0.0) {
+ cout << commentStr << setw(5) << " beam" << " "
+ << setw(10) << ""
+ << setw(10) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(14) << setprecision(6) << beamTau
+ << endl;
+ }
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e()
+ << setprecision(6) << setw(14) << extras->totalTau();
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+ }
+
+}
+
+void PrintJetsWithComponents(const vector & jets, bool commentOut) {
+
+ string commentStr = "";
+ if (commentOut) commentStr = "#";
+
+ bool useArea = jets[0].has_area();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (jets[0].has_constituents()) cout << setw(11) << "constit";
+ cout << setw(14) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ fastjet::PseudoJet total(0,0,0,0);
+ double total_tau = 0;
+ int total_constit = 0;
+
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ double thisTau = jets[i].structure_of().tau();
+
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (jets[i].has_constituents()) cout << setprecision(4) << setw(11) << jets[i].constituents().size();
+ cout << setprecision(6) << setw(14) << max(thisTau,0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ total += jets[i];
+ total_tau += thisTau;
+ if (jets[i].has_constituents()) total_constit += jets[i].constituents().size();
+ }
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e();
+ if (jets[0].has_constituents()) cout << setprecision(4) << setw(11) << total_constit;
+ cout << setprecision(6) << setw(14) << total_tau;
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+
+}
+
+
+
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/example_advanced_usage.cc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/NjettinessPlugin.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/NjettinessPlugin.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/NjettinessPlugin.cc (revision 1412)
@@ -0,0 +1,96 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#include "NjettinessPlugin.hh"
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib{
+
+LimitedWarning NjettinessPlugin::_old_constructor_warning;
+
+std::string NjettinessPlugin::description() const {return "N-jettiness jet finder";}
+
+
+// Clusters the particles according to the Njettiness jet algorithm
+// Apologies for the complication with this code, but we need to make
+// a fake jet clustering tree. The partitioning is done by getPartitionList
+void NjettinessPlugin::run_clustering(ClusterSequence& cs) const
+{
+ std::vector particles = cs.jets();
+
+ // HACK: remove area information from particles (in case this is called by
+ // a ClusterSequenceArea. Will be fixed in a future FastJet release)
+ for (unsigned i = 0; i < particles.size(); i++) {
+ particles[i].set_structure_shared_ptr(SharedPtr());
+ }
+
+
+ TauComponents tau_components = _njettinessFinder.getTauComponents(_N, particles);
+ TauPartition tau_partition = _njettinessFinder.currentPartition();
+ std::vector > partition = tau_partition.jets_list();
+
+ std::vector jet_indices_for_extras;
+
+ // output clusterings for each jet
+ for (size_t i0 = 0; i0 < partition.size(); ++i0) {
+ size_t i = partition.size() - 1 - i0; // reversed order of reading to match axes order
+ std::list& indices = partition[i];
+ if (indices.size() == 0) continue;
+ while (indices.size() > 1) {
+ int merge_i = indices.back(); indices.pop_back();
+ int merge_j = indices.back(); indices.pop_back();
+ int newIndex;
+ double fakeDij = -1.0;
+
+ cs.plugin_record_ij_recombination(merge_i, merge_j, fakeDij, newIndex);
+
+ indices.push_back(newIndex);
+ }
+ double fakeDib = -1.0;
+
+ int finalJet = indices.back();
+ cs.plugin_record_iB_recombination(finalJet, fakeDib);
+ jet_indices_for_extras.push_back(cs.jets()[finalJet].cluster_hist_index()); // Get the four vector for the final jets to compare later.
+ }
+
+ //HACK: Re-reverse order of reading to match CS order
+ reverse(jet_indices_for_extras.begin(),jet_indices_for_extras.end());
+
+ // Store extra information about jets
+ NjettinessExtras * extras = new NjettinessExtras(tau_components,jet_indices_for_extras);
+
+#if FASTJET_VERSION_NUMBER>=30100
+ cs.plugin_associate_extras(extras);
+#else
+ // auto_ptr no longer supported, apparently
+ cs.plugin_associate_extras(std::auto_ptr(extras));
+#endif
+
+}
+
+
+} // namespace contrib
+
+FASTJET_END_NAMESPACE
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/NjettinessPlugin.cc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.ref
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.ref (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.ref (revision 1412)
@@ -0,0 +1,246 @@
+# read an event with 354 particles
+#--------------------------------------------------------------------------
+# FastJet release 3.4.2
+# M. Cacciari, G.P. Salam and G. Soyez
+# A software package for jet finding and analysis at colliders
+# http://fastjet.fr
+#
+# Please cite EPJC72(2012)1896 [arXiv:1111.6097] if you use this package
+# for scientific work and optionally PLB641(2006)57 [hep-ph/0512210].
+#
+# FastJet is provided without warranty under the GNU GPL v2 or higher.
+# It uses T. Chan's closest pair algorithm, S. Fortune's Voronoi code
+# and 3rd party plugin jet algorithms. See COPYING file for details.
+#--------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+Analyzing Jet 1:
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+N-subjettiness with Unnormalized Measure (in GeV)
+beta = 1.0: Winner-Take-All kT Axes
+beta = 2.0: E-Scheme Half-kT Axes
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+ beta tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ 1.000000 11.941857 9.241132 6.734744 0.773844 0.728779
+ 2.000000 1.293818 0.829418 0.598098 0.641062 0.721105
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Subjets found using beta = 1.0 tau values
+jet # rap phi pt m e constit tau1
+ 1 -0.8673 2.9051 983.3873 39.9912 1378.1622 35 11.941857
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 11.941857
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.7959 2.8213 36.9260 4.1240 49.5577 14 2.023847
+ 2 -0.8701 2.9084 946.5959 25.7449 1328.6045 21 7.217284
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 9.241132
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.8900 2.9133 149.6693 8.2524 213.2875 10 1.052630
+ 2 -0.8664 2.9075 796.9288 11.6617 1115.3170 11 3.658267
+ 3 -0.7959 2.8213 36.9260 4.1240 49.5577 14 2.023847
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 6.734744
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes used for above beta = 1.0 tau values
+jet # rap phi pt m e tau1
+ 1 -0.8669 2.9083 983.6369 0.0000 1376.9974 11.941857
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau2
+ 1 -0.8223 2.8273 35.3062 0.0000 47.9317 2.023847
+ 2 -0.8669 2.9083 948.3307 0.0000 1327.5721 7.217284
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau3
+ 1 -0.8883 2.9122 149.4646 0.0000 212.4142 1.052630
+ 2 -0.8669 2.9083 798.8661 0.0000 1118.3360 3.658267
+ 3 -0.8223 2.8273 35.3062 0.0000 47.9317 2.023847
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Subjets found using beta = 2.0 tau values
+jet # rap phi pt m e constit tau1
+ 1 -0.8673 2.9051 983.3873 39.9912 1378.1622 35 1.293818
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 1.293818
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 -0.8702 2.9084 946.4641 25.2372 1328.4540 20 0.404639
+ 2 -0.7947 2.8224 37.0549 4.2460 49.7082 15 0.424779
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 0.829418
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.6198 2.8327 6.3010 0.8780 7.6237 7 0.104639
+ 2 -0.8322 2.8174 29.2061 1.9633 40.0072 8 0.091589
+ 3 -0.8701 2.9083 948.0137 25.2060 1330.5312 20 0.401869
+total -0.8673 2.9051 983.3873 39.9912 1378.1622 35 0.598098
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes used for above beta = 2.0 tau values
+jet # rap phi pt m e tau1
+ 1 -0.8673 2.9051 983.3873 39.9912 1378.1622 1.293818
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau2
+ 1 -0.8699 2.9084 946.4934 20.1170 1328.1055 0.404639
+ 2 -0.8008 2.8204 37.0318 5.2841 50.0566 0.424779
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau3
+ 1 -0.6214 2.8176 5.9507 0.7485 7.1934 0.104639
+ 2 -0.8354 2.8209 31.0812 3.6428 42.8632 0.091589
+ 3 -0.8699 2.9084 946.4934 20.1170 1328.1055 0.401869
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+Analyzing Jet 2:
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+N-subjettiness with Unnormalized Measure (in GeV)
+beta = 1.0: Winner-Take-All kT Axes
+beta = 2.0: E-Scheme Half-kT Axes
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+ beta tau1 tau2 tau3 tau2/tau1 tau3/tau2
+ 1.000000 16.041313 12.911866 10.685697 0.804913 0.827587
+ 2.000000 6.954043 3.806724 2.076080 0.547412 0.545372
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Subjets found using beta = 1.0 tau values
+jet # rap phi pt m e constit tau1
+ 1 0.2195 6.0349 908.0979 87.7124 934.3868 47 16.041313
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 16.041313
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 0.3015 0.3627 7.9527 3.3429 9.0218 13 2.071237
+ 2 0.2187 6.0298 901.5958 61.1643 925.3650 34 10.840628
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 12.911866
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -0.1831 5.9784 10.1884 3.5582 10.9733 8 2.314432
+ 2 0.2237 6.0304 891.4210 31.6362 914.3918 26 6.300027
+ 3 0.3015 0.3627 7.9527 3.3429 9.0218 13 2.071237
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 10.685697
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes used for above beta = 1.0 tau values
+jet # rap phi pt m e tau1
+ 1 0.2214 6.0293 910.0320 0.0000 932.4173 16.041313
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau2
+ 1 0.4696 0.2985 9.5755 0.0000 10.6507 2.071237
+ 2 0.2214 6.0293 900.4564 0.0000 922.6063 10.840628
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau3
+ 1 -0.0365 5.9035 9.9038 0.0000 9.9104 2.314432
+ 2 0.2214 6.0293 890.5526 0.0000 912.4588 6.300027
+ 3 0.4696 0.2985 9.5755 0.0000 10.6507 2.071237
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Subjets found using beta = 2.0 tau values
+jet # rap phi pt m e constit tau1
+ 1 0.2195 6.0349 908.0979 87.7124 934.3868 47 6.954043
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 6.954043
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau2
+ 1 0.2716 0.3354 8.9852 3.7341 10.0912 15 0.580679
+ 2 0.2189 6.0294 900.6142 59.5448 924.2956 32 3.226045
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 3.806724
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 0.2239 6.0298 890.8513 28.8814 913.7526 25 0.730900
+ 2 -0.1974 5.9868 9.7718 3.3828 10.5430 7 0.764501
+ 3 0.2716 0.3354 8.9852 3.7341 10.0912 15 0.580679
+total 0.2195 6.0349 908.0979 87.7124 934.3868 47 2.076080
+-------------------------------------------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes used for above beta = 2.0 tau values
+jet # rap phi pt m e tau1
+ 1 0.2195 6.0349 908.0979 87.7124 934.3868 6.954043
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau2
+ 1 0.2659 0.3203 9.4431 3.8878 10.5754 0.580679
+ 2 0.2190 6.0292 900.1551 59.2173 923.8114 3.226045
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e tau3
+ 1 0.2240 6.0298 889.9800 27.7889 912.8382 0.730900
+ 2 -0.1831 5.9784 10.1884 3.5582 10.9733 0.764501
+ 3 0.2659 0.3203 9.4431 3.8878 10.5754 0.580679
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+Using the XCone Jet Algorithm
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
+Using beta = 1.00, R = 0.50
+-------------------------------------------------------------------------------------
+jet # rap phi pt m e constit tau2
+ 1 0.2218 6.0307 896.1128 30.5561 918.7747 26 15.304593
+ 2 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 25.149966
+ beam 190.564181
+total -0.3454 3.0714 87.5520 2162.5794 2294.7139 57 231.018740
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1812 6.0803 67.3417 11.1422 121.6795 29 17.824528
+ 2 0.2218 6.0307 896.1128 30.5561 918.7747 26 15.304593
+ 3 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 25.149966
+ beam 122.754916
+total -0.3737 3.4759 22.6284 2256.8562 2416.3934 86 181.034002
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 0.2211 0.2590 7.2461 1.7913 7.6474 12 3.383467
+ 2 -1.1812 6.0803 67.3417 11.1422 121.6795 29 17.824528
+ 3 0.2219 6.0296 893.4858 23.0670 915.8784 20 13.084193
+ 4 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 25.149966
+ beam 118.258920
+total -0.3723 3.4713 18.1401 2262.4164 2421.1444 92 177.701075
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 0.2216 6.0295 896.6655 0.0000 918.7747
+ 2 -0.8682 2.9070 981.9679 0.0000 1375.9392
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.2009 6.0969 67.1535 0.0000 121.6795
+ 2 0.2216 6.0295 896.6655 0.0000 918.7747
+ 3 -0.8682 2.9070 981.9679 0.0000 1375.9392
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 0.2314 0.2545 7.4472 0.0000 7.6474
+ 2 -1.2009 6.0969 67.1535 0.0000 121.6795
+ 3 0.2216 6.0295 893.8387 0.0000 915.8784
+ 4 -0.8682 2.9070 981.9679 0.0000 1375.9392
+-------------------------------------------------------------------------------------
+Using beta = 2.00, R = 0.50
+-------------------------------------------------------------------------------------
+jet # rap phi pt m e constit tau2
+ 1 0.2218 6.0307 896.1128 30.5561 918.7747 26 4.166495
+ 2 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 4.095929
+ beam 190.564181
+total -0.3454 3.0714 87.5520 2162.5794 2294.7139 57 198.826605
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau3
+ 1 -1.1812 6.0803 67.3417 11.1422 121.6795 29 7.359191
+ 2 0.2218 6.0307 896.1128 30.5561 918.7747 26 4.166495
+ 3 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 4.095929
+ beam 122.754916
+total -0.3737 3.4759 22.6284 2256.8562 2416.3934 86 138.376531
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e constit tau4
+ 1 0.2211 0.2590 7.2461 1.7913 7.6474 12 1.746243
+ 2 -1.1812 6.0803 67.3417 11.1422 121.6795 29 7.359191
+ 3 0.2219 6.0296 893.4858 23.0670 915.8784 20 2.381851
+ 4 -0.8670 2.9052 982.3424 31.7186 1375.9392 31 4.095929
+ beam 118.258920
+total -0.3723 3.4713 18.1401 2262.4164 2421.1444 92 133.842134
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Axes Used for Above Jets
+jet # rap phi pt m e
+ 1 0.2219 6.0307 896.6110 0.0000 918.7747
+ 2 -0.8672 2.9051 982.6792 0.0000 1375.9392
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 -1.1925 6.0804 67.6218 0.0000 121.6795
+ 2 0.2219 6.0307 896.6110 0.0000 918.7747
+ 3 -0.8672 2.9051 982.6792 0.0000 1375.9392
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+jet # rap phi pt m e
+ 1 0.2275 0.2596 7.4537 0.0000 7.6474
+ 2 -1.1925 6.0804 67.6218 0.0000 121.6795
+ 3 0.2221 6.0295 893.7411 0.0000 915.8784
+ 4 -0.8672 2.9051 982.6792 0.0000 1375.9392
+-------------------------------------------------------------------------------------
+Done Using the XCone Jet Algorithm
+-------------------------------------------------------------------------------------
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/ExtraRecombiners.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/ExtraRecombiners.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/ExtraRecombiners.cc (revision 1412)
@@ -0,0 +1,103 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#include "ExtraRecombiners.hh"
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib{
+
+std::string GeneralEtSchemeRecombiner::description() const {
+ return "General Et-scheme recombination";
+}
+
+// recombine pa and pb according to a generalized Et-scheme parameterized by the power delta
+void GeneralEtSchemeRecombiner::recombine(const fastjet::PseudoJet & pa, const fastjet::PseudoJet & pb, fastjet::PseudoJet & pab) const {
+
+ // Define new weights for recombination according to delta
+ // definition of ratio done so that we do not encounter issues about numbers being too large for huge values of delta
+ double ratio;
+ if (std::abs(_delta - 1.0) < std::numeric_limits::epsilon()) ratio = pb.perp()/pa.perp(); // save computation time of pow()
+ else ratio = pow(pb.perp()/pa.perp(), _delta);
+ double weighta = 1.0/(1.0 + ratio);
+ double weightb = 1.0/(1.0 + 1.0/ratio);
+
+ double perp_ab = pa.perp() + pb.perp();
+ // reweight the phi and rap sums according to the weights above
+ if (perp_ab != 0.0) {
+ double y_ab = (weighta * pa.rap() + weightb * pb.rap());
+
+ double phi_a = pa.phi(), phi_b = pb.phi();
+ if (phi_a - phi_b > pi) phi_b += twopi;
+ if (phi_a - phi_b < -pi) phi_b -= twopi;
+ double phi_ab = (weighta * phi_a + weightb * phi_b);
+
+ pab.reset_PtYPhiM(perp_ab, y_ab, phi_ab);
+
+ }
+ else {
+ pab.reset(0.0,0.0,0.0,0.0);
+ }
+}
+
+
+std::string WinnerTakeAllRecombiner::description() const {
+ return "Winner-Take-All recombination";
+}
+
+// recombine pa and pb by creating pab with energy of the sum of particle energies in the direction of the harder particle
+// updated recombiner to use more general form of a metric equal to E*(pT/E)^(alpha), which reduces to pT*cosh(rap)^(1-alpha)
+// alpha is specified by the user. The default is alpha = 1, which is the typical behavior. alpha = 2 provides a metric which more
+// favors central jets
+void WinnerTakeAllRecombiner::recombine(const fastjet::PseudoJet & pa, const fastjet::PseudoJet & pb, fastjet::PseudoJet & pab) const {
+ double a_pt = pa.perp(), b_pt = pb.perp(), a_rap = pa.rap(), b_rap = pb.rap();
+
+ // special case of alpha = 1, everything is just pt (made separate so that pow function isn't called)
+ if (_alpha == 1.0) {
+ if (a_pt >= b_pt) {
+ pab.reset_PtYPhiM(a_pt + b_pt, a_rap, pa.phi());
+ }
+ else if (b_pt > a_pt) {
+ pab.reset_PtYPhiM(a_pt + b_pt, b_rap, pb.phi());
+ }
+ }
+
+ // every other case uses additional cosh(rap) term
+ else {
+ double a_metric = a_pt*pow(cosh(a_rap), 1.0-_alpha);
+ double b_metric = b_pt*pow(cosh(b_rap), 1.0-_alpha);
+ if (a_metric >= b_metric) {
+ double new_pt = a_pt + b_pt*pow(cosh(b_rap)/cosh(a_rap), 1.0-_alpha);
+ pab.reset_PtYPhiM(new_pt, a_rap, pa.phi());
+ }
+ if (b_metric > a_metric) {
+ double new_pt = b_pt + a_pt*pow(cosh(a_rap)/cosh(b_rap), 1.0-_alpha);
+ pab.reset_PtYPhiM(new_pt, b_rap, pb.phi());
+ }
+ }
+}
+
+} //namespace contrib
+
+FASTJET_END_NAMESPACE
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/ExtraRecombiners.cc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.cc
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.cc (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.cc (revision 1412)
@@ -0,0 +1,628 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-13
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// Run this example with:
+// ./example_basic_usage < ../data/single-event.dat
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "fastjet/PseudoJet.hh"
+#include "fastjet/ClusterSequenceArea.hh"
+#include
+#include "Nsubjettiness.hh" // In external code, this should be fastjet/contrib/Nsubjettiness.hh
+#include "Njettiness.hh"
+#include "NjettinessPlugin.hh"
+#include "XConePlugin.hh"
+
+using namespace std;
+using namespace fastjet;
+using namespace fastjet::contrib;
+
+// forward declaration to make things clearer
+void read_event(vector &event);
+void analyze(const vector & input_particles);
+
+//----------------------------------------------------------------------
+int main(){
+
+ //----------------------------------------------------------
+ // read in input particles
+ vector event;
+ read_event(event);
+ cout << "# read an event with " << event.size() << " particles" << endl;
+
+ //----------------------------------------------------------
+ // illustrate how Nsubjettiness contrib works
+ analyze(event);
+
+ return 0;
+}
+
+// read in input particles
+void read_event(vector &event){
+ string line;
+ while (getline(cin, line)) {
+ istringstream linestream(line);
+ // take substrings to avoid problems when there are extra "pollution"
+ // characters (e.g. line-feed).
+ if (line.substr(0,4) == "#END") {return;}
+ if (line.substr(0,1) == "#") {continue;}
+ double px,py,pz,E;
+ linestream >> px >> py >> pz >> E;
+ PseudoJet particle(px,py,pz,E);
+
+ // push event onto back of full_event vector
+ event.push_back(particle);
+ }
+}
+
+// Helper Function for Printing out Jet Information
+void PrintJets(const vector & jets, const TauComponents & components, bool showTotal = true);
+void PrintXConeJets(const vector & jets, bool commentOut = false);
+void PrintXConeAxes(const vector & jets, bool commentOut = false);
+
+////////
+//
+// Main Routine for Analysis
+//
+///////
+
+void analyze(const vector & input_particles) {
+
+ ////////
+ //
+ // Start of analysis. First find anti-kT jets, then find N-subjettiness values of those jets
+ //
+ ///////
+
+ // Initial clustering with anti-kt algorithm
+ JetAlgorithm algorithm = antikt_algorithm;
+ double jet_rad = 1.00; // jet radius for anti-kt algorithm
+ JetDefinition jetDef = JetDefinition(algorithm,jet_rad,E_scheme,Best);
+ ClusterSequence clust_seq(input_particles,jetDef);
+ vector antikt_jets = sorted_by_pt(clust_seq.inclusive_jets());
+
+ for (int j = 0; j < 2; j++) { // Two hardest jets per event
+
+ // get the jet for analysis
+ PseudoJet this_jet = antikt_jets[j];
+
+ // only look at if harder than 200 GeV
+ if (this_jet.perp() < 200.0) continue;
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "Analyzing Jet " << j + 1 << ":" << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+
+ ////////
+ //
+ // Basic checks of tau values first
+ //
+ // If you don't want to know the directions of the subjets,
+ // then you can use the simple function Nsubjettiness.
+ //
+ // Recommended usage for Nsubjettiness:
+ // AxesMode: HalfKT_Axes(), WTA_KT_Axes()
+ // MeasureMode: Unnormalized_Measure(beta)
+ // beta with HalfKT_Axes: 2.0
+ // beta with WTA_KT_Axes: anything greater than 0.0 (particularly good for 1.0)
+ //
+ // N.B. Because of instabilities with numerical minimization, OnePass axes are no longer recommended as of version 2.3.0
+ ///////
+
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "N-subjettiness with Unnormalized Measure (in GeV)" << endl;
+ cout << "beta = 1.0: Winner-Take-All kT Axes" << endl;
+ cout << "beta = 2.0: E-Scheme Half-kT Axes" << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+
+ // Now loop through all options
+ cout << setprecision(6) << right << fixed;
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << setw(15) << "beta"
+ << setw(14) << "tau1"
+ << setw(14) << "tau2"
+ << setw(14) << "tau3"
+ << setw(14) << "tau2/tau1"
+ << setw(14) << "tau3/tau2"
+ << endl;
+
+
+ // Define Nsubjettiness functions for beta = 1.0 using WTA KT axes
+ double beta = 1.0;
+ Nsubjettiness nSub1_beta1(1, WTA_KT_Axes(), UnnormalizedMeasure(beta));
+ Nsubjettiness nSub2_beta1(2, WTA_KT_Axes(), UnnormalizedMeasure(beta));
+ Nsubjettiness nSub3_beta1(3, WTA_KT_Axes(), UnnormalizedMeasure(beta));
+ NsubjettinessRatio nSub21_beta1(2,1, WTA_KT_Axes(), UnnormalizedMeasure(beta));
+ NsubjettinessRatio nSub32_beta1(3,2, WTA_KT_Axes(), UnnormalizedMeasure(beta));
+
+ // calculate Nsubjettiness values (beta = 1.0)
+ double tau1_beta1 = nSub1_beta1(this_jet);
+ double tau2_beta1 = nSub2_beta1(this_jet);
+ double tau3_beta1 = nSub3_beta1(this_jet);
+ double tau21_beta1 = nSub21_beta1(this_jet);
+ double tau32_beta1 = nSub32_beta1(this_jet);
+
+ // Output results (beta = 1.0)
+ cout << setw(15) << 1.0
+ << setw(14) << tau1_beta1
+ << setw(14) << tau2_beta1
+ << setw(14) << tau3_beta1
+ << setw(14) << tau21_beta1
+ << setw(14) << tau32_beta1
+ << endl;
+
+ // Repeat the above for beta = 2.0
+
+ // Define Nsubjettiness functions for beta = 2.0, using Half-KT axes
+ beta = 2.0;
+ Nsubjettiness nSub1_beta2(1, HalfKT_Axes(), UnnormalizedMeasure(beta));
+ Nsubjettiness nSub2_beta2(2, HalfKT_Axes(), UnnormalizedMeasure(beta));
+ Nsubjettiness nSub3_beta2(3, HalfKT_Axes(), UnnormalizedMeasure(beta));
+ NsubjettinessRatio nSub21_beta2(2,1, HalfKT_Axes(), UnnormalizedMeasure(beta));
+ NsubjettinessRatio nSub32_beta2(3,2, HalfKT_Axes(), UnnormalizedMeasure(beta));
+
+ // calculate Nsubjettiness values (beta = 2.0)
+ double tau1_beta2 = nSub1_beta2(this_jet);
+ double tau2_beta2 = nSub2_beta2(this_jet);
+ double tau3_beta2 = nSub3_beta2(this_jet);
+ double tau21_beta2 = nSub21_beta2(this_jet);
+ double tau32_beta2 = nSub32_beta2(this_jet);
+
+ // Output results (beta = 2.0)
+ cout << setw(15) << 2.0
+ << setw(14) << tau1_beta2
+ << setw(14) << tau2_beta2
+ << setw(14) << tau3_beta2
+ << setw(14) << tau21_beta2
+ << setw(14) << tau32_beta2
+ << endl;
+
+
+ // Additional information
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Subjets found using beta = 1.0 tau values" << endl;
+ PrintJets(nSub1_beta1.currentSubjets(),nSub1_beta1.currentTauComponents()); // these subjets have valid constituents
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub2_beta1.currentSubjets(),nSub2_beta1.currentTauComponents()); // these subjets have valid constituents
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub3_beta1.currentSubjets(),nSub3_beta1.currentTauComponents()); // these subjets have valid constituents
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes used for above beta = 1.0 tau values" << endl;
+
+ PrintJets(nSub1_beta1.currentAxes(),nSub1_beta1.currentTauComponents(),false);
+ //PrintJets(nSub1_beta1.seedAxes()); // For one-pass minimization, this would show starting seeds
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub2_beta1.currentAxes(),nSub2_beta1.currentTauComponents(),false);
+ //PrintJets(nSub2_beta1.seedAxes()); // For one-pass minimization, this would show starting seeds
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub3_beta1.currentAxes(),nSub3_beta1.currentTauComponents(),false);
+ //PrintJets(nSub3_beta1.seedAxes()); // For one-pass minimization, this would show starting seeds
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Subjets found using beta = 2.0 tau values" << endl;
+ PrintJets(nSub1_beta2.currentSubjets(),nSub1_beta2.currentTauComponents()); // these subjets have valid constituents
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub2_beta2.currentSubjets(),nSub2_beta2.currentTauComponents()); // these subjets have valid constituents
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub3_beta2.currentSubjets(),nSub3_beta2.currentTauComponents()); // these subjets have valid constituents
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes used for above beta = 2.0 tau values" << endl;
+
+ PrintJets(nSub1_beta2.currentAxes(),nSub1_beta2.currentTauComponents(),false);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub2_beta2.currentAxes(),nSub2_beta2.currentTauComponents(),false);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintJets(nSub3_beta2.currentAxes(),nSub3_beta2.currentTauComponents(),false);
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ }
+
+
+ ////////// The XCone Jet Algorithm ///////////////////////////
+
+ ////////
+ //
+ // We define a specific implementation of N-jettiness as a jet algorithm, which we call "XCone".
+ // This is the recommended version for all users.
+ //
+ // Recommended usage of XConePlugin is with beta = 2.0
+ // Beta = 1.0 is also useful as a recoil-free variant in the face of pile-up.
+ //
+ ///////
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "Using the XCone Jet Algorithm" << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ // Jet radius to use throughout
+ double R = 0.5;
+
+ // Define the jet finding plugins for beta = 1.0
+ double beta = 1.0;
+
+ // define the plugins
+ XConePlugin xcone_plugin2_beta1(2, R, beta);
+ XConePlugin xcone_plugin3_beta1(3, R, beta);
+ XConePlugin xcone_plugin4_beta1(4, R, beta);
+
+ // and the jet definitions
+ JetDefinition xcone_jetDef2_beta1(&xcone_plugin2_beta1);
+ JetDefinition xcone_jetDef3_beta1(&xcone_plugin3_beta1);
+ JetDefinition xcone_jetDef4_beta1(&xcone_plugin4_beta1);
+
+ // and the cluster sequences
+ ClusterSequence xcone_seq2_beta1(input_particles, xcone_jetDef2_beta1);
+ ClusterSequence xcone_seq3_beta1(input_particles, xcone_jetDef3_beta1);
+ ClusterSequence xcone_seq4_beta1(input_particles, xcone_jetDef4_beta1);
+
+ // and find the jets
+ vector xcone_jets2_beta1 = xcone_seq2_beta1.inclusive_jets();
+ vector xcone_jets3_beta1 = xcone_seq3_beta1.inclusive_jets();
+ vector xcone_jets4_beta1 = xcone_seq4_beta1.inclusive_jets();
+
+ // Do exactly the same for beta = 2.0 (which is the default, so no argument needed)
+
+ // define the plugins
+ XConePlugin xcone_plugin2_beta2(2, R);
+ XConePlugin xcone_plugin3_beta2(3, R);
+ XConePlugin xcone_plugin4_beta2(4, R);
+
+ // and the jet definitions
+ JetDefinition xcone_jetDef2_beta2(&xcone_plugin2_beta2);
+ JetDefinition xcone_jetDef3_beta2(&xcone_plugin3_beta2);
+ JetDefinition xcone_jetDef4_beta2(&xcone_plugin4_beta2);
+
+ // and the cluster sequences
+ ClusterSequence xcone_seq2_beta2(input_particles, xcone_jetDef2_beta2);
+ ClusterSequence xcone_seq3_beta2(input_particles, xcone_jetDef3_beta2);
+ ClusterSequence xcone_seq4_beta2(input_particles, xcone_jetDef4_beta2);
+
+ // and find the jets
+ vector xcone_jets2_beta2 = xcone_seq2_beta2.inclusive_jets();
+ vector xcone_jets3_beta2 = xcone_seq3_beta2.inclusive_jets();
+ vector xcone_jets4_beta2 = xcone_seq4_beta2.inclusive_jets();
+
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "Using beta = " << setprecision(2) << 1.0 << ", R = " << setprecision(2) << R << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ PrintXConeJets(xcone_jets2_beta1);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets3_beta1);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets4_beta1);
+
+ // The axes might point in a different direction than the jets
+ // Using the njettiness_extras pointer (ClusterSequence::Extras) to access that information
+ vector xcone_axes2_beta1 = njettiness_extras(xcone_seq2_beta1)->axes();
+ vector xcone_axes3_beta1 = njettiness_extras(xcone_seq3_beta1)->axes();
+ vector xcone_axes4_beta1 = njettiness_extras(xcone_seq4_beta1)->axes();
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes Used for Above Jets" << endl;
+
+ PrintXConeAxes(xcone_axes2_beta1);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeAxes(xcone_axes3_beta1);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeAxes(xcone_axes4_beta1);
+
+
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "Using beta = " << setprecision(2) << 2.0 << ", R = " << setprecision(2) << R << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+ PrintXConeJets(xcone_jets2_beta2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets3_beta2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets4_beta2);
+
+ // The axes might point in a different direction than the jets
+ // Using the njettiness_extras pointer (ClusterSequence::Extras) to access that information
+ vector xcone_axes2_beta2 = njettiness_extras(xcone_seq2_beta2)->axes();
+ vector xcone_axes3_beta2 = njettiness_extras(xcone_seq3_beta2)->axes();
+ vector xcone_axes4_beta2 = njettiness_extras(xcone_seq4_beta2)->axes();
+
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Axes Used for Above Jets" << endl;
+
+ PrintXConeAxes(xcone_axes2_beta2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeAxes(xcone_axes3_beta2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeAxes(xcone_axes4_beta2);
+
+
+
+ bool calculateArea = false;
+ if (calculateArea) {
+ cout << "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << endl;
+ cout << "Adding Area Information for beta = 2.0 (quite slow)" << endl;
+
+ double ghost_maxrap = 5.0; // e.g. if particles go up to y=5
+ AreaDefinition area_def(active_area_explicit_ghosts, GhostedAreaSpec(ghost_maxrap));
+
+ // Defining cluster sequences with area
+ ClusterSequenceArea xcone_seq_area2(input_particles, xcone_jetDef2_beta2, area_def);
+ ClusterSequenceArea xcone_seq_area3(input_particles, xcone_jetDef3_beta2, area_def);
+ ClusterSequenceArea xcone_seq_area4(input_particles, xcone_jetDef4_beta2, area_def);
+
+ vector xcone_jets_area2 = xcone_seq_area2.inclusive_jets();
+ vector xcone_jets_area3 = xcone_seq_area3.inclusive_jets();
+ vector xcone_jets_area4 = xcone_seq_area4.inclusive_jets();
+
+ PrintXConeJets(xcone_jets_area2);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets_area3);
+ cout << "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" << endl;
+ PrintXConeJets(xcone_jets_area4);
+ }
+
+ cout << "-------------------------------------------------------------------------------------" << endl;
+ cout << "Done Using the XCone Jet Algorithm" << endl;
+ cout << "-------------------------------------------------------------------------------------" << endl;
+
+}
+
+void PrintJets(const vector & jets, const TauComponents & components, bool showTotal) {
+
+ string commentStr = "";
+
+ // gets extras information
+ if (jets.size() == 0) return;
+
+ // For printing out component tau information
+ vector subTaus = components.jet_pieces();
+ double totalTau = components.tau();
+
+ bool useArea = jets[0].has_area();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (jets[0].has_constituents()) cout << setw(11) << "constit";
+ cout << setw(13) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (jets[i].has_constituents()) cout << setprecision(4) << setw(11) << jets[i].constituents().size();
+ cout << setprecision(6) << setw(13) << max(subTaus[i],0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ }
+
+ // print out total jet
+ if (showTotal) {
+ fastjet::PseudoJet total = join(jets);
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e();
+ if (jets[0].has_constituents()) cout << setprecision(4) << setw(11) << total.constituents().size();
+ cout << setprecision(6) << setw(13) << totalTau;
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+ }
+}
+
+
+void PrintXConeJets(const vector & jets, bool commentOut) {
+
+ string commentStr = "";
+ if (commentOut) commentStr = "#";
+
+ // gets extras information
+ if (jets.size() == 0) return;
+ const NjettinessExtras * extras = njettiness_extras(jets[0]);
+
+ // bool useExtras = true;
+ bool useExtras = (extras != NULL);
+ bool useArea = jets[0].has_area();
+ bool useConstit = jets[0].has_constituents();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (useConstit) cout << setw(11) << "constit";
+ if (useExtras) cout << setw(14) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ fastjet::PseudoJet total(0,0,0,0);
+ int total_constit = 0;
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (useConstit) cout << setprecision(4) << setw(11) << jets[i].constituents().size();
+ if (useExtras) cout << setprecision(6) << setw(14) << max(extras->subTau(jets[i]),0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ total += jets[i];
+ if (useConstit) total_constit += jets[i].constituents().size();
+ }
+
+ // print out total jet
+ if (useExtras) {
+ double beamTau = extras->beamTau();
+
+ if (beamTau > 0.0) {
+ cout << commentStr << setw(5) << " beam" << " "
+ << setw(10) << ""
+ << setw(10) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(14) << setprecision(6) << beamTau
+ << endl;
+ }
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e();
+ if (useConstit) cout << setprecision(4) << setw(11) << total_constit;
+ if (useExtras) cout << setprecision(6) << setw(14) << extras->totalTau();
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+ }
+
+}
+
+
+void PrintXConeAxes(const vector & jets, bool commentOut) {
+
+ string commentStr = "";
+ if (commentOut) commentStr = "#";
+
+ // gets extras information
+ if (jets.size() == 0) return;
+ const NjettinessExtras * extras = njettiness_extras(jets[0]);
+
+ // bool useExtras = true;
+ bool useExtras = (extras != NULL);
+ bool useArea = jets[0].has_area();
+
+ // define nice tauN header
+ int N = jets.size();
+ stringstream ss(""); ss << "tau" << N; string tauName = ss.str();
+
+ cout << fixed << right;
+
+ cout << commentStr << setw(5) << "jet #" << " "
+ << setw(10) << "rap"
+ << setw(10) << "phi"
+ << setw(11) << "pt"
+ << setw(11) << "m"
+ << setw(11) << "e";
+ if (useExtras) cout << setw(14) << tauName;
+ if (useArea) cout << setw(10) << "area";
+ cout << endl;
+
+ fastjet::PseudoJet total(0,0,0,0);
+
+ // print out individual jet information
+ for (unsigned i = 0; i < jets.size(); i++) {
+ cout << commentStr << setw(5) << i+1 << " "
+ << setprecision(4) << setw(10) << jets[i].rap()
+ << setprecision(4) << setw(10) << jets[i].phi()
+ << setprecision(4) << setw(11) << jets[i].perp()
+ << setprecision(4) << setw(11) << max(jets[i].m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << jets[i].e();
+ if (useExtras) cout << setprecision(6) << setw(14) << max(extras->subTau(jets[i]),0.0);
+ if (useArea) cout << setprecision(4) << setw(10) << (jets[i].has_area() ? jets[i].area() : 0.0 );
+ cout << endl;
+ total += jets[i];
+ }
+
+ // print out total jet
+ if (useExtras) {
+ double beamTau = extras->beamTau();
+
+ if (beamTau > 0.0) {
+ cout << commentStr << setw(5) << " beam" << " "
+ << setw(10) << ""
+ << setw(10) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(11) << ""
+ << setw(14) << setprecision(6) << beamTau
+ << endl;
+ }
+
+ cout << commentStr << setw(5) << "total" << " "
+ << setprecision(4) << setw(10) << total.rap()
+ << setprecision(4) << setw(10) << total.phi()
+ << setprecision(4) << setw(11) << total.perp()
+ << setprecision(4) << setw(11) << max(total.m(),0.0) // needed to fix -0.0 issue on some compilers.
+ << setprecision(4) << setw(11) << total.e()
+ << setprecision(6) << setw(14) << extras->totalTau();
+ if (useArea) cout << setprecision(4) << setw(10) << (total.has_area() ? total.area() : 0.0);
+ cout << endl;
+ }
+
+}
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/example_basic_usage.cc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/AxesDefinition.hh
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/AxesDefinition.hh (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/AxesDefinition.hh (revision 1412)
@@ -0,0 +1,1427 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#ifndef __FASTJET_CONTRIB_AXES_DEFINITION_HH__
+#define __FASTJET_CONTRIB_AXES_DEFINITION_HH__
+
+
+#include "MeasureDefinition.hh"
+#include "ExtraRecombiners.hh"
+
+#include "fastjet/PseudoJet.hh"
+#include
+
+#include
+#include
+#include
+#include
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib {
+
+// The following AxesDefinitions are currently available (and the relevant arguments, if needed)
+class HalfKT_Axes;
+class KT_Axes;
+class CA_Axes;
+class AntiKT_Axes; // (R0)
+class WTA_HalfKT_Axes;
+class WTA_KT_Axes;
+class WTA_CA_Axes;
+class GenKT_Axes; // (p, R0 = infinity)
+class WTA_GenKT_Axes; // (p, R0 = infinity)
+class GenET_GenKT_Axes; // (delta, p, R0 = infinity)
+class Manual_Axes;
+
+class OnePass_HalfKT_Axes;
+class OnePass_KT_Axes;
+class OnePass_CA_Axes;
+class OnePass_AntiKT_Axes; // (R0)
+class OnePass_WTA_HalfKT_Axes;
+class OnePass_WTA_KT_Axes;
+class OnePass_WTA_CA_Axes;
+class OnePass_GenKT_Axes; // (p, R0 = infinity)
+class OnePass_WTA_GenKT_Axes; // (p, R0 = infinity)
+class OnePass_GenET_GenKT_Axes; // (delta, p, R0 = infinity)
+class OnePass_Manual_Axes;
+
+class MultiPass_Axes; // (NPass) (currently only defined for KT_Axes)
+class MultiPass_Manual_Axes; // (NPass)
+
+class Comb_GenKT_Axes; // (nExtra, p, R0 = infinity)
+class Comb_WTA_GenKT_Axes; // (nExtra, p, R0 = infinity)
+class Comb_GenET_GenKT_Axes; // (nExtra, delta, p, R0 = infinity)
+
+///////
+//
+// AxesDefinition
+//
+///////
+
+///------------------------------------------------------------------------
+/// \class AxesDefinition
+/// \brief Base class for axes definitions
+///
+/// A generic AxesDefinition first finds a set of seed axes.
+/// Then, if desired, uses measure information
+/// (from MeasureDefinition) to refine those axes starting from those seed axes.
+/// The AxesDefinitions are typically based on sequential jet algorithms.
+///------------------------------------------------------------------------
+class AxesDefinition {
+
+public:
+
+ /// This function should be overloaded in all derived classes, and defines how to find the seed axes.
+ /// If desired, the measure information (which might be NULL) can be used to test multiple axes choices, but should
+ /// not be used for iterative refining (since that is the job of MeasureDefinition).
+ virtual std::vector get_starting_axes(int n_jets,
+ const std::vector& inputs,
+ const MeasureDefinition * measure) const = 0;
+
+ /// Short description of AxesDefinitions (and any parameters)
+ virtual std::string short_description() const = 0;
+
+ /// Long description of AxesDefinitions (and any parameters)
+ virtual std::string description() const = 0;
+
+ /// This has to be defined in all derived classes, and allows these to be copied around.
+ virtual AxesDefinition* create() const = 0;
+
+public:
+
+ /// Starting from seeds, refine axes using one or more passes.
+ /// Note that in order to do >0 passes, we need information from the MeasureDefinition about how to do the appropriate minimization.
+ std::vector get_refined_axes(int n_jets,
+ const std::vector& inputs,
+ const std::vector& seedAxes,
+ const MeasureDefinition * measure = NULL) const {
+
+ assert(n_jets == (int)seedAxes.size()); //added int casting to get rid of compiler warning
+
+ if (_Npass == 0) {
+ // no refining, just use seeds
+ return seedAxes;
+ } else if (_Npass == 1) {
+ if (measure == NULL) throw Error("AxesDefinition: One-pass minimization requires specifying a MeasureDefinition.");
+
+ // do one pass minimum using measure definition
+ return measure->get_one_pass_axes(n_jets, inputs, seedAxes,_nAttempts,_accuracy);
+ } else {
+ if (measure == NULL) throw Error("AxesDefinition: Multi-pass minimization requires specifying a MeasureDefinition.");
+ return get_multi_pass_axes(n_jets, inputs, seedAxes, measure);
+ }
+ }
+
+ /// Combines get_starting_axes with get_refined_axes.
+ /// In the Njettiness class, these two steps are done separately in order to store seed axes information.
+ std::vector get_axes(int n_jets,
+ const std::vector& inputs,
+ const MeasureDefinition * measure = NULL) const {
+ std::vector seedAxes = get_starting_axes(n_jets, inputs, measure);
+ return get_refined_axes(n_jets,inputs,seedAxes,measure);
+ }
+
+
+ /// Short-hand for the get_axes function. Useful when trying to write terse code.
+ inline std::vector operator() (int n_jets,
+ const std::vector& inputs,
+ const MeasureDefinition * measure = NULL) const {
+ return get_axes(n_jets,inputs,measure);
+ }
+
+ /// \enum AxesRefiningEnum
+ /// Defines the cases of zero pass and one pass for convenience
+ enum AxesRefiningEnum {
+ UNDEFINED_REFINE = -1, // added to create a default value
+ NO_REFINING = 0,
+ ONE_PASS = 1,
+ MULTI_PASS = 100,
+ };
+
+ /// A integer that is used externally to decide how to do multi-pass minimization
+ int nPass() const { return _Npass; }
+
+ /// A flag that indicates whether results are deterministics.
+ bool givesRandomizedResults() const {
+ return (_Npass > 1);
+ }
+
+ /// A flag that indicates whether manual axes are being used.
+ bool needsManualAxes() const {
+ return _needsManualAxes; // if there is no starting axes finder
+ }
+
+ /// Allows user to change number of passes. Also used internally to set nPass.
+ /// Can also specify details of one/multi pass minimziation
+ void setNPass(int nPass,
+ int nAttempts = 1000,
+ double accuracy = 0.0001,
+ double noise_range = 1.0 // only needed for MultiPass minimization
+ )
+ {
+ _Npass = nPass;
+ _nAttempts = nAttempts;
+ _accuracy = accuracy;
+ _noise_range = noise_range;
+ if (nPass < 0) throw Error("AxesDefinition requires a nPass >= 0");
+ }
+
+ /// Destructor
+ virtual ~AxesDefinition() {};
+
+protected:
+
+ /// Default constructor contains no information. Number of passes has to be set
+ /// manually by derived classes using setNPass function.
+ AxesDefinition() : _Npass(UNDEFINED_REFINE),
+ _nAttempts(0),
+ _accuracy(0.0),
+ _noise_range(0.0),
+ _needsManualAxes(false) {}
+
+ /// Does multi-pass minimization by randomly jiggling the axes within _noise_range
+ std::vector get_multi_pass_axes(int n_jets,
+ const std::vector& inputs,
+ const std::vector& seedAxes,
+ const MeasureDefinition* measure) const;
+
+ /// Function to jiggle axes within _noise_range
+ PseudoJet jiggle(const PseudoJet& axis) const;
+
+ int _Npass; ///< Number of passes (0 = no refining, 1 = one-pass, >1 multi-pass)
+ int _nAttempts; ///< Number of attempts per pass
+ double _accuracy; ///< Accuracy goal per pass
+ double _noise_range; ///< Noise in rapidity/phi (for multi-pass minimization only)
+ bool _needsManualAxes; ///< Flag to indicate special case of manual axes
+};
+
+///------------------------------------------------------------------------
+/// \class ExclusiveJetAxes
+/// \brief Base class for axes defined from exclusive jet algorithm
+///
+/// This class finds axes by clustering particles with an exclusive jet definition.
+/// This can be implemented with different jet algorithms. The user can call this directly
+/// using their favorite fastjet::JetDefinition
+///------------------------------------------------------------------------
+class ExclusiveJetAxes : public AxesDefinition {
+
+public:
+ /// Constructor takes JetDefinition as an argument
+ ExclusiveJetAxes(fastjet::JetDefinition def)
+ : AxesDefinition(), _def(def) {
+ setNPass(NO_REFINING); // default to no minimization
+ }
+
+ /// Starting axes obtained by creating a cluster sequenence and running exclusive_jets.
+ virtual std::vector get_starting_axes(int n_jets,
+ const std::vector & inputs,
+ const MeasureDefinition * ) const {
+ fastjet::ClusterSequence jet_clust_seq(inputs, _def);
+
+ std::vector axes_temp = jet_clust_seq.exclusive_jets_up_to(n_jets);
+
+ if ((int)axes_temp.size() < n_jets) {
+ _too_few_axes_warning.warn("ExclusiveJetAxes::get_starting_axes: Fewer than N axes found; results are unpredictable.");
+ axes_temp.resize(n_jets); // resize to make sure there are enough axes to not yield an error elsewhere
+ }
+
+ // Create axes list with extra information stripped (since ClusterSequence will not be kept around)
+ std::vector axes;
+ axes.resize(n_jets);
+ for (unsigned int i = 0; i < axes_temp.size(); i++) {
+ axes[i].reset_momentum(axes_temp[i]);
+ }
+
+ return axes;
+ }
+
+ /// Short description
+ virtual std::string short_description() const { return "ExclAxes";}
+ /// Long description
+ virtual std::string description() const { return "ExclAxes: " + _def.description();}
+
+ /// To make it possible to copy around.
+ virtual ExclusiveJetAxes* create() const {return new ExclusiveJetAxes(*this);}
+
+private:
+ fastjet::JetDefinition _def; ///< Jet definition to use.
+ static LimitedWarning _too_few_axes_warning;
+};
+
+///------------------------------------------------------------------------
+/// \class ExclusiveCombinatorialJetAxes
+/// \brief Base class for axes defined from exclusive jet algorithm, checking combinatorial options
+///
+/// This class finds axes by clustering particles with an exclusive jet definition.
+/// It takes an extra number of jets (specificed by the user via nExtra), and then finds the set of N that minimizes N-jettiness.
+/// WARNING: If one wants to be guarenteed that results improve by increasing nExtra, then one should use
+/// winner-take-all-style recombination schemes
+///------------------------------------------------------------------------
+class ExclusiveCombinatorialJetAxes : public AxesDefinition {
+
+public:
+ /// Constructor takes JetDefinition and nExtra as options (nExtra=0 acts the same as ExclusiveJetAxes)
+ ExclusiveCombinatorialJetAxes(fastjet::JetDefinition def, int nExtra = 0)
+ : AxesDefinition(), _def(def), _nExtra(nExtra) {
+ if (nExtra < 0) throw Error("Need nExtra >= 0");
+ setNPass(NO_REFINING); // default to no minimization
+ }
+
+ /// Find n_jets + _nExtra axes, and then choose the n_jets subset with the smallest N-(sub)jettiness value.
+ virtual std::vector get_starting_axes(int n_jets,
+ const std::vector & inputs,
+ const MeasureDefinition *measure) const {
+ int starting_number = n_jets + _nExtra;
+ fastjet::ClusterSequence jet_clust_seq(inputs, _def);
+ std::vector starting_axes = jet_clust_seq.exclusive_jets_up_to(starting_number);
+
+ if ((int)starting_axes.size() < n_jets) {
+ _too_few_axes_warning.warn("ExclusiveCombinatorialJetAxes::get_starting_axes: Fewer than N + nExtra axes found; results are unpredictable.");
+ starting_axes.resize(n_jets); // resize to make sure there are enough axes to not yield an error elsewhere
+ }
+
+ std::vector final_axes;
+
+ // check so that no computation time is wasted if there are no extra axes
+ if (_nExtra == 0) final_axes = starting_axes;
+
+ else {
+
+ // define string of 1's based on number of desired jets
+ std::string bitmask(n_jets, 1);
+ // expand the array size to the total number of jets with extra 0's at the end, makes string easy to permute
+ bitmask.resize(starting_number, 0);
+
+ double min_tau = std::numeric_limits::max();
+ std::vector temp_axes;
+
+ do {
+
+ temp_axes.clear();
+
+ // only take an axis if it is listed as true (1) in the string
+ for (int i = 0; i < (int)starting_axes.size(); ++i) {
+ if (bitmask[i]) temp_axes.push_back(starting_axes[i]);
+ }
+
+ double temp_tau = measure->result(inputs, temp_axes);
+ if (temp_tau < min_tau) {
+ min_tau = temp_tau;
+ final_axes = temp_axes;
+ }
+
+ // permutes string of 1's and 0's according to next lexicographic ordering and returns true
+ // continues to loop through all possible lexicographic orderings
+ // returns false and breaks the loop when there are no more possible orderings
+ } while (std::prev_permutation(bitmask.begin(), bitmask.end()));
+ }
+
+ return final_axes;
+ }
+
+ /// Short description
+ virtual std::string short_description() const { return "ExclCombAxes";}
+ /// Long description
+ virtual std::string description() const { return "ExclCombAxes: " + _def.description();}
+ /// To make it possible to copy around.
+ virtual ExclusiveCombinatorialJetAxes* create() const {return new ExclusiveCombinatorialJetAxes(*this);}
+
+private:
+ fastjet::JetDefinition _def; ///< Jet definition to use
+ int _nExtra; ///< Extra axes to find
+ static LimitedWarning _too_few_axes_warning;
+};
+
+///------------------------------------------------------------------------
+/// \class HardestJetAxes
+/// \brief Base class for axes defined from an inclusive jet algorithm
+///
+/// This class finds axes by running an inclusive algorithm and then finding the n hardest jets.
+/// This can be implemented with different jet algorithms, and can be called by the user.
+///------------------------------------------------------------------------
+class HardestJetAxes : public AxesDefinition {
+public:
+ /// Constructor takes JetDefinition
+ HardestJetAxes(fastjet::JetDefinition def)
+ : AxesDefinition(), _def(def) {
+ setNPass(NO_REFINING); // default to no minimization
+ }
+
+ /// Finds seed axes by running a ClusterSequence, running inclusive_jets, and finding the N hardest
+ virtual std::vector get_starting_axes(int n_jets,
+ const std::vector & inputs,
+ const MeasureDefinition * ) const {
+ fastjet::ClusterSequence jet_clust_seq(inputs, _def);
+ std::vector axes = sorted_by_pt(jet_clust_seq.inclusive_jets());
+
+ if ((int)axes.size() < n_jets) {
+ _too_few_axes_warning.warn("HardestJetAxes::get_starting_axes: Fewer than N axes found; results are unpredictable.");
+ }
+
+ axes.resize(n_jets); // only keep n hardest
+ return axes;
+ }
+
+ /// Short description
+ virtual std::string short_description() const { return "HardAxes";}
+ /// Long description
+ virtual std::string description() const { return "HardAxes: " + _def.description();}
+ /// To make it possible to copy around.
+ virtual HardestJetAxes* create() const {return new HardestJetAxes(*this);}
+
+private:
+ fastjet::JetDefinition _def; ///< Jet Definition to use.
+
+ static LimitedWarning _too_few_axes_warning;
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class HalfKT_Axes
+/// \brief Axes from exclusive generalized kT with p = 1/2
+///
+/// Axes from a general KT algorithm with p=1/2 (standard E-scheme recombination)
+///------------------------------------------------------------------------
+class HalfKT_Axes : public ExclusiveJetAxes {
+
+public:
+ /// Constructor
+ HalfKT_Axes()
+ : ExclusiveJetAxes(fastjet::JetDefinition(fastjet::genkt_algorithm,
+ fastjet::JetDefinition::max_allowable_R,
+ 0.5)) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "HalfKT";
+ return stream.str();
+ };
+
+ /// Long descriptions
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Half KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual HalfKT_Axes* create() const {return new HalfKT_Axes(*this);}
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class KT_Axes
+/// \brief Axes from exclusive kT
+///
+/// Axes from kT algorithm with E_scheme recombination.
+///------------------------------------------------------------------------
+class KT_Axes : public ExclusiveJetAxes {
+public:
+ /// Constructor
+ KT_Axes()
+ : ExclusiveJetAxes(fastjet::JetDefinition(fastjet::kt_algorithm,
+ fastjet::JetDefinition::max_allowable_R, //maximum jet radius constant
+ fastjet::E_scheme,
+ fastjet::Best)
+ ) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "KT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual KT_Axes* create() const {return new KT_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class CA_Axes
+/// \brief Axes from exclusive CA
+///
+/// Axes from CA algorithm with E_scheme recombination.
+///------------------------------------------------------------------------
+class CA_Axes : public ExclusiveJetAxes {
+public:
+ /// Constructor
+ CA_Axes()
+ : ExclusiveJetAxes(fastjet::JetDefinition(fastjet::cambridge_algorithm,
+ fastjet::JetDefinition::max_allowable_R, //maximum jet radius constant
+ fastjet::E_scheme,
+ fastjet::Best)
+ ) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "CA";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "CA Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual CA_Axes* create() const {return new CA_Axes(*this);}
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class AntiKT_Axes
+/// \brief Axes from inclusive anti-kT
+///
+/// Axes from anti-kT algorithm and E_scheme.
+/// The one parameter R0 is subjet radius
+///------------------------------------------------------------------------
+class AntiKT_Axes : public HardestJetAxes {
+
+public:
+ /// Constructor. Takes jet radius as argument
+ AntiKT_Axes(double R0)
+ : HardestJetAxes(fastjet::JetDefinition(fastjet::antikt_algorithm,
+ R0,
+ fastjet::E_scheme,
+ fastjet::Best)
+ ), _R0(R0) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "AKT" << _R0;
+ return stream.str();
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Anti-KT Axes (R0 = " << _R0 << ")";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual AntiKT_Axes* create() const {return new AntiKT_Axes(*this);}
+
+protected:
+ double _R0; ///< AKT jet radius
+
+};
+
+///------------------------------------------------------------------------
+/// \class JetDefinitionWrapper
+/// \brief Wrapper for jet definitions (for memory management)
+///
+/// This class is used by all AxesDefinition with a manual recombiner to
+/// ensure that the delete_recombiner_when_unused function is always called
+///------------------------------------------------------------------------
+class JetDefinitionWrapper {
+
+public:
+
+ /// Default Constructor
+ JetDefinitionWrapper(JetAlgorithm jet_algorithm_in, double R_in, double xtra_param_in, const JetDefinition::Recombiner *recombiner) {
+ jet_def = fastjet::JetDefinition(jet_algorithm_in, R_in, xtra_param_in);
+ jet_def.set_recombiner(recombiner);
+ jet_def.delete_recombiner_when_unused(); // added to prevent memory leaks
+ }
+
+ /// Additional constructor so that build-in FastJet algorithms can also be called
+ JetDefinitionWrapper(JetAlgorithm jet_algorithm_in, double R_in, const JetDefinition::Recombiner *recombiner, fastjet::Strategy strategy_in) {
+ jet_def = fastjet::JetDefinition(jet_algorithm_in, R_in, recombiner, strategy_in);
+ jet_def.delete_recombiner_when_unused();
+ }
+
+ /// Return jet definition
+ JetDefinition getJetDef() {
+ return jet_def;
+ }
+
+private:
+ JetDefinition jet_def; ///< my jet definition
+};
+
+///------------------------------------------------------------------------
+/// \class WTA_HalfKT_Axes
+/// \brief Axes from exclusive generalized kT with p =1/2, winner-take-all recombination
+///
+/// Axes from a general KT algorithm (p = 1/2) with a Winner Take All Recombiner
+///------------------------------------------------------------------------
+class WTA_HalfKT_Axes : public ExclusiveJetAxes {
+
+public:
+ /// Constructor
+ WTA_HalfKT_Axes()
+ : ExclusiveJetAxes(JetDefinitionWrapper(fastjet::genkt_algorithm,
+ fastjet::JetDefinition::max_allowable_R,
+ 0.5,
+ new WinnerTakeAllRecombiner()
+ ).getJetDef()) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "WTA, HalfKT";
+ return stream.str();
+ };
+
+ /// Long descriptions
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Winner-Take-All Half KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual WTA_HalfKT_Axes* create() const {return new WTA_HalfKT_Axes(*this);}
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class WTA_KT_Axes
+/// \brief Axes from exclusive kT, winner-take-all recombination
+///
+/// Axes from kT algorithm and winner-take-all recombination
+///------------------------------------------------------------------------
+class WTA_KT_Axes : public ExclusiveJetAxes {
+public:
+ /// Constructor
+ WTA_KT_Axes()
+ : ExclusiveJetAxes(JetDefinitionWrapper(fastjet::kt_algorithm,
+ fastjet::JetDefinition::max_allowable_R, //maximum jet radius constant
+ new WinnerTakeAllRecombiner(), // Needs to be explicitly declared (this will be deleted by JetDefinitionWrapper)
+ fastjet::Best).getJetDef()
+ ) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "WTA KT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Winner-Take-All KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual WTA_KT_Axes* create() const {return new WTA_KT_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class WTA_CA_Axes
+/// \brief Axes from exclusive CA, winner-take-all recombination
+///
+/// Axes from CA algorithm and winner-take-all recombination
+///------------------------------------------------------------------------
+class WTA_CA_Axes : public ExclusiveJetAxes {
+public:
+ /// Constructor
+ WTA_CA_Axes()
+ : ExclusiveJetAxes(JetDefinitionWrapper(fastjet::cambridge_algorithm,
+ fastjet::JetDefinition::max_allowable_R, //maximum jet radius constant
+ new WinnerTakeAllRecombiner(), // Needs to be explicitly declared (this will be deleted by JetDefinitionWrapper)
+ fastjet::Best).getJetDef()) {
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "WTA CA";
+ };
+
+ /// Long descriptions
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Winner-Take-All CA Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual WTA_CA_Axes* create() const {return new WTA_CA_Axes(*this);}
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class GenKT_Axes
+/// \brief Axes from exclusive generalized kT
+///
+/// Axes from a general KT algorithm (standard E-scheme recombination)
+/// Requires the power of the KT algorithm to be used and the radius parameter
+///------------------------------------------------------------------------
+class GenKT_Axes : public ExclusiveJetAxes {
+
+public:
+ /// Constructor
+ GenKT_Axes(double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveJetAxes(fastjet::JetDefinition(fastjet::genkt_algorithm,
+ R0,
+ p)), _p(p), _R0(R0) {
+ if (p < 0) throw Error("GenKT_Axes: Currently only p >=0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "GenKT Axes";
+ return stream.str();
+ };
+
+ /// Long descriptions
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual GenKT_Axes* create() const {return new GenKT_Axes(*this);}
+
+protected:
+ double _p; ///< genkT power
+ double _R0; ///< jet radius
+};
+
+
+///------------------------------------------------------------------------
+/// \class WTA_GenKT_Axes
+/// \brief Axes from exclusive generalized kT, winner-take-all recombination
+///
+/// Axes from a general KT algorithm with a Winner Take All Recombiner
+/// Requires the power of the KT algorithm to be used and the radius parameter
+///------------------------------------------------------------------------
+class WTA_GenKT_Axes : public ExclusiveJetAxes {
+
+public:
+ /// Constructor
+ WTA_GenKT_Axes(double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveJetAxes(JetDefinitionWrapper(fastjet::genkt_algorithm,
+ R0,
+ p,
+ new WinnerTakeAllRecombiner()
+ ).getJetDef()), _p(p), _R0(R0) {
+ if (p < 0) throw Error("WTA_GenKT_Axes: Currently only p >=0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "WTA, GenKT Axes";
+ return stream.str();
+ };
+
+ /// Long descriptions
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual WTA_GenKT_Axes* create() const {return new WTA_GenKT_Axes(*this);}
+
+protected:
+ double _p; ///< genkT power
+ double _R0; ///< jet radius
+};
+
+///------------------------------------------------------------------------
+/// \class GenET_GenKT_Axes
+/// \brief Axes from exclusive kT, generalized Et-scheme recombination
+///
+/// Class using general KT algorithm with a more general recombination scheme
+/// Requires power of KT algorithm, power of recombination weights, and radius parameter
+///------------------------------------------------------------------------
+class GenET_GenKT_Axes : public ExclusiveJetAxes {
+
+public:
+ /// Constructor
+ GenET_GenKT_Axes(double delta, double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveJetAxes((JetDefinitionWrapper(fastjet::genkt_algorithm, R0, p, new GeneralEtSchemeRecombiner(delta))).getJetDef() ),
+ _delta(delta), _p(p), _R0(R0) {
+ if (p < 0) throw Error("GenET_GenKT_Axes: Currently only p >=0 is supported.");
+ if (delta <= 0) throw Error("GenET_GenKT_Axes: Currently only delta >0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "GenET, GenKT Axes";
+ return stream.str();
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2);
+ // TODO: if _delta is huge, change to "WTA"
+ if (_delta < std::numeric_limits::max()) stream << "General Recombiner (delta = " << _delta << "), " << "General KT (p = " << _p << ") Axes, R0 = " << _R0;
+ else stream << "Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual GenET_GenKT_Axes* create() const {return new GenET_GenKT_Axes(*this);}
+
+protected:
+ double _delta; ///< Recombination pT weighting
+ double _p; ///< GenkT power
+ double _R0; ///< jet radius
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_HalfKT_Axes
+/// \brief Axes from exclusive generalized kT (p = 1/2) with one-pass minimization
+///
+/// Onepass minimization, General KT Axes with p = 1/2 (standard E-scheme recombination)
+///------------------------------------------------------------------------
+class OnePass_HalfKT_Axes : public HalfKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_HalfKT_Axes() : HalfKT_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass HalfKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Half KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_HalfKT_Axes* create() const {return new OnePass_HalfKT_Axes(*this);}
+};
+
+
+///------------------------------------------------------------------------
+/// \class OnePass_KT_Axes
+/// \brief Axes from exclusive kT, with one-pass minimization
+///
+/// Onepass minimization from kt axes
+///------------------------------------------------------------------------
+class OnePass_KT_Axes : public KT_Axes {
+public:
+ /// Constructor
+ OnePass_KT_Axes() : KT_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass KT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_KT_Axes* create() const {return new OnePass_KT_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_CA_Axes
+/// \brief Axes from exclusive CA, with one-pass minimization
+///
+/// Onepass minimization from CA axes
+///------------------------------------------------------------------------
+class OnePass_CA_Axes : public CA_Axes {
+public:
+ /// Constructor
+ OnePass_CA_Axes() : CA_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass CA";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from CA Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_CA_Axes* create() const {return new OnePass_CA_Axes(*this);}
+
+
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_AntiKT_Axes
+/// \brief Axes from inclusive anti-kT, with one-pass minimization
+///
+/// Onepass minimization from AntiKT axes, one parameter R0
+///------------------------------------------------------------------------
+class OnePass_AntiKT_Axes : public AntiKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_AntiKT_Axes(double R0) : AntiKT_Axes(R0) {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short Description
+ virtual std::string short_description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "OnePassAKT" << _R0;
+ return stream.str();
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Anti-KT Axes (R0 = " << _R0 << ")";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_AntiKT_Axes* create() const {return new OnePass_AntiKT_Axes(*this);}
+
+};
+
+
+///------------------------------------------------------------------------
+/// \class OnePass_WTA_HalfKT_Axes
+/// \brief Axes from exclusive generalized kT with p = 1/2, winner-take-all recombination, with one-pass minimization
+///
+/// Onepass minimization from winner-take-all, General KT Axes with p = 1/2
+///------------------------------------------------------------------------
+class OnePass_WTA_HalfKT_Axes : public WTA_HalfKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_WTA_HalfKT_Axes() : WTA_HalfKT_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass WTA HalfKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Winner-Take-All Half KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_WTA_HalfKT_Axes* create() const {return new OnePass_WTA_HalfKT_Axes(*this);}
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_WTA_KT_Axes
+/// \brief Axes from exclusive kT, winner-take-all recombination, with one-pass minimization
+///
+/// Onepass minimization from winner-take-all kt axes
+///------------------------------------------------------------------------
+class OnePass_WTA_KT_Axes : public WTA_KT_Axes {
+public:
+ /// Constructor
+ OnePass_WTA_KT_Axes() : WTA_KT_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass WTA KT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Winner-Take-All KT Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_WTA_KT_Axes* create() const {return new OnePass_WTA_KT_Axes(*this);}
+
+
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_WTA_CA_Axes
+/// \brief Axes from exclusive CA, winner-take-all recombination, with one-pass minimization
+///
+/// Onepass minimization from winner-take-all CA axes
+///------------------------------------------------------------------------
+class OnePass_WTA_CA_Axes : public WTA_CA_Axes {
+
+public:
+ /// Constructor
+ OnePass_WTA_CA_Axes() : WTA_CA_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass WTA CA";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Winner-Take-All CA Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_WTA_CA_Axes* create() const {return new OnePass_WTA_CA_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_GenKT_Axes
+/// \brief Axes from exclusive generalized kT with one-pass minimization
+///
+/// Onepass minimization, General KT Axes (standard E-scheme recombination)
+///------------------------------------------------------------------------
+class OnePass_GenKT_Axes : public GenKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_GenKT_Axes(double p, double R0 = fastjet::JetDefinition::max_allowable_R) : GenKT_Axes(p, R0) {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_GenKT_Axes* create() const {return new OnePass_GenKT_Axes(*this);}
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_WTA_GenKT_Axes
+/// \brief Axes from exclusive generalized kT, winner-take-all recombination, with one-pass minimization
+///
+/// Onepass minimization from winner-take-all, General KT Axes
+///------------------------------------------------------------------------
+class OnePass_WTA_GenKT_Axes : public WTA_GenKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_WTA_GenKT_Axes(double p, double R0 = fastjet::JetDefinition::max_allowable_R) : WTA_GenKT_Axes(p, R0) {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass WTA GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_WTA_GenKT_Axes* create() const {return new OnePass_WTA_GenKT_Axes(*this);}
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_GenET_GenKT_Axes
+/// \brief Axes from exclusive generalized kT, generalized Et-scheme recombination, with one-pass minimization
+///
+/// Onepass minimization from General Recomb, General KT axes
+///------------------------------------------------------------------------
+class OnePass_GenET_GenKT_Axes : public GenET_GenKT_Axes {
+
+public:
+ /// Constructor
+ OnePass_GenET_GenKT_Axes(double delta, double p, double R0 = fastjet::JetDefinition::max_allowable_R) : GenET_GenKT_Axes(delta, p, R0) {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass GenET, GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2);
+ if (_delta < std::numeric_limits::max()) stream << "One-Pass Minimization from General Recombiner (delta = "
+ << _delta << "), " << "General KT (p = " << _p << ") Axes, R0 = " << _R0;
+ else stream << "One-Pass Minimization from Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual OnePass_GenET_GenKT_Axes* create() const {return new OnePass_GenET_GenKT_Axes(*this);}
+};
+
+
+///------------------------------------------------------------------------
+/// \class Manual_Axes
+/// \brief Manual axes finding
+///
+/// Allows the user to set the axes manually
+///------------------------------------------------------------------------
+class Manual_Axes : public AxesDefinition {
+public:
+ /// Constructor. Note that _needsManualAxes is set to true.
+ Manual_Axes() : AxesDefinition() {
+ setNPass(NO_REFINING);
+ _needsManualAxes = true;
+ }
+
+ /// This is now a dummy function since this is manual mode
+ virtual std::vector get_starting_axes(int,
+ const std::vector&,
+ const MeasureDefinition *) const;
+
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "Manual";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Manual Axes";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual Manual_Axes* create() const {return new Manual_Axes(*this);}
+
+
+};
+
+///------------------------------------------------------------------------
+/// \class OnePass_Manual_Axes
+/// \brief Manual axes finding, with one-pass minimization
+///
+/// One pass minimization from manual starting point
+///------------------------------------------------------------------------
+class OnePass_Manual_Axes : public Manual_Axes {
+public:
+ /// Constructor. Note that _needsManualAxes is set to true.
+ OnePass_Manual_Axes() : Manual_Axes() {
+ setNPass(ONE_PASS);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "OnePass Manual";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "One-Pass Minimization from Manual Axes";
+ return stream.str();
+ };
+
+ // For copying purposes
+ virtual OnePass_Manual_Axes* create() const {return new OnePass_Manual_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class MultiPass_Axes
+/// \brief Manual axes finding, with multi-pass (randomized) minimization
+///
+/// Multi-pass minimization from kT starting point
+///------------------------------------------------------------------------
+class MultiPass_Axes : public KT_Axes {
+
+public:
+
+ /// Constructor
+ MultiPass_Axes(unsigned int Npass) : KT_Axes() {
+ setNPass(Npass);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "MultiPass";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Multi-Pass Axes (Npass = " << _Npass << ")";
+ return stream.str();
+ };
+
+ /// For copying purposs
+ virtual MultiPass_Axes* create() const {return new MultiPass_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class MultiPass_Manual_Axes
+/// \brief Axes finding from exclusive kT, with multi-pass (randomized) minimization
+///
+/// multi-pass minimization from kT starting point
+///------------------------------------------------------------------------
+class MultiPass_Manual_Axes : public Manual_Axes {
+
+public:
+ /// Constructor
+ MultiPass_Manual_Axes(unsigned int Npass) : Manual_Axes() {
+ setNPass(Npass);
+ }
+
+ /// Short Description
+ virtual std::string short_description() const {
+ return "MultiPass Manual";
+ };
+
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "Multi-Pass Manual Axes (Npass = " << _Npass << ")";
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual MultiPass_Manual_Axes* create() const {return new MultiPass_Manual_Axes(*this);}
+
+};
+
+///------------------------------------------------------------------------
+/// \class Comb_GenKT_Axes
+/// \brief Axes from exclusive generalized kT with combinatorial testing
+///
+/// Axes from kT algorithm (standard E-scheme recombination)
+/// Requires nExtra parameter and returns set of N that minimizes N-jettiness
+/// Note that this method is not guaranteed to find a deeper minimum than GenKT_Axes
+///------------------------------------------------------------------------
+class Comb_GenKT_Axes : public ExclusiveCombinatorialJetAxes {
+public:
+ /// Constructor
+ Comb_GenKT_Axes(int nExtra, double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveCombinatorialJetAxes(fastjet::JetDefinition(fastjet::genkt_algorithm, R0, p), nExtra),
+ _p(p), _R0(R0) {
+ if (p < 0) throw Error("Comb_GenKT_Axes: Currently only p >=0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "N Choose M GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "N Choose M Minimization (nExtra = " << _nExtra << ") from General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual Comb_GenKT_Axes* create() const {return new Comb_GenKT_Axes(*this);}
+
+private:
+ double _nExtra; ///< Number of extra axes
+ double _p; ///< GenkT power
+ double _R0; ///< jet radius
+};
+
+
+
+///------------------------------------------------------------------------
+/// \class Comb_WTA_GenKT_Axes
+/// \brief Axes from exclusive generalized kT, winner-take-all recombination, with combinatorial testing
+///
+/// Axes from kT algorithm and winner-take-all recombination
+/// Requires nExtra parameter and returns set of N that minimizes N-jettiness
+///------------------------------------------------------------------------
+class Comb_WTA_GenKT_Axes : public ExclusiveCombinatorialJetAxes {
+public:
+ /// Constructor
+ Comb_WTA_GenKT_Axes(int nExtra, double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveCombinatorialJetAxes((JetDefinitionWrapper(fastjet::genkt_algorithm, R0, p, new WinnerTakeAllRecombiner())).getJetDef(), nExtra),
+ _p(p), _R0(R0) {
+ if (p < 0) throw Error("Comb_WTA_GenKT_Axes: Currently only p >=0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "N Choose M WTA GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2)
+ << "N Choose M Minimization (nExtra = " << _nExtra << ") from Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual Comb_WTA_GenKT_Axes* create() const {return new Comb_WTA_GenKT_Axes(*this);}
+
+private:
+ double _nExtra; ///< Number of extra axes
+ double _p; ///< GenkT power
+ double _R0; ///< jet radius
+};
+
+///------------------------------------------------------------------------
+/// \class Comb_GenET_GenKT_Axes
+/// \brief Axes from exclusive generalized kT, generalized Et-scheme recombination, with combinatorial testing
+///
+/// Axes from kT algorithm and General Et scheme recombination
+/// Requires nExtra parameter and returns set of N that minimizes N-jettiness
+///------------------------------------------------------------------------
+class Comb_GenET_GenKT_Axes : public ExclusiveCombinatorialJetAxes {
+public:
+ /// Constructor
+ Comb_GenET_GenKT_Axes(int nExtra, double delta, double p, double R0 = fastjet::JetDefinition::max_allowable_R)
+ : ExclusiveCombinatorialJetAxes((JetDefinitionWrapper(fastjet::genkt_algorithm, R0, p, new GeneralEtSchemeRecombiner(delta))).getJetDef(), nExtra),
+ _delta(delta), _p(p), _R0(R0) {
+ if (p < 0) throw Error("Comb_GenET_GenKT_Axes: Currently only p >=0 is supported.");
+ if (delta <= 0) throw Error("Comb_GenET_GenKT_Axes: Currently only delta >=0 is supported.");
+ setNPass(NO_REFINING);
+ }
+
+ /// Short description
+ virtual std::string short_description() const {
+ return "N Choose M GenET GenKT";
+ };
+
+ /// Long description
+ virtual std::string description() const {
+ std::stringstream stream;
+ stream << std::fixed << std::setprecision(2);
+ if (_delta < std::numeric_limits::max()) stream << "N choose M Minimization (nExtra = " << _nExtra
+ << ") from General Recombiner (delta = " << _delta << "), " << "General KT (p = " << _p << ") Axes, R0 = " << _R0;
+ else stream << "N choose M Minimization (nExtra = " << _nExtra << ") from Winner-Take-All General KT (p = " << _p << "), R0 = " << _R0;
+ return stream.str();
+ };
+
+ /// For copying purposes
+ virtual Comb_GenET_GenKT_Axes* create() const {return new Comb_GenET_GenKT_Axes(*this);}
+
+private:
+ double _nExtra; ///< Number of extra axes
+ double _delta; ///< Recombination pT weighting exponent
+ double _p; ///< GenkT power
+ double _R0; ///< jet radius
+};
+
+
+} // namespace contrib
+
+FASTJET_END_NAMESPACE
+
+#endif // __FASTJET_CONTRIB_NJETTINESS_HH__
+
Property changes on: contrib/contribs/Nsubjettiness/tags/2.3.2/AxesDefinition.hh
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: contrib/contribs/Nsubjettiness/tags/2.3.2/MeasureDefinition.hh
===================================================================
--- contrib/contribs/Nsubjettiness/tags/2.3.2/MeasureDefinition.hh (revision 0)
+++ contrib/contribs/Nsubjettiness/tags/2.3.2/MeasureDefinition.hh (revision 1412)
@@ -0,0 +1,853 @@
+// Nsubjettiness Package
+// Questions/Comments? jthaler@jthaler.net
+//
+// Copyright (c) 2011-14
+// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
+//
+// $Id$
+//----------------------------------------------------------------------
+// This file is part of FastJet contrib.
+//
+// It is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2 of the License, or (at
+// your option) any later version.
+//
+// It is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+// License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this code. If not, see .
+//----------------------------------------------------------------------
+
+#ifndef __FASTJET_CONTRIB_MEASUREDEFINITION_HH__
+#define __FASTJET_CONTRIB_MEASUREDEFINITION_HH__
+
+#include "fastjet/PseudoJet.hh"
+#include
+#include
+#include
+#include
+
+#include "TauComponents.hh"
+
+FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+namespace contrib{
+
+
+
+// The following Measures are available (and their relevant arguments):
+// Recommended for usage as jet shapes
+class DefaultMeasure; // Default measure from which next classes derive (should not be called directly)
+class NormalizedMeasure; // (beta,R0)
+class UnnormalizedMeasure; // (beta)
+class NormalizedCutoffMeasure; // (beta,R0,Rcutoff)
+class UnnormalizedCutoffMeasure; // (beta,Rcutoff)
+
+// New measures as of v2.2
+// Recommended for usage as event shapes (or for jet finding)
+class ConicalMeasure; // (beta,R)
+class OriginalGeometricMeasure; // (R)
+class ModifiedGeometricMeasure; // (R)
+class ConicalGeometricMeasure; // (beta, gamma, R)
+class XConeMeasure; // (beta, R)
+
+// Formerly GeometricMeasure, now no longer recommended, kept commented out only for cross-check purposes
+//class DeprecatedGeometricMeasure; // (beta)
+//class DeprecatedGeometricCutoffMeasure; // (beta,Rcutoff)
+
+
+///////
+//
+// MeasureDefinition
+//
+///////
+
+//This is a helper class for the Minimum Axes Finders. It is defined later.
+class LightLikeAxis;
+
+///------------------------------------------------------------------------
+/// \class MeasureDefinition
+/// \brief Base class for measure definitions
+///
+/// This is the base class for measure definitions. Derived classes will calculate
+/// the tau_N of a jet given a specific measure and a set of axes. The measure is
+/// determined by various jet and beam distances (and possible normalization factors).
+///------------------------------------------------------------------------
+class MeasureDefinition {
+
+public:
+
+ /// Description of measure and parameters
+ virtual std::string description() const = 0;
+
+ /// In derived classes, this should return a copy of the corresponding derived class
+ virtual MeasureDefinition* create() const = 0;
+
+ //The following five functions define the measure by which tau_N is calculated,
+ //and are overloaded by the various measures below
+
+ /// Distanes to jet axis. This is called many times, so needs to be as fast as possible
+ /// Unless overloaded, it just calls jet_numerator
+ virtual double jet_distance_squared(const fastjet::PseudoJet& particle, const fastjet::PseudoJet& axis) const {
+ return jet_numerator(particle,axis);
+ }
+
+ /// Distanes to beam. This is called many times, so needs to be as fast as possible
+ /// Unless overloaded, it just calls beam_numerator
+ virtual double beam_distance_squared(const fastjet::PseudoJet& particle) const {
+ return beam_numerator(particle);
+ }
+
+ /// The jet measure used in N-(sub)jettiness
+ virtual double jet_numerator(const fastjet::PseudoJet& particle, const fastjet::PseudoJet& axis) const = 0;
+ /// The beam measure used in N-(sub)jettiness
+ virtual double beam_numerator(const fastjet::PseudoJet& particle) const = 0;
+
+ /// A possible normalization factor
+ virtual double denominator(const fastjet::PseudoJet& particle) const = 0;
+
+ /// Run a one-pass minimization routine. There is a generic one-pass minimization that works for a wide variety of measures.
+ /// This should be overloaded to create a measure-specific minimization scheme
+ virtual std::vector