1#ifndef TCURLFINDER_FLAG_
2#define TCURLFINDER_FLAG_
4#ifdef TRKRECO_DEBUG_DETAIL
10#include "CLHEP/Matrix/DiagMatrix.h"
12#include "TrkReco/TFinderBase.h"
13#include "TrkReco/TBuilderCurl.h"
14#include "TrkReco/TMSelector.h"
15#include "TrkReco/TCurlFinderParameters.h"
17using CLHEP::HepDiagMatrix;
31 std::string
name(
void)
const;
32 std::string
version(
void)
const;
35 const unsigned min_salvage,
36 const double bad_distance_for_salvage,
37 const double good_distance_for_salvage,
38 const unsigned min_sequence,
39 const unsigned min_fullwire,
40 const double range_for_axial_search,
41 const double range_for_stereo_search,
42 const unsigned superlayer_for_stereo_search,
43 const double range_for_axial_last2d_search,
44 const double range_for_stereo_last2d_search,
45 const double trace2d_distance,
46 const double trace2d_first_distance,
47 const double trace3d_distance,
48 const unsigned determine_one_track,
49 const double selector_max_impact,
50 const double selector_max_sigma,
51 const double selector_strange_pz,
52 const double selector_replace_dz,
53 const unsigned stereo_2dfind,
54 const unsigned merge_exe,
55 const double merge_ratio,
56 const double merge_z_diff,
57 const double mask_distance,
58 const double ratio_used_wire,
59 const double range_for_stereo1,
60 const double range_for_stereo2,
61 const double range_for_stereo3,
62 const double range_for_stereo4,
63 const double range_for_stereo5,
64 const double range_for_stereo6,
66 const double z_diff_for_last_attend,
67 const unsigned svd_reconstruction,
68 const double min_svd_electrons,
69 const unsigned on_correction,
70 const unsigned output_2dtracks,
71 const unsigned curl_version,
73 const double minimum_seedLength,
74 const double minimum_2DTrackLength,
75 const double minimum_3DTrackLength,
76 const double minimum_closeHitsLength,
77 const double MIN_RADIUS_OF_STRANGE_TRACK,
78 const double ULTIMATE_MIN_RADIUS_OF_STRANGE_TRACK);
93 double distance(
const double,
const double)
const;
94 unsigned offset(
const unsigned)
const;
95 unsigned layerId(
const double &)
const;
96 unsigned maxLocalLayerId(
const unsigned)
const;
97 int nextSuperAxialLayerId(
const unsigned,
const int)
const;
98 int nextSuperStereoLayerId(
const unsigned,
const int)
const;
101 unsigned nAxialHits(
const double&)
const;
107 int checkSortSegments(
void);
116 void createSuperLayer(
void);
122 void checkExceptionalSegmentsType01(
void);
123 void checkExceptionalSegmentsType02(
void);
124 void checkExceptionalSegmentsType03(
void);
131 void salvage3DTrack(
TTrack*,
bool =
true);
133 bool check3DTrack(
TTrack*);
134 int trace3DTrack(
TTrack*);
136 void assignTracks(
void);
138 void check2DTracks(
void);
143 const int,
const unsigned,
const double);
145 const int,
const unsigned,
const double);
146 unsigned searchHits(
const TMLink*,
const TCircle*,
const double)
const;
153 bool fitWDD(
TCircle&,
double&,
int&)
const;
154 void removeStereo(
TCircle&)
const;
160 void makeCdcFrame(
void);
162 void plotCircle(
const TCircle&,
const int flag = 1);
163 void plotTrack(
const TTrack&,
const int flag = 1);
204 void debugCheckSegments0(
void);
205 void debugCheckSegments1(
void);
206 void debugCheckSegments2(
void);
207 void debugCheckSegments(
const double localId,
const double layerId,
208 const double localId2,
const double layerId2);
210 bool m_debugCdcFrame;
212 int m_debugFileNumber;
void makeList(AList< TMLink > &layer, AList< TMLink > &list, double q, int border, int checkB, TMLink *layer0)
A class to build a Curl track.
A class to represent a circle in tracking.
std::string name(void) const
returns name.
int doit(const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks, AList< TTrack > &tracks2D)
main function
std::string version(void) const
returns version.
void clear(void)
cleans all members of this class
A virtual class for a track finder in tracking.
A class to fit a TTrackBase object to a helix.
A class to represent a wire in MDC.
A class to relate TMDCWireHit and TTrack objects.
A class to select a TTrackBase object.
A class to represent a track in tracking.