[X] Feature request (request for change which adds functionality)
Procedure
First run python/computeGainMap.py for an input detector following instructions here for each detector of interest,
Then fit the average, min, and max gain curves produced by computeGainMap.py with a TF1 where the TFormula used is: exp([0]*x+[1]) for each detector of interest.
Prepare a tab delimited text file where the first line is column headers and then subsequent lines are: PFN of output file from step 2, Det_SN for this file, and Detector_Name field (e.g. what you gave to the run config file),
Determine HV setpoint for a given average gain for each detector using python/HVSetPointCalculator.py
Please note that python/HVSetPointCalculator.py expects the exactTName format for the min, average, and max gain TF1 objects shown in configQC5_Eff_Gain_Short1_Imon_Comp.txt
Brief summary of issue
Need to add a subsection to the
README.md
for computing HV Setpoints usingpython/HVSetPointCalculator.py
.The subsection should probably go after Section 3.c.i or Section 3.c.ii
Types of issue
Procedure
python/computeGainMap.py
for an input detector following instructions here for each detector of interest,computeGainMap.py
with aTF1
where theTFormula
used is:exp([0]*x+[1])
for each detector of interest.Detector_Name
field (e.g. what you gave to therun config file
),python/HVSetPointCalculator.py
For step 2 above you can used the
genericPlotter
executable and this example config file: configQC5_Eff_Gain_Short1_Imon_Comp.txtInput file structure for step 3 above.
Example syntax for Step 4:
Please note that
python/HVSetPointCalculator.py
expects the exactTName
format for the min, average, and max gain TF1 objects shown in configQC5_Eff_Gain_Short1_Imon_Comp.txt