From 74155cb29f2b3cf5975a33dc68c20d80937f981d Mon Sep 17 00:00:00 2001
From: fuchenxi <1256257282@qq.com>
Date: Sun, 22 Sep 2024 23:14:59 +0800
Subject: [PATCH] =?UTF-8?q?readout.py=20main=E5=8A=A0=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 elec/readout.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elec/readout.py b/elec/readout.py
index 2d5235c..c46c6c3 100644
--- a/elec/readout.py
+++ b/elec/readout.py
@@ -180,6 +180,8 @@ class Amplifier:
             self.amplified_current[i].Scale(self.scale(output_Q_max, input_Q_tot))
 
 def main(label):
+    '''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)
     # input signal: square pulse
     for i in range(21, 41):
-- 
GitLab