{"id":18409305,"url":"https://github.com/sdtelectronics/rootmacros","last_synced_at":"2025-07-05T11:35:34.645Z","repository":{"id":105561314,"uuid":"250538613","full_name":"SdtElectronics/RootMacros","owner":"SdtElectronics","description":"CERN Root Macros For Visualization and Discrete Data Analysis","archived":false,"fork":false,"pushed_at":"2020-04-16T14:27:16.000Z","size":641,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T05:16:05.662Z","etag":null,"topics":["root-cern"],"latest_commit_sha":null,"homepage":null,"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/SdtElectronics.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":"2020-03-27T13:15:14.000Z","updated_at":"2020-04-16T14:27:19.000Z","dependencies_parsed_at":"2024-03-25T09:15:11.865Z","dependency_job_id":null,"html_url":"https://github.com/SdtElectronics/RootMacros","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SdtElectronics%2FRootMacros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SdtElectronics%2FRootMacros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SdtElectronics%2FRootMacros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SdtElectronics%2FRootMacros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SdtElectronics","download_url":"https://codeload.github.com/SdtElectronics/RootMacros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637832,"owners_count":21137538,"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","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":["root-cern"],"created_at":"2024-11-06T03:24:35.926Z","updated_at":"2025-04-12T21:51:39.484Z","avatar_url":"https://github.com/SdtElectronics.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CERN Root Macros\nMacros For Visualization and Discrete Data Analysis On [CERN Root](https://root.cern/)\n\n## Demos\n\n### util.h\n---\nUtilities for plotting ＆ helper functions, etc. Include to access all macros available in this project.\n\n#### DrawP()\n`shared_ptr\u003cT\u003e* DrawP(shared_ptr\u003cT\u003e objPtr, const char* opt = nullptr)`\n\n\n### stemP.cc\n---\nDraw functions with stem plot style.\n\n#### stemP()\n\n`std::shared_ptr\u003cTGraphAsymmErrors\u003e stemP(const TF1\u0026 func, const char* opt = \"aps\", double ll = 0, double ul = 0)`\n\nParameters\n\n* func Function plotted\n* opt Draw options  ***For TGraph***\n* lo Minimum value on X axis\n* ul Maximum value on X axis\n![Sa Function plotted by stemP](https://github.com/SdtElectronic/RootMacros/blob/master/ScrShot/sa.png \"stemP Demo\")\n\n`DrawP(stemP(TF1(\"sa\", \"sin(x)/(x)\", -12, 12)))`\n\n### intP.cc\n---\nCreate a TF1 which is the integral of a function.\n\n#### intP()\n\n![integral of gaus function](https://github.com/SdtElectronic/RootMacros/blob/master/ScrShot/intP.png \"intP Demo\")\n\n### FFTP.cc\n---\n\n#### class TFFT\n\n![FFT of sine function](https://github.com/SdtElectronic/RootMacros/blob/master/ScrShot/FFT.png \"FFT Demo\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdtelectronics%2Frootmacros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdtelectronics%2Frootmacros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdtelectronics%2Frootmacros/lists"}