Particle Identification and Tracking
corr_theta_2pt.h
Go to the documentation of this file.
1 //Copyright 2009 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 MATLAB (or a modified version of that library),
22 //containing parts covered by the terms of MATLAB User License, the
23 //licensors of this Program grant you additional permission to convey
24 //the resulting work.
25 
26 //If you modify this Program, or any covered work, by linking or
27 //combining it with IPP (or a modified version of that library),
28 //containing parts covered by the terms of End User License Agreement
29 //for the Intel(R) Software Development Products, the licensors of
30 //this Program grant you additional permission to convey the resulting
31 //work.
32 
33 #ifndef CORR_THETA_2PT
34 #define CORR_THETA_2PT
35 
36 #include <vector>
37 #include <string>
38 #include "corr.h"
39 #include "histogram.h"
40 
41 
42 namespace utilities
43 {
44 class Generic_wrapper;
45 class Md_store;
46 
47 }
48 
49 
50 namespace tracking
51 {
56 class Corr_theta_2pt:public Corr
57 {
58 public:
59  // basic inherited stuff
60  void compute(const particle *,const std::vector<const particle*> & ) ;
61  void out_to_wrapper(utilities::Generic_wrapper &,const std::string &,const utilities::Md_store * ) const ;
62  float get_max_range()const;
63 
70  Corr_theta_2pt(int t_bins,float min_r, float max_r);
71 
72 
73 private:
78 
83 
88 
89 
90 };
91 
92 }
93 
94 
95 
96 #endif