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
7610d054
Commit
7610d054
authored
Jan 16, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in application "ConvertRawToAnalyzed" solved.
parent
0cfd03a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
analyse.cpp
convertRawToAnalyzed/analyse.cpp
+6
-2
No files found.
convertRawToAnalyzed/analyse.cpp
View file @
7610d054
...
@@ -52,6 +52,10 @@ int main(int argc, char* argv[])
...
@@ -52,6 +52,10 @@ int main(int argc, char* argv[])
}
}
TFile
*
f
=
new
TFile
(
infiles
.
Data
());
TFile
*
f
=
new
TFile
(
infiles
.
Data
());
if
(
/*f == 0 || */
f
->
IsZombie
())
{
Error
(
"convertRawToAnalyzed"
,
"Input file was not opened. Program will be terminated"
);
return
2
;
}
TTree
*
tr
=
(
TTree
*
)
f
->
Get
(
"rtree"
);
TTree
*
tr
=
(
TTree
*
)
f
->
Get
(
"rtree"
);
TString
bName
;
TString
bName
;
...
@@ -88,7 +92,7 @@ int main(int argc, char* argv[])
...
@@ -88,7 +92,7 @@ int main(int argc, char* argv[])
wevent
[
j
]
->
ProcessEvent
();
//here all the analysis is going on so far
wevent
[
j
]
->
ProcessEvent
();
//here all the analysis is going on so far
}
}
if
(
!
(
i
%
100
)
)
{
printf
(
"Found event #%d
\n
"
,
i
);
}
if
(
!
(
i
%
100
)
)
{
printf
(
"Found event #%
ll
d
\n
"
,
i
);
}
tw
->
Fill
();
tw
->
Fill
();
}
}
...
@@ -98,5 +102,5 @@ int main(int argc, char* argv[])
...
@@ -98,5 +102,5 @@ int main(int argc, char* argv[])
tw
->
Write
();
tw
->
Write
();
fw
->
Close
();
fw
->
Close
();
return
1
;
return
0
;
}
}
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