Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
raser
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RASER-TEAM
raser
Commits
74155cb2
Commit
74155cb2
authored
5 months ago
by
Chenxi Fu
Browse files
Options
Downloads
Patches
Plain Diff
readout.py main加注释
parent
fda01b2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!26
Amplifier定义与CalCurrent解耦合,增加Amplifier测试和ABCStar设计
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
elec/readout.py
+2
-0
2 additions, 0 deletions
elec/readout.py
with
2 additions
and
0 deletions
elec/readout.py
+
2
−
0
View file @
74155cb2
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment