Directivity function of muon detector