Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
8974b5f3
Commit
8974b5f3
authored
8 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
add doc and prev/nextLaye to NeighbourSurfacesStruct
parent
d4a23eb4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDRec/include/DDRec/DetectorData.h
+17
-3
17 additions, 3 deletions
DDRec/include/DDRec/DetectorData.h
with
17 additions
and
3 deletions
DDRec/include/DDRec/DetectorData.h
+
17
−
3
View file @
8974b5f3
...
...
@@ -447,12 +447,26 @@ namespace DD4hep {
std
::
ostream
&
operator
<<
(
std
::
ostream
&
io
,
const
LayeredCalorimeterData
&
d
)
;
/** holds maps of nearest neighbour surfaces in the same and next (inner/outer ?) layer
* of a tracking detector...
/** Simple data strucuture that holds maps of ids of the nearest neighbour surfaces in the same, next and previous layers
* of a tracking detector. Could be used as extension object for tracking DetectorElements and used in
* pattern recognition. The exact details of the neighbouring criteria depend on the algorithm that is used.
*
* @author F.Gaede, DESY, R. Simoniello, CERN
* @date Dec, 15 2016
*/
struct
NeighbourSurfacesStruct
{
/// map of all neighbours in the same layer
std
::
map
<
DD4hep
::
long64
,
std
::
vector
<
DD4hep
::
long64
>
>
sameLayer
;
/* std::map<DD4hep::long64 , std::vector<DD4hep::long64 > > nextLayer ; */
/// map of all neighbours in the previous layer
std
::
map
<
DD4hep
::
long64
,
std
::
vector
<
DD4hep
::
long64
>
>
prevLayer
;
/// map of all neighbours in the next layer
std
::
map
<
DD4hep
::
long64
,
std
::
vector
<
DD4hep
::
long64
>
>
nextLayer
;
}
;
typedef
StructExtension
<
NeighbourSurfacesStruct
>
NeighbourSurfacesData
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment