Deflection monitoring method using fiber bragg gratings applied to tracking particle detectors