Fix on the comsicPhotonAnalyzer