{"id":21987031,"url":"https://github.com/marcodeltutto/evtwgtanalysis","last_synced_at":"2025-10-16T22:35:04.502Z","repository":{"id":68609049,"uuid":"54927236","full_name":"marcodeltutto/EvtWgtAnalysis","owner":"marcodeltutto","description":"Code to study GENIE model uncertainties at MicroBooNE.","archived":false,"fork":false,"pushed_at":"2016-07-01T09:42:36.000Z","size":385,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T02:28:20.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcodeltutto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-28T22:13:05.000Z","updated_at":"2016-04-03T03:05:25.000Z","dependencies_parsed_at":"2023-03-06T08:30:26.093Z","dependency_job_id":null,"html_url":"https://github.com/marcodeltutto/EvtWgtAnalysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcodeltutto/EvtWgtAnalysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodeltutto%2FEvtWgtAnalysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodeltutto%2FEvtWgtAnalysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodeltutto%2FEvtWgtAnalysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodeltutto%2FEvtWgtAnalysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcodeltutto","download_url":"https://codeload.github.com/marcodeltutto/EvtWgtAnalysis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodeltutto%2FEvtWgtAnalysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274447536,"owners_count":25287113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T18:26:43.916Z","updated_at":"2025-10-16T22:35:04.426Z","avatar_url":"https://github.com/marcodeltutto.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EvtWgtAnalysis\nCode to study GENIE model uncertainties at MicroBooNE.\n\n##Compile\n\n```\ncd AnaTree\nroot -l\n\u003e .L AnaBNB.C+\n\u003e .q\ncd ..\nroot -l\n\u003e gSystem-\u003eLoad(\"AnaTree/AnaBNB_C.so\");\n\u003e .L EvtWgtAnalysis.cxx+\n```\n\n\n\n##Run\n\nIt works with `root v5_34_32`.\n\n```\nsource SetupEvtWgtAnalysis.sh\n\nroot -l\n\u003e gSystem-\u003eLoad(\"AnaTree/AnaBNB_C.so\");\n\u003e gSystem-\u003eLoad(\"EvtWgtAnalysis_cxx.so\");\n\u003e EvtWgtAnalysis f(\"generic_*_to_anatree.root\");\n\u003e f.MakeBackgroundPlots();\n```\n\nTo make the Number of Events or efficiency plots:\n```\n\u003e f.MakePlots(false, option);\n```\n\nwhere `option` is an `integer`:\n- `option=0`: efficiency - Pmu\n- `option=1`: efficiency - CosThetaMu\n- `option=2`: events - Pmu\n- `option=3`: events - CosThetaMu\n\nChange `false` to `true` to have area normalized plots.\n\n\nTo make the plots that show the events after the selection and the background decomposition:\n```\n\u003e f.MakeBackgroundPlots(option)\n```\n\nwhere `option` is an `integer`:\n- `option=0`: as a function of Pmu\n- `option=1`: as a function of CosThetaMu\n\nTo make the plots that show the cross-section percental difference:\n```\n\u003e f.MakeXsecDiffPlots()\n```\n\n\n##Generate new AnaBNB_C.so \n\nChange file path in makeClass.C first, then:\n\n```\ncd AnaTree\nroot -l makeClass.C\nroot -l\n\u003e .L AnaBNB.C+\n```\n\n\n## Production\n\nProduced files are in `/uboone/data/users/mdeltutt/EventWeight/`.\nMerged root anatree files with event weights for _all_ GENIE parameters calculated with +-1 sigma:\n\n* standard_reco_hist_merged_all_5.root\n* standard_reco_hist_merged_all_6.root\n* standard_reco_hist_merged_all_7.root (with nutools fix)  1.209150e+20 POT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodeltutto%2Fevtwgtanalysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcodeltutto%2Fevtwgtanalysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodeltutto%2Fevtwgtanalysis/lists"}