Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keerthi Nakkalil
gain_measurement
Commits
f89dde2b
Commit
f89dde2b
authored
Mar 12, 2021
by
Keerthi Nakkalil
Browse files
Works for all the 16 files with weird peaks
parent
1bfa1979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Trim_dac_scan/trimdac_scan.cpp
View file @
f89dde2b
...
...
@@ -23,7 +23,7 @@ void trimdac_scan(){
TCanvas
*
c1
=
new
TCanvas
();
THStack
*
hs
=
new
THStack
(
"hs"
,
"Trim dac scan"
);
for
(
int
ctr
=
0
;
ctr
<
1
7
;
ctr
++
){
for
(
int
ctr
=
0
;
ctr
<
1
6
;
ctr
++
){
std
::
ifstream
datafile
(
filenames
.
at
(
ctr
).
c_str
());
std
::
string
histo_name
=
"h"
+
filenames
.
at
(
ctr
);
TH1D
*
h1
=
new
TH1D
(
histo_name
.
c_str
(),
"Trim dac scan"
,
175
,
950
,
1300
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment