SISCone  2.0.6
area.h
1 // -*- C++ -*-
3 // File: area.h //
4 // Description: header file for the computation of jet area //
5 // This file is part of the SISCone project. //
6 // For more details, see http://projects.hepforge.org/siscone //
7 // //
8 // Copyright (c) 2006 Gavin Salam and Gregory Soyez //
9 // //
10 // This program is free software; you can redistribute it and/or modify //
11 // it under the terms of the GNU General Public License as published by //
12 // the Free Software Foundation; either version 2 of the License, or //
13 // (at your option) any later version. //
14 // //
15 // This program is distributed in the hope that it will be useful, //
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
18 // GNU General Public License for more details. //
19 // //
20 // You should have received a copy of the GNU General Public License //
21 // along with this program; if not, write to the Free Software //
22 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA //
23 // //
24 // $Revision:: 149 $//
25 // $Date:: 2007-03-15 00:13:58 +0100 (Thu, 15 Mar 2007) $//
27 
28 #ifndef __SISCONE_AREA_H__
29 #define __SISCONE_AREA_H__
30 
31 #include "momentum.h"
32 #include "siscone.h"
33 
34 namespace siscone{
35 
48 class Cjet_area : public Cjet{
49  public:
51  Cjet_area();
52 
54  Cjet_area(Cjet &j);
55 
57  ~Cjet_area();
58 
59  // area information
60  double passive_area;
61  double active_area;
62 };
63 
72 class Carea : public Csiscone{
73  public:
75  Carea();
76 
78  ~Carea();
79 
100  int compute_areas(std::vector<Cmomentum> &_particles, double _radius, double _f,
101  int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde,
102  bool _hard_only=false);
103 
112  int compute_active_areas(std::vector<Cmomentum> &_particles, double _radius, double _f,
113  int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde,
114  bool _hard_only=false);
115 
123  int compute_passive_areas(std::vector<Cmomentum> &_particles, double _radius, double _f,
124  int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde);
125 
126  int grid_size;
127  double grid_eta_max;
128  double grid_shift;
129 
130  double pt_soft;
131  double pt_shift;
132  double pt_soft_min;
133 
135  std::vector<Cjet_area> jet_areas;
136 };
137 
138 }
139 #endif
siscone::Carea::compute_passive_areas
int compute_passive_areas(std::vector< Cmomentum > &_particles, double _radius, double _f, int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde)
compute the jet passive areas from a given particle set.
Definition: area.cpp:217
siscone::Cjet_area::Cjet_area
Cjet_area()
default ctor
Definition: area.cpp:51
siscone::Carea::~Carea
~Carea()
default dtor
Definition: area.cpp:100
siscone::Cjet_area::active_area
double active_area
active area
Definition: area.h:61
siscone::Carea::grid_size
int grid_size
size of the grid we add soft particles on (N_soft=(grid_size^2))
Definition: area.h:126
siscone::Carea::pt_soft_min
double pt_soft_min
pt_min used in SM to compute passive areas
Definition: area.h:132
siscone::Carea::grid_eta_max
double grid_eta_max
maximal value of eta we add soft particles on
Definition: area.h:127
siscone::Carea::pt_soft
double pt_soft
pt of the soft particles added
Definition: area.h:130
siscone::Cjet_area::passive_area
double passive_area
passive area
Definition: area.h:60
siscone::Cjet_area::~Cjet_area
~Cjet_area()
default dtor
Definition: area.cpp:72
siscone::Carea::compute_areas
int compute_areas(std::vector< Cmomentum > &_particles, double _radius, double _f, int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde, bool _hard_only=false)
compute the jet areas from a given particle set.
Definition: area.cpp:125
siscone::Carea::jet_areas
std::vector< Cjet_area > jet_areas
jets with their areas
Definition: area.h:135
siscone::Carea::pt_shift
double pt_shift
amplitude of the pt random shift
Definition: area.h:131
siscone::Carea::Carea
Carea()
default ctor
Definition: area.cpp:88
siscone::Cjet_area
Definition: area.h:48
siscone::Carea::grid_shift
double grid_shift
fractional (random) displacement of the points om the grid
Definition: area.h:128
siscone::Carea
Definition: area.h:72
siscone::Carea::compute_active_areas
int compute_active_areas(std::vector< Cmomentum > &_particles, double _radius, double _f, int _n_pass_max=0, Esplit_merge_scale _split_merge_scale=SM_pttilde, bool _hard_only=false)
compute the jet active areas from a given particle set.
Definition: area.cpp:291
siscone::Csiscone
Definition: siscone.h:48
siscone::Cjet
Definition: split_merge.h:51
The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated for SISCone by  Doxygen 1.8.17