Well, if I add these lines I get the following error:

>> Compiling LCG dictionary: tmp/slc5_amd64_gcc472/src/DataFormats/Candidate/src/DataFormatsCandidate/a/xr.cc
DataFormatsCandidate/a/xr.cc: In function 'void {anonymous}::read___reco__Particle_0(char*, TVirtualObject*)':
DataFormatsCandidate/a/xr.cc:8303:20: error: request for member 'exchange' in 'p4Polar_', which is of pointer type 'math::PtEtaPhiMLorentzVector* {aka ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >*}' (maybe you meant to use '->' ?)

and using bare pointer doesn't help either since it gives back the object math::PtEtaPhiMLorentzVector which does not have exchange method.

On Nov 8, 2013, at ,Nov 8, 4:29 PM, Chris Jones <notifications@github.com> wrote:

> In DataFormats/Candidate/src/classes_def.xml:
> 
> >     <version ClassVersion="11" checksum="2698562380"/>
> >     <version ClassVersion="10" checksum="2605909260"/>
> >    </class>
> > -  <ioread sourceClass = "reco::Particle" version="[1-]" targetClass="reco::Particle" source = "" target="cachePolarFixed_">
> > -    <![CDATA[cachePolarFixed_ = false;]]>
> > -  </ioread>
> > -  <ioread sourceClass = "reco::Particle" version="[1-]" targetClass="reco::Particle" source = "" target="cacheCartesianFixed_">
> > -    <![CDATA[cacheCartesianFixed_ = false;]]>
> > -  </ioread>
> <ioread sourceClass = "reco::Particle" version="[1-]" targetClass="reco::Particle" source = "" target="p4Polar_">
>  <![CDATA[delete p4Polar_.exchange(nullptr, std::memory_order_acq_rel);]]>
> </ioread>
> The equivalent for p4Cartesian_
> 
> —
> Reply to this email directly or view it on GitHub.
>