-
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.
Move PF rechit read rules to classes_serial.cc
Move the ROOT read rules for the PF rechits SoA host collections from classes_serial_def.xml to classes_serial.cc.
- Loading branch information
Showing
2 changed files
with
22 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitHostCollection.h" | ||
#include "DataFormats/ParticleFlowReco/interface/PFClusterHostCollection.h" | ||
#include "DataFormats/ParticleFlowReco/interface/PFRecHitFractionHostCollection.h" | ||
#include "DataFormats/ParticleFlowReco/interface/PFRecHitHostCollection.h" | ||
#include "DataFormats/Portable/interface/PortableHostCollectionReadRules.h" | ||
|
||
SET_PORTABLEHOSTCOLLECTION_READ_RULES(reco::CaloRecHitHostCollection); | ||
SET_PORTABLEHOSTCOLLECTION_READ_RULES(reco::PFClusterHostCollection); | ||
SET_PORTABLEHOSTCOLLECTION_READ_RULES(reco::PFRecHitFractionHostCollection); | ||
SET_PORTABLEHOSTCOLLECTION_READ_RULES(reco::PFRecHitHostCollection); |
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,65 +1,29 @@ | ||
<lcgdict> | ||
<class name="reco::CaloRecHitSoA"/> | ||
<class name="reco::CaloRecHitSoA::View"/> | ||
<class name="reco::CaloRecHitHostCollection"/> | ||
<read | ||
sourceClass="reco::CaloRecHitHostCollection" | ||
targetClass="reco::CaloRecHitHostCollection" | ||
version="[1-]" | ||
source="reco::CaloRecHitSoA layout_;" | ||
target="buffer_,layout_,view_" | ||
embed="false"> | ||
<![CDATA[ | ||
reco::CaloRecHitHostCollection::ROOTReadStreamer(newObj, onfile.layout_); | ||
]]> | ||
</read> | ||
<class name="reco::CaloRecHitHostCollection" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1876594952"/> | ||
</class> | ||
<class name="edm::Wrapper<reco::CaloRecHitHostCollection>" splitLevel="0"/> | ||
|
||
<class name="reco::PFRecHitSoA"/> | ||
<class name="reco::PFRecHitSoA::View"/> | ||
<class name="reco::PFRecHitHostCollection"/> | ||
<read | ||
sourceClass="reco::PFRecHitHostCollection" | ||
targetClass="reco::PFRecHitHostCollection" | ||
version="[1-]" | ||
source="reco::PFRecHitSoA layout_;" | ||
target="buffer_,layout_,view_" | ||
embed="false"> | ||
<![CDATA[ | ||
reco::PFRecHitHostCollection::ROOTReadStreamer(newObj, onfile.layout_); | ||
]]> | ||
</read> | ||
<class name="reco::PFRecHitHostCollection" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1936051484"/> | ||
</class> | ||
<class name="edm::Wrapper<reco::PFRecHitHostCollection>" splitLevel="0"/> | ||
|
||
<class name="reco::PFClusterSoA"/> | ||
<class name="reco::PFClusterSoA::View"/> | ||
<class name="reco::PFClusterHostCollection"/> | ||
<read | ||
sourceClass="reco::PFClusterHostCollection" | ||
targetClass="reco::PFClusterHostCollection" | ||
version="[1-]" | ||
source="reco::PFClusterSoA layout_;" | ||
target="buffer_,layout_,view_" | ||
embed="false"> | ||
<![CDATA[ | ||
reco::PFClusterHostCollection::ROOTReadStreamer(newObj, onfile.layout_); | ||
]]> | ||
</read> | ||
<class name="reco::PFClusterHostCollection" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1232566394"/> | ||
</class> | ||
<class name="edm::Wrapper<reco::PFClusterHostCollection>" splitLevel="0"/> | ||
|
||
<class name="reco::PFRecHitFractionSoA"/> | ||
<class name="reco::PFRecHitFractionSoA::View"/> | ||
<class name="reco::PFRecHitFractionHostCollection"/> | ||
<read | ||
sourceClass="reco::PFRecHitFractionHostCollection" | ||
targetClass="reco::PFRecHitFractionHostCollection" | ||
version="[1-]" | ||
source="reco::PFRecHitFractionSoA layout_;" | ||
target="buffer_,layout_,view_" | ||
embed="false"> | ||
<![CDATA[ | ||
reco::PFRecHitFractionHostCollection::ROOTReadStreamer(newObj, onfile.layout_); | ||
]]> | ||
</read> | ||
<class name="reco::PFRecHitFractionHostCollection" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="2181211668"/> | ||
</class> | ||
<class name="edm::Wrapper<reco::PFRecHitFractionHostCollection>" splitLevel="0"/> | ||
</lcgdict> |