39 std::cout << 0. <<
" readPar " << inname << std::endl;
42 if ( ( ifp = fopen( inname.c_str(),
"r" ) ) != NULL )
45 { std::cout <<
"Reading MdcTrackFinder params from " << inname << std::endl; }
47 fscanf( ifp,
"%d%s", &idebug, comment );
48 fscanf( ifp,
"%d%s", &
lHist, comment );
50 fscanf( ifp,
"%d%s", &
findSegs, comment );
51 fscanf( ifp,
"%d%s", &(
segPar.lHist ), comment );
52 fscanf( ifp,
"%d%s", &(
tkParTight.lHist ), comment );
53 fscanf( ifp,
"%d%s", &(
segPar.lPrint ), comment );
54 fscanf( ifp,
"%d%s", &(
tkParTight.lPrint ), comment );
55 fscanf( ifp,
"%d%s", &(
segPar.segRefit ), comment );
56 fscanf( ifp,
"%d%s", &(
segPar.useAllAmbig ), comment );
57 fscanf( ifp,
"%d%s", &(
segPar.dropDups ), comment );
60 fscanf( ifp,
"%d %d %d %d %d %d %d %d %d %d %d%s", &(
segPar.find3[0] ),
64 &(
segPar.find3[10] ), comment );
67 fscanf( ifp,
"%d%s", &(
segPar.addHits ), comment );
68 fscanf( ifp,
"%d%s", &(
tkParTight.lUseQualCuts ), comment );
69 fscanf( ifp,
"%lf%s", &(
segPar.maxChisq ), comment );
70 fscanf( ifp,
"%lf%s", &(
segPar.nsigAddHit ), comment );
71 fscanf( ifp,
"%lf%s", &(
segPar.z0cut ), comment );
72 fscanf( ifp,
"%lf%s", &(
segPar.ctcut ), comment );
73 fscanf( ifp,
"%lf%s", &(
segPar.phiDiffDropMult ), comment );
74 fscanf( ifp,
"%lf%s", &(
segPar.slopeDiffDrop ), comment );
75 fscanf( ifp,
"%lf%s", &(
segPar.delZ0Cut ), comment );
76 fscanf( ifp,
"%lf%s", &(
segPar.delCtCut ), comment );
77 fscanf( ifp,
"%d%s", &(
tkParTight.minHits ), comment );
78 fscanf( ifp,
"%lf%s", &(
tkParTight.maxChisq ), comment );
79 fscanf( ifp,
"%lf%s", &(
tkParTight.maxNmissTrack ), comment );
80 fscanf( ifp,
"%lf%s", &(
tkParTight.maxNmissNorm ), comment );
81 fscanf( ifp,
"%d%s", &(
tkParTight.nOverlap ), comment );
82 fscanf( ifp,
"%lf%s", &(
tkParTight.maxSegChisqO ), comment );
83 fscanf( ifp,
"%lf%s", &(
tkParTight.maxInactiveResid ), comment );
84 fscanf( ifp,
"%lf%s", &(
tkParTight.maxActiveSigma ), comment );
85 fscanf( ifp,
"%lf%s", &(
tkParTight.pickHitFract ), comment );
86 fscanf( ifp,
"%lf%s", &(
tkParTight.pickHitMargin ), comment );
91 fscanf( ifp,
"%lf%s", &(
tkParTight.pickHitFactor ), comment );
92 fscanf( ifp,
"%d%s", &(
tkParTight.lRemoveInActive ), comment );
93 fscanf( ifp,
"%lf%s", &(
tkParTight.pickHitPhiFactor ), comment );
94 fscanf( ifp,
"%d%s", &(
tkParTight.pickUitlLastLayer ), comment );
95 fscanf( ifp,
"%d%s", &(
tkParTight.nHitDeleted ), comment );
96 fscanf( ifp,
"%d%s", &(
tkParTight.pickSkipExistLayer ), comment );
98 fscanf( ifp,
"%d%s", &(
tkParTight.combineByFitHits ), comment );
99 fscanf( ifp,
"%d%s", &(
tkParTight.nGapGE2 ), comment );
100 fscanf( ifp,
"%d%s", &(
tkParTight.nGapGE3 ), comment );
101 fscanf( ifp,
"%d%s", &(
tkParTight.maxGapLength ), comment );
111 else { std::cout <<
"Reading MdcTrackFinder params from default param!" << std::endl; }