Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NeuRad_tests
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
0
Merge Requests
0
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
Vratislav Chudoba
NeuRad_tests
Commits
1b0fa3c6
Commit
1b0fa3c6
authored
Jan 19, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unimportant fixes.
parent
ea9ac0f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
analyse.cpp
convertRawToAnalyzed/analyse.cpp
+1
-1
AEvent.cpp
dataClasses/AEvent.cpp
+5
-5
No files found.
convertRawToAnalyzed/analyse.cpp
View file @
1b0fa3c6
...
...
@@ -16,7 +16,7 @@ int main(int argc, char* argv[])
//to be extracted from the source as parameters
const
Int_t
noBranches
=
4
;
const
Double_t
cfRatio
=
0.7
;
const
Int
_t
cfTD
=
3
;
const
Double
_t
cfTD
=
3
;
Double_t
noiseMin
=
5
;
Double_t
noiseMax
=
25
;
...
...
dataClasses/AEvent.cpp
View file @
1b0fa3c6
...
...
@@ -64,7 +64,7 @@ void AEvent::ProcessEvent() {
SetGraphs
();
FindFrontProperties
();
SetGraphs
();
//
SetGraphs();
SetCFD
();
SetChargeCFD
();
...
...
@@ -132,14 +132,14 @@ void AEvent::SetGraphs() {
void
AEvent
::
SetCFD
()
{
Double_t
level
=
100.
;
//is necessary to find cfd amplitude value closest to zero
//
Double_t level = 100.; //is necessary to find cfd amplitude value closest to zero
Double_t
time
=
0
;
fGraphCFD
->
Set
(
fNPoints
);
//working variables
Double_t
maxCFD
=
0.
,
minCFD
=
0.
;
Double_t
TmaxCFD
=
0.
,
TminCFD
=
0.
;
Int_t
imax
=
0
,
imin
=
0
;
//
Int_t imax = 0, imin = 0;
const
Double_t
timeStep
=
0.05
;
for
(
Int_t
i
=
0
;
i
<
fNPoints
;
i
++
)
{
...
...
@@ -155,14 +155,14 @@ void AEvent::SetCFD() {
if
(
fAmpCFD
[
i
]
>
maxCFD
)
{
maxCFD
=
fAmpCFD
[
i
];
TmaxCFD
=
fTime
[
i
];
imax
=
i
;
//
imax = i;
}
//point for min CFD amplitude
if
(
fAmpCFD
[
i
]
<
minCFD
)
{
minCFD
=
fAmpCFD
[
i
];
TminCFD
=
fTime
[
i
];
imin
=
i
;
//
imin = i;
}
}
...
...
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