code for LAr Pixel detector