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
ddc88a08
Commit
ddc88a08
authored
Oct 17, 2016
by
Kostyleva D.A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing output file with energies
parent
148058d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AculCalibration.cpp
AculData/AculCalibration.cpp
+1
-1
AculCalibration.h
AculData/AculCalibration.h
+2
-2
No files found.
AculData/AculCalibration.cpp
View file @
ddc88a08
...
@@ -1118,7 +1118,7 @@ void AculCalibration::FindEnergyPeaks(TCanvas *c1, const char* ifile, const char
...
@@ -1118,7 +1118,7 @@ void AculCalibration::FindEnergyPeaks(TCanvas *c1, const char* ifile, const char
PeaksFitting
(
hWork
);
PeaksFitting
(
hWork
);
hWork
->
Draw
();
hWork
->
Draw
();
ofile
<<
hWork
->
GetName
()
<<
"
\t
"
<<
fPeak
[
0
]
<<
"
\t
"
<<
fPeak
[
1
]
<<
"
\t
"
<<
fPeak
[
2
]
<<
"
\t
"
<<
fPeak
[
3
]
<<
endl
;
ofile
<<
i
<<
"
\t
"
<<
fPeak
[
0
]
<<
"
\t
"
<<
fPeak
[
1
]
<<
"
\t
"
<<
fPeak
[
2
]
<<
"
\t
"
<<
fPeak
[
3
]
<<
endl
;
}
}
...
...
AculData/AculCalibration.h
View file @
ddc88a08
...
@@ -146,7 +146,7 @@ public:
...
@@ -146,7 +146,7 @@ public:
// blockmax: maximum block data are displayed for
// blockmax: maximum block data are displayed for
Bool_t
CalculateCalibParameters
(
const
char
*
inputfile
,
const
char
*
block
,
Bool_t
CalculateCalibParameters
(
const
char
*
inputfile
,
const
char
*
block
,
/*const Int_t address,*/
const
char
*
treename
,
Int_t
lowerchannel
=
0
,
const
char
*
treename
,
Int_t
lowerchannel
=
0
,
Int_t
upperchannel
=
4095
,
Int_t
nEBins
=
1000
,
Int_t
lowersubaddress
=
0
,
Int_t
upperchannel
=
4095
,
Int_t
nEBins
=
1000
,
Int_t
lowersubaddress
=
0
,
Int_t
uppersubaddress
=
ADDRESSNUMBER
-
1
);
//calculate calibration parameters for given block in given file
Int_t
uppersubaddress
=
ADDRESSNUMBER
-
1
);
//calculate calibration parameters for given block in given file
...
@@ -178,7 +178,7 @@ public:
...
@@ -178,7 +178,7 @@ public:
void
CalibrateRawSpectra
(
const
char
*
inputfile
,
const
char
*
block
,
/*const Int_t address,*/
const
char
*
treename
,
Int_t
lowerchannel
=
0
,
Int_t
upperchannel
=
4095
,
Int_t
nEBins
=
1000
,
Int_t
lowersubaddress
=
0
,
Int_t
uppersubaddress
=
ADDRESSNUMBER
-
1
);
void
CalibrateRawSpectra
(
const
char
*
inputfile
,
const
char
*
block
,
const
char
*
treename
,
Int_t
lowerchannel
=
0
,
Int_t
upperchannel
=
4095
,
Int_t
nEBins
=
1000
,
Int_t
lowersubaddress
=
0
,
Int_t
uppersubaddress
=
ADDRESSNUMBER
-
1
);
void
FindEnergyPeaks
(
TCanvas
*
c1
,
const
char
*
ifile
,
const
char
*
outfile
);
void
FindEnergyPeaks
(
TCanvas
*
c1
,
const
char
*
ifile
,
const
char
*
outfile
);
// const char* inputfile, const char* block,
// const char* inputfile, const char* block,
...
...
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