41 std::cout<< 0. <<
" readPar "<< inname << std::endl;
44 if ((ifp = fopen(inname.c_str(),
"r")) !=
NULL) {
46 std::cout <<
"Reading MdcTrackFinder params from " << inname << std::endl;
49 fscanf(ifp,
"%d%s", &idebug, comment);
50 fscanf(ifp,
"%d%s", &
lHist, comment);
52 fscanf(ifp,
"%d%s", &
findSegs, comment);
53 fscanf(ifp,
"%d%s", &(
segPar.lHist), comment);
54 fscanf(ifp,
"%d%s", &(
tkParTight.lHist), comment);
55 fscanf(ifp,
"%d%s", &(
segPar.lPrint), comment);
56 fscanf(ifp,
"%d%s", &(
tkParTight.lPrint), comment);
57 fscanf(ifp,
"%d%s", &(
segPar.segRefit), comment);
58 fscanf(ifp,
"%d%s", &(
segPar.useAllAmbig), comment);
59 fscanf(ifp,
"%d%s", &(
segPar.dropDups), comment);
62 fscanf(ifp,
"%d %d %d %d %d %d %d %d %d %d %d%s",
68 fscanf(ifp,
"%d%s", &(
segPar.addHits), comment);
69 fscanf(ifp,
"%d%s", &(
tkParTight.lUseQualCuts), comment);
70 fscanf(ifp,
"%lf%s", &(
segPar.maxChisq), comment);
71 fscanf(ifp,
"%lf%s", &(
segPar.nsigAddHit), comment);
72 fscanf(ifp,
"%lf%s", &(
segPar.z0cut), comment);
73 fscanf(ifp,
"%lf%s", &(
segPar.ctcut), comment);
74 fscanf(ifp,
"%lf%s", &(
segPar.phiDiffDropMult), comment);
75 fscanf(ifp,
"%lf%s", &(
segPar.slopeDiffDrop), comment);
76 fscanf(ifp,
"%lf%s", &(
segPar.delZ0Cut), comment);
77 fscanf(ifp,
"%lf%s", &(
segPar.delCtCut), comment);
78 fscanf(ifp,
"%d%s", &(
tkParTight.minHits), comment);
79 fscanf(ifp,
"%lf%s", &(
tkParTight.maxChisq), comment);
80 fscanf(ifp,
"%lf%s", &(
tkParTight.maxNmissTrack), comment);
81 fscanf(ifp,
"%lf%s", &(
tkParTight.maxNmissNorm), comment);
82 fscanf(ifp,
"%d%s", &(
tkParTight.nOverlap), comment);
83 fscanf(ifp,
"%lf%s", &(
tkParTight.maxSegChisqO), comment);
84 fscanf(ifp,
"%lf%s", &(
tkParTight.maxInactiveResid), comment);
85 fscanf(ifp,
"%lf%s", &(
tkParTight.maxActiveSigma), comment);
86 fscanf(ifp,
"%lf%s", &(
tkParTight.pickHitFract), comment);
87 fscanf(ifp,
"%lf%s", &(
tkParTight.pickHitMargin), comment);
92 fscanf(ifp,
"%lf%s", &(
tkParTight.pickHitFactor), comment);
93 fscanf(ifp,
"%d%s", &(
tkParTight.lRemoveInActive), comment);
94 fscanf(ifp,
"%lf%s", &(
tkParTight.pickHitPhiFactor), comment);
95 fscanf(ifp,
"%d%s", &(
tkParTight.pickUitlLastLayer), comment);
96 fscanf(ifp,
"%d%s", &(
tkParTight.nHitDeleted), comment);
97 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);
110 std::cout <<
"Reading MdcTrackFinder params from default param!" << std::endl;