-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Splits ZVertexSoA into 2 layouts and wraps those in a multi layout co…
…llection. Removes versioning info from class description for dictionnaries. Ports comments from CUDA version.
- Loading branch information
Showing
22 changed files
with
242 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "DataFormats/Portable/interface/PortableHostCollectionReadRules.h" | ||
#include "DataFormats/VertexSoA/interface/ZVertexSoA.h" | ||
#include "DataFormats/VertexSoA/interface/ZVertexHost.h" | ||
|
||
SET_PORTABLEHOSTCOLLECTION_READ_RULES(PortableHostCollection<reco::ZVertexSoA>); | ||
SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES(ZVertexHostSoABase); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
<lcgdict> | ||
<class name="reco::ZVertexSoA"/> | ||
<class name="PortableHostCollection<reco::ZVertexSoA>"/> | ||
<class name="ZVertexHost" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1989784241"/> | ||
</class> | ||
<class name="reco::ZVertexLayout<128, false>"/> | ||
<class name="reco::ZVertexTracksLayout<128, false>"/> | ||
|
||
<!-- Recursive templates (with no data) ensuring we have one CollectionLeaf<index, type> for each layout in the collection --> | ||
<class name="portablecollection::CollectionImpl<0, reco::ZVertexLayout<128, false>, reco::ZVertexTracksLayout<128, false>>"/> | ||
<class name="portablecollection::CollectionImpl<1, reco::ZVertexTracksLayout<128, false>>"/> | ||
|
||
<!-- Recursive templates implementing the association of indices and layouts, and containing the data --> | ||
<class name="portablecollection::CollectionLeaf<0, reco::ZVertexLayout<128, false>>"/> | ||
<class name="portablecollection::CollectionLeaf<1, reco::ZVertexTracksLayout<128, false>>"/> | ||
|
||
<!-- Collection declaration for dictionary --> | ||
<!-- This alias to PortableHostCollection2<reco::ZVertexSoA, reco::ZVertexTracksSoA> is needed to use with the macro | ||
SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES, which needs the direct collection class --> | ||
<class name="ZVertexHostSoABase"/> | ||
<!-- This class inherits from the collection and needs to be serialized as well --> | ||
<class name="ZVertexHost"/> | ||
<!-- and the product wrapper, classically --> | ||
<class name="edm::Wrapper<ZVertexHost>" splitLevel="0"/> | ||
</lcgdict> | ||
</lcgdict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.