added last detector specific functions, charge, particles per bunch/shot, sig. and int. attenuation corrected, shunt, also worked on the plot function, seems working