Fork me on GitHub

source: git/external/fastjet/contribs/Nsubjettiness/NjettinessDefinition.cc@ 00f0ac8

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 00f0ac8 was 35cdc46, checked in by Pavel Demin <demin@…>, 10 years ago

upgrade FastJet to version 3.1.0-beta.1, upgrade Nsubjettiness to version 2.1.0, add SoftKiller version 1.0.0

  • Property mode set to 100644
File size: 2.8 KB
Line 
1// Nsubjettiness Package
2// Questions/Comments? jthaler@jthaler.net
3//
4// Copyright (c) 2011-14
5// Jesse Thaler, Ken Van Tilburg, Christopher K. Vermilion, and TJ Wilkason
6//
7// $Id: NjettinessDefinition.cc 704 2014-07-07 14:30:43Z jthaler $
8//----------------------------------------------------------------------
9// This file is part of FastJet contrib.
10//
11// It is free software; you can redistribute it and/or modify it under
12// the terms of the GNU General Public License as published by the
13// Free Software Foundation; either version 2 of the License, or (at
14// your option) any later version.
15//
16// It is distributed in the hope that it will be useful, but WITHOUT
17// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
19// License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this code. If not, see <http://www.gnu.org/licenses/>.
23//----------------------------------------------------------------------
24
25#include "NjettinessDefinition.hh"
26
27FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
28
29namespace contrib {
30
31 std::string NormalizedMeasure::description() const {
32 std::stringstream stream;
33 stream << std::fixed << std::setprecision(2)
34 << "Normalized Measure (beta = " << _beta << ", R0 = " << _R0 << ")";
35 return stream.str();
36 };
37
38 std::string UnnormalizedMeasure::description() const {
39 std::stringstream stream;
40 stream << std::fixed << std::setprecision(2)
41 << "Unnormalized Measure (beta = " << _beta << ", in GeV)";
42 return stream.str();
43 };
44
45 std::string GeometricMeasure::description() const {
46 std::stringstream stream;
47 stream << std::fixed << std::setprecision(2)
48 << "Geometric Measure (beta = " << _beta << ", in GeV)";
49 return stream.str();
50 };
51
52 std::string NormalizedCutoffMeasure::description() const {
53 std::stringstream stream;
54 stream << std::fixed << std::setprecision(2)
55 << "Normalized Cutoff Measure (beta = " << _beta << ", R0 = " << _R0 << ", Rcut = " << _Rcutoff << ")";
56 return stream.str();
57 };
58
59 std::string UnnormalizedCutoffMeasure::description() const {
60 std::stringstream stream;
61 stream << std::fixed << std::setprecision(2)
62 << "Unnormalized Cutoff Measure (beta = " << _beta << ", Rcut = " << _Rcutoff << ", in GeV)";
63 return stream.str();
64 };
65
66 std::string GeometricCutoffMeasure::description() const {
67 std::stringstream stream;
68 stream << std::fixed << std::setprecision(2)
69 << "Geometric Cutoff Measure (beta = " << _beta << ", Rcut = " << _Rcutoff << ", in GeV)";
70 return stream.str();
71 };
72
73
74} // namespace contrib
75
76FASTJET_END_NAMESPACE
Note: See TracBrowser for help on using the repository browser.