Skip to content

Commit

Permalink
Merge pull request #17367 from VinInn/TrackExtraPersistent
Browse files Browse the repository at this point in the history
make TrackExtra fully persistent because of FastSimPU
  • Loading branch information
davidlange6 authored Feb 1, 2017
2 parents 7fbbfe6 + 2cd4429 commit 76f0b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DataFormats/TrackReco/interface/TrackExtraBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class TrackExtraBase
edm::RefCore m_hitCollection;
unsigned int m_firstHit;
unsigned int m_nHits;
TrajParams m_trajParams; // Transient
Chi2sFive m_chi2sX5; // Transient chi2 * 5 chopped at 255 (max chi2 is 51)
TrajParams m_trajParams;
Chi2sFive m_chi2sX5; // chi2 * 5 chopped at 255 (max chi2 is 51)
};

}// namespace reco
Expand Down
8 changes: 4 additions & 4 deletions DataFormats/TrackReco/src/classes_def.xml
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,10 @@
]]>
</ioread>

<class name="reco::TrackExtraBase" ClassVersion="11">
<field name="m_trajParams" transient="true"/>
<field name="m_chi2sX5" transient="true"/>
<class name="reco::TrackExtraBase" ClassVersion="12">
<version ClassVersion="10" checksum="3548207838"/>
<version ClassVersion="11" checksum="3450798337"/>
<version ClassVersion="12" checksum="1846152141"/>
</class>
<ioread sourceClass = "reco::TrackExtraBase" version="[-10]" targetClass="reco::TrackExtraBase" source ="TrackingRecHitRefVector recHits_" target="m_hitCollection">
<![CDATA[m_hitCollection=onfile.recHits_.refVector().refCore();]]>
Expand All @@ -302,7 +301,8 @@
</ioread>


<class name="reco::TrackExtra" ClassVersion="13">
<class name="reco::TrackExtra" ClassVersion="14">
<version ClassVersion="14" checksum="388593738"/>
<version ClassVersion="13" checksum="2526033150"/>
<version ClassVersion="12" checksum="106004853"/>
<version ClassVersion="11" checksum="2586227274"/>
Expand Down

0 comments on commit 76f0b45

Please sign in to comment.