Hello,

I think that the ParticleType is no longer the native type. See PFCandidate.h
ParticleType particleId() const { return translatePdgIdToType(pdgId_);}
F.