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
The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Mon May 6 2013 04:18:17 for SISCone by  Doxygen 1.8.1.2