Particle Identification and Tracking
ta_theta_rlim.h
Go to the documentation of this file.
1 //Copyright 2012 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_THETA_RLIM
29 #define TRK_ACCUM_THETA_RLIM
30 
31 #include "track_accum.h"
32 #include "histogram.h"
33 
34 namespace tracking
35 {
36 
43 {
44 
45 public:
46  // inherited form Trk_accumulator
47  void add_disp(const utilities::Tuplef & theta_rlimlacement,unsigned steps);
48  unsigned max_step()const {return max_step_;}
49 
53  TA_theta_rlim(unsigned max_step,
54  unsigned t_nbins,
55  float min_r,
56  float max_r);
57 
62 
67  const utilities::Md_store & md_store)const;
68 
69 private:
73  std::vector<utilities::Histogram> theta_;
77  unsigned max_step_;
81  float min_r_sqr_;
85  float max_r_sqr_;
86 
87 };
88 
89 }
90 #endif
91