Skip to content
Snippets Groups Projects
Commit fc5470fa authored by Chenxi Fu's avatar Chenxi Fu
Browse files

空行

parent 74155cb2
No related branches found
No related tags found
1 merge request!26Amplifier定义与CalCurrent解耦合,增加Amplifier测试和ABCStar设计
...@@ -181,11 +181,12 @@ class Amplifier: ...@@ -181,11 +181,12 @@ class Amplifier:
def main(label): def main(label):
'''main function for readout.py to test the output of the given amplifier''' '''main function for readout.py to test the output of the given amplifier'''
my_th1f = ROOT.TH1F("my_th1f", "my_th1f", 200, 0, 10e-9) my_th1f = ROOT.TH1F("my_th1f", "my_th1f", 200, 0, 10e-9)
# input signal: square pulse # input signal: square pulse
for i in range(21, 41): for i in range(21, 41):
my_th1f.SetBinContent(i, 1e-5) my_th1f.SetBinContent(i, 1e-5)
ele = Amplifier([my_th1f], label) ele = Amplifier([my_th1f], label)
c=ROOT.TCanvas("c","canvas1",1000,1000) c=ROOT.TCanvas("c","canvas1",1000,1000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment