Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EICTrack
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIC
EICTrack
Commits
b7dcdb99
Commit
b7dcdb99
authored
Dec 21, 2018
by
David Blyth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
3d34b079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/EICTrack.cc
src/EICTrack.cc
+2
-4
No files found.
src/EICTrack.cc
View file @
b7dcdb99
...
...
@@ -229,11 +229,12 @@ void trackEvent(proio::Event *event, const int n_validate, genfit::KalmanFitter
return
seed_sort_param
[
a_id
]
>
seed_sort_param
[
b_id
];
};
// build tracks
while
(
available_obs
.
size
()
>=
n_validate
)
{
// build track seed
std
::
vector
<
uint64_t
>
track_obs
;
std
::
sort
(
available_obs
.
begin
(),
available_obs
.
end
(),
seed_sort_fn
);
// if (seed_sort_param[available_obs.back()] > 1) break;
// if (seed_sort_param[available_obs.back()] > 1) break;
// limit time window for seed hits
track_obs
.
push_back
(
available_obs
.
back
());
available_obs
.
pop_back
();
auto
current_id
=
track_obs
.
back
();
...
...
@@ -321,7 +322,6 @@ void trackEvent(proio::Event *event, const int n_validate, genfit::KalmanFitter
kernel_val
=
kernel
[
current_id
][
id
];
else
kernel_val
=
kernel
[
id
][
current_id
];
// std::cout << kernel_val << std::endl;
if
(
kernel_from_event
&&
kernel_val
<
0.1
)
{
break
;
}
...
...
@@ -335,7 +335,6 @@ void trackEvent(proio::Event *event, const int n_validate, genfit::KalmanFitter
id_lookup
[
track_point
]
=
id
;
track_point
->
setSortingParameter
(
seed_sort_param
[
id
]);
bool
order_changed
=
track
->
sort
();
// if (order_changed) std::cout << "reordered" << std::endl;
std
::
vector
<
genfit
::
AbsTrackRep
*>
all_reps
(
track
->
getTrackReps
());
std
::
vector
<
genfit
::
AbsTrackRep
*>
bad_reps
;
...
...
@@ -349,7 +348,6 @@ void trackEvent(proio::Event *event, const int n_validate, genfit::KalmanFitter
std
::
cerr
<<
e
.
what
()
<<
std
::
endl
;
}
double
pval
=
forwardPVal
(
track
,
rep
);
// std::cout << "pval: " << pval << std::endl;
if
(
pval
>
0.001
)
continue
;
bad_reps
.
push_back
(
rep
);
}
...
...
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