{"provider_name":"Hatena Blog","published":"2025-11-01 00:00:00","provider_url":"https://hatena.blog","width":"100%","url":"https://coffee-guhaw.hateblo.jp/entry/2025/11/01/000000","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","categories":["ROOT"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F11%2F01%2F000000\" title=\"\u3010ROOT\u3011\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u53d6\u308b\u3068\u304d\u306e\u30e1\u30e2 - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u3010ROOT\u3011\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u53d6\u308b\u3068\u304d\u306e\u30e1\u30e2","author_name":"coffee_kabu","type":"rich","blog_url":"https://coffee-guhaw.hateblo.jp/","image_url":null,"description":"\u307e\u305a\u306f\u3053\u3046\u3044\u3046\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u63cf\u3044\u3066\u307f\u308bTH1D *h1 = new TH1D(\"name\",\"title\",nbins,xmin,xmax); > \u63cf\u3044\u305f\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u306b\u95a2\u3059\u308b\u91cf\u3092\u4f7f\u3063\u3066\u3001\u3055\u3089\u306b\u8a08\u7b97\u3092\u3057\u305f\u3044 \u3069\u3093\u306a\u6570\u5b57\u304c\u4f7f\u3048\u308b\u304b\uff1f \u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u306e \u30d3\u30f3\u306e\u6570\u3084\u3001\u4e0a\u4e0b\u9650\u3092\u77e5\u308b\u306b\u306f\u3001 nxbins = h1->GetXaxis()->GetNbins(); xmin = h1->GetXaxis()->GetXmin(); xmax = h1->GetXaxis()->GetXmax(); \u307e\u305f\u3001\u30d3\u30f3\u306e\u4e2d\u5fc3\u5024\u3084\u3001\u30d3\u30f3\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306e\u6570\u3092\u77e5\u308b\u306b\u306f xc = h1->GetXaxis()->\u2026","version":"1.0","height":"190"}