Francesca's modifications applied on the SiPixelMonitorDigi package.