Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AculUtils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AccullinaGroup
AculUtils
Commits
51b9c968
Commit
51b9c968
authored
Oct 26, 2016
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commentaries in parameter file possible.
parent
fa30d6f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
AculCalPars.h
AculCalib/AculCalPars.h
+1
-0
AculCalParsScint.cpp
AculCalib/AculCalParsScint.cpp
+8
-0
SQ13Alpha.par
macros/myMacros/SQ13Alpha.par
+5
-2
No files found.
AculCalib/AculCalPars.h
View file @
51b9c968
...
@@ -28,6 +28,7 @@ protected:
...
@@ -28,6 +28,7 @@ protected:
TString
fParFileName
;
TString
fParFileName
;
//todo energies used for calibration should be in this class
//todo energies used for calibration should be in this class
//CsI parameters
//CsI parameters
...
...
AculCalib/AculCalParsScint.cpp
View file @
51b9c968
...
@@ -75,6 +75,10 @@ void AculCalParsScint::SetPars() {
...
@@ -75,6 +75,10 @@ void AculCalParsScint::SetPars() {
fFilePars
.
resize
(
fNoFiles
);
fFilePars
.
resize
(
fNoFiles
);
for
(
Int_t
j
=
0
;
j
<
fNoFiles
;
j
++
)
{
for
(
Int_t
j
=
0
;
j
<
fNoFiles
;
j
++
)
{
line
.
ReadLine
(
infile
);
line
.
ReadLine
(
infile
);
if
(
line
.
BeginsWith
(
"#"
)
||
line
.
BeginsWith
(
"//"
)
)
{
j
--
;
continue
;
}
sscanf
(
line
,
"%s"
,
fname
);
sscanf
(
line
,
"%s"
,
fname
);
word
=
fname
;
word
=
fname
;
fFilePars
[
j
].
SetRawFileName
(
fname
);
fFilePars
[
j
].
SetRawFileName
(
fname
);
...
@@ -89,6 +93,10 @@ void AculCalParsScint::SetPars() {
...
@@ -89,6 +93,10 @@ void AculCalParsScint::SetPars() {
fCutsFileName
=
fname
;
fCutsFileName
=
fname
;
for
(
Int_t
j
=
0
;
j
<
fNoCuts
;
j
++
)
{
for
(
Int_t
j
=
0
;
j
<
fNoCuts
;
j
++
)
{
line
.
ReadLine
(
infile
);
line
.
ReadLine
(
infile
);
if
(
line
.
BeginsWith
(
"#"
)
||
line
.
BeginsWith
(
"//"
)
)
{
j
--
;
continue
;
}
sscanf
(
line
,
"%s"
,
cname
);
sscanf
(
line
,
"%s"
,
cname
);
fCutName
.
push_back
(
cname
);
fCutName
.
push_back
(
cname
);
}
}
...
...
macros/myMacros/SQ13Alpha.par
View file @
51b9c968
energies 4 #number of energy points
energies 4 #number of energy points
crystals 16 #number of crystals in detector
crystals 16 #number of crystals in detector
files 4
files 4
#fileID fileName
data/csi_13_Ealpha16.root
data/csi_13_Ealpha16.root
data/csi_13_Ealpha21.root
data/csi_13_Ealpha21.root
data/csi_13_Ealpha26.root
data/csi_13_Ealpha26.root
...
@@ -9,15 +10,17 @@ data/csi_13_Ealpha30.root
...
@@ -9,15 +10,17 @@ data/csi_13_Ealpha30.root
cutFile cuts/cutsSQ13Alpha.root 8
cutFile cuts/cutsSQ13Alpha.root 8
cutsSQ13Alpha16
cutsSQ13Alpha16
cutSQ13Alpha21
cutSQ13Alpha21
#
cutSQ13Alpha26
cutSQ13Alpha26
cutSQ13Alpha30
cutSQ13Alpha30
#
cutSQ13Alpha16Amp
cutSQ13Alpha16Amp
cutSQ13Alpha21Amp
cutSQ13Alpha21Amp
cutSQ13Alpha26Amp
cutSQ13Alpha26Amp
cutSQ13Alpha30Amp
cutSQ13Alpha30Amp
#detector particle
#
keyword
detector particle
detector SQ13 Alpha
detector SQ13 Alpha
#energy [MeV/A]
#
keyword
energy [MeV/A]
energy 66.542
energy 66.542
#channel minimum maximum
#channel minimum maximum
0 650 830
0 650 830
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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