Particle Identification and Tracking
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
common_src
include
ta_vanHove.h
Go to the documentation of this file.
1
//Copyright 2010 Thomas A Caswell
2
//tcaswell@uchicago.edu
3
//http://jfi.uchicago.edu/~tcaswell
4
//
5
//This program is free software; you can redistribute it and/or modify
6
//it under the terms of the GNU General Public License as published by
7
//the Free Software Foundation; either version 3 of the License, or (at
8
//your option) any later version.
9
//
10
//This program is distributed in the hope that it will be useful, but
11
//WITHOUT ANY WARRANTY; without even the implied warranty of
12
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
//General Public License for more details.
14
//
15
//You should have received a copy of the GNU General Public License
16
//along with this program; if not, see <http://www.gnu.org/licenses>.
17
//
18
//Additional permission under GNU GPL version 3 section 7
19
//
20
//If you modify this Program, or any covered work, by linking or
21
//combining it with IPP (or a modified version of that library),
22
//containing parts covered by the terms of End User License Agreement
23
//for the Intel(R) Software Development Products, the licensors of
24
//this Program grant you additional permission to convey the resulting
25
//work.
26
27
28
#ifndef TRK_ACCUM_VANHOVE
29
#define TRK_ACCUM_VANHOVE
30
31
#include "
track_accum.h
"
32
#include "
histogram.h
"
33
34
namespace
tracking
35
{
36
41
class
TA_vanHove
:
public
Trk_accumulator
42
{
43
44
public
:
45
// inherited form Trk_accumulator
46
void
add_disp
(
const
utilities::Tuplef
& displacement,
unsigned
steps);
47
unsigned
max_step
()
const
{
return
max_step_
;}
48
52
TA_vanHove
(
unsigned
max_steps,
53
unsigned
nbins,
54
float
max_range);
55
59
virtual
~TA_vanHove
();
60
64
void
output_to_wrapper
(
utilities::Generic_wrapper
& out,
65
const
utilities::Md_store
& md_store)
const
;
66
67
private
:
72
std::vector<utilities::Histogram>
x_disp_
;
77
std::vector<utilities::Histogram>
y_disp_
;
81
unsigned
max_step_
;
82
83
84
85
};
86
87
88
89
90
}
91
#endif
92
Generated on Tue Sep 10 2013 17:07:21 for Particle Identification and Tracking by
1.8.4