From 2012add4bb07d633cb222a3207efd0a42be9a59a Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Fri, 4 Sep 2015 10:03:03 -0400 Subject: [PATCH] Cleanup Fix fptime formulae in output.def Remove unused parameter from THcHodoEff Remove undefined parameter from report.def --- examples/output.def | 8 ++++---- examples/report.template | 3 ++- src/THcHodoEff.cxx | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/examples/output.def b/examples/output.def index d122a5a..e84d9f7 100644 --- a/examples/output.def +++ b/examples/output.def @@ -184,10 +184,10 @@ TH1F htimedif4 ' Time dif of plane 2 and 3' Hhodtdif4 80 -40. 40. TH1F htimedif5 ' Time dif of plane 2 and 4' Hhodtdif5 80 -40. 40. TH1F htimedif6 ' Time dif of plane 3 and 4' Hhodtdif6 80 -40. 40. -TH1F hs1xfptime 'HODO s1x fptime' H.hod.1x.fptime 80 0 80 H.hod.goodstarttime -TH1F hs1yfptime 'HODO s1y fptime' H.hod.1y.fptime 80 0 80 H.hod.goodstarttime -TH1F hs2xfptime 'HODO s2x fptime' H.hod.2x.fptime 80 0 80 H.hod.goodstarttime -TH1F hs2yfptime 'HODO s2y fptime' H.hod.2y.fptime 80 0 80 H.hod.goodstarttime +TH1F hs1xfptime 'HODO s1x fptime' H.hod.fpHitsTime[0] 80 0 80 H.hod.goodstarttime +TH1F hs1yfptime 'HODO s1y fptime' H.hod.fpHitsTime[1] 80 0 80 H.hod.goodstarttime +TH1F hs2xfptime 'HODO s2x fptime' H.hod.fpHitsTime[2] 80 0 80 H.hod.goodstarttime +TH1F hs2yfptime 'HODO s2y fptime' H.hod.fpHitsTime[3] 80 0 80 H.hod.goodstarttime TH1F starttime 'HODO start time' H.hod.starttime 80 0 80 H.hod.goodstarttime #SOS diff --git a/examples/report.template b/examples/report.template index bb41e4f..08d05e2 100644 --- a/examples/report.template +++ b/examples/report.template @@ -28,7 +28,6 @@ HMS cherenkov total photo electrons: {hmstotchernpe.npassed:%.2f} ------------------------ HMS Hodoscope ------------------------ -Scin test: {hgood_hits} Scin should fired counters: {hmsscinshould.npassed:%7d} Scin total should fired counter: {hmstotscinshould.npassed:%7d} @@ -71,3 +70,5 @@ that can be used in expressions. Last momenutm: {H.tr.p[0]} +{hhodo_pos_eff[0]} +{hhodo_pos_eff[1]} diff --git a/src/THcHodoEff.cxx b/src/THcHodoEff.cxx index acb0b0a..646f241 100644 --- a/src/THcHodoEff.cxx +++ b/src/THcHodoEff.cxx @@ -219,8 +219,8 @@ Int_t THcHodoEff::DefineVariables( EMode mode ) if( mode == kDefine && fIsSetup ) return kOK; fIsSetup = ( mode == kDefine ); - fEffiTest = 0; - gHcParms->Define(Form("hodoeffi"),"Testing effi",fEffiTest); + // fEffiTest = 0; + // gHcParms->Define(Form("hodoeffi"),"Testing effi",fEffiTest); const RVarDef vars[] = { // Move these into THcHallCSpectrometer using track fTracks -- GitLab