Skip to content

Commit 4a639b3

Browse files
gvolpe79shahor02
authored andcommitted
fix missing fitting of HV in HMPIDDCSProcessor
1 parent 9f26ea1 commit 4a639b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Detectors/HMPID/calibration/src/HMPIDDCSProcessor.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ std::unique_ptr<TF1> HMPIDDCSProcessor::finalizeHv(int iCh, int iSec)
708708
} else {
709709
(pHvTF).reset(new TF1(Form("HV%i%i", iCh, iSec), "[0]+x*[1]",
710710
hvFirstTime, hvLastTime));
711+
pGrHV->Fit(Form("HV%i%i", iCh, iSec), "Q"); // ef added
711712
}
712713
} else {
713714
LOGP(warn, "No entries in High Voltage for HV{}{}", iCh, iSec);

0 commit comments

Comments
 (0)