replace weights()[0] with weight() in DelphesCMSFWLite.cpp