Particle Identification and Tracking
corr_case.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 //If you modify this Program, or any covered work, by linking or
28 //combining it with FreeImage (or a modified version of that library),
29 //containing parts covered by the terms of End User License Agreement
30 //for FreeImage Public License, the licensors of
31 //this Program grant you additional permission to convey the resulting
32 
33 #include <vector>
34 #include <map>
35 #include "part_def.h"
36 
37 namespace utilities
38 {
39 class Generic_wrapper;
40 class Md_store;
41 
42 }
43 
44 
45 namespace tracking
46 {
47 class Corr;
48 class Corr_gofr;
49 
50 
51 
52 
53 
60 class Corr_case
61 {
62 public:
68  int comp_count,
69  float max_range,
70  const int n_bins,
71  int comp_num,
72  int dset_num,
73  int read_comp_num);
74 
79  const std::string & base_name,
80  const utilities::Md_store * md_store) const;
81 
86  {
87  return corr_vec_.at(j);
88  }
93  {
94  return corr_vec_[j];
95  }
96 
97 
101  unsigned int size()const
102  {
103  return corr_vec_.size();
104  }
108  ~Corr_case();
109 
110 private:
114  std::vector< tracking::Corr*> corr_vec_;
118  std::map <std::string,float> prams_float_;
122  std::map <std::string ,int> prams_int_;
123 
124 
125 
126 };
127 }
128 
129