Fit function.
192 {
194 using namespace JFIT;
196
198
200
202
203
204
206
208
209 if (!in.empty()) {
211 }
212
213 for (JEvt::const_iterator track = in.begin(); track != in.end(); ++track) {
214
218
222 }
223
225
226
227
229
230 for (buffer_type::const_iterator i =
data.begin(); i !=
data.end(); ++i) {
231
233
234 hit.rotate(R);
235
236 if (match(hit)) {
237 buffer.push_back(hit);
238 }
239 }
240
244
246
247
248
252 }
253
254
255
257
258 copy(input.in.begin(), input.in.end(), back_inserter(out));
259
260 return out;
261 }
int getString() const
Get string number.
JFit & add(const int type)
Add event to history.
Data structure for fit of straight line paralel to z-axis.
JPosition3D & rotate(const JRotation3D &R)
Rotate.
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
const JDAQPMTIdentifier & getPMTIdentifier() const
Get PMT identifier.
static const int JMUONFEATURES_NUMBER_OF_LINES
number of lines see JRECONSTRUCTION::JMuonFeatures
static const int JSTART_LENGTH_METRES
distance between projected positions on the track of optical modules for which the response does not ...
static const int JMUONFEATURES_NUMBER_OF_HITS
number of hits see JRECONSTRUCTION::JMuonFeatures
static const int JMUONFEATURES_NUMBER_OF_DOMS
number of doms see JRECONSTRUCTION::JMuonFeatures
JTOOLS::JRange< double > JZRange
Auxiliary classes and methods for 3D geometrical objects and operations.
const array_type< JValue_t > & make_array(const JValue_t(&array)[N])
Method to create array of values.
size_t getCount(const array_type< T > &buffer, const JCompare_t &compare)
Count number of unique values.
JPosition3D getPosition(const JFit &fit)
Get position.
void copy(const JFIT::JEvt::const_iterator __begin, const JFIT::JEvt::const_iterator __end, Evt &out)
Copy tracks.
bool qualitySorter(const JFit &first, const JFit &second)
Comparison of fit results.
JDirection3D getDirection(const JFit &fit)
Get direction.
Model for fit to acoustics data.
Transmission with position.
Auxiliary class to test history.
double ZMax_m
maximal z-positon [m]
double ZMin_m
minimal z-positon [m]
size_t numberOfPrefits
number of prefits