Skip to content

Commit 1487771

Browse files
committed
Need to declare a member variable transient for AssociationMaps
The storage specification for susybsm::TracksEcalRecHitsMap was missing a required transient declartion for the member variable transientMap_. Without that declaration, it is impossible for ROOT to create a StreamerInfo for the class and therefore impossible to read/write instances of the class.
1 parent d1f6159 commit 1487771

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AnalysisDataFormats/SUSYBSMObjects/src/classes_def.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
<class name="susybsm::HSCParticleRefProd"/>
1111
<class name="susybsm::HSCParticleRefVector"/>
1212
<class name="edm::Wrapper<susybsm::HSCParticleCollection>"/>
13-
<class name="susybsm::TracksEcalRecHitsMap"/>
13+
<class name="susybsm::TracksEcalRecHitsMap">
14+
<field name="transientMap_" transient="true"/>
15+
</class>
1416
<class name="edm::Wrapper<susybsm::TracksEcalRecHitsMap>"/>
1517
<class name="susybsm::HSCPIsolation" ClassVersion="10">
1618
<version ClassVersion="10" checksum="3676296078"/>

0 commit comments

Comments
 (0)