{"id":33760423,"url":"https://github.com/jeffersonlab/hcana","last_synced_at":"2026-03-10T10:02:55.443Z","repository":{"id":10225819,"uuid":"12325439","full_name":"JeffersonLab/hcana","owner":"JeffersonLab","description":"Hall C++ Analyzer","archived":false,"fork":false,"pushed_at":"2026-01-28T17:44:51.000Z","size":3674,"stargazers_count":10,"open_issues_count":17,"forks_count":129,"subscribers_count":47,"default_branch":"develop","last_synced_at":"2026-01-29T08:17:17.576Z","etag":null,"topics":[],"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/JeffersonLab.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-08-23T14:48:03.000Z","updated_at":"2026-01-28T17:49:01.000Z","dependencies_parsed_at":"2023-09-25T01:30:18.190Z","dependency_job_id":"c131179b-e180-44a0-a70c-0fddd1b9830b","html_url":"https://github.com/JeffersonLab/hcana","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/JeffersonLab/hcana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonLab%2Fhcana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonLab%2Fhcana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonLab%2Fhcana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonLab%2Fhcana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffersonLab","download_url":"https://codeload.github.com/JeffersonLab/hcana/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonLab%2Fhcana/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30329698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-12-05T10:04:24.054Z","updated_at":"2026-03-10T10:02:55.433Z","avatar_url":"https://github.com/JeffersonLab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"hcana - Hall C ROOT/C++ analyzer\n============================================\n\nhcana is an under-development tool to analyze data from the HMS, SHMS and\nSOS spectrometers in\n[Hall C](http://www.jlab.org/Hall-C/) at [JLab](http://www.jlab.org/).\nIt is being developed to replace\nthe historical Hall C analyzer, ENGINE, which was written in Fortran.\nhcana will be the package used to analyze Hall C data in the 12 GeV era.\nhcana is being written in C++, using the CERN ROOT framework.  hcana is\nan extension to the Hall A analyzer, PODD.\n\nNOTE: In the process of retrieving the hcana source code, a copy of\nthe Hall A PODD package will be downloaded.  The version of PODD included\nhas been slightly modified for use with hcana.  For an official version\nof PODD, see the [ROOT/C++ Analyzer for Hall A](https://redmine.jlab.org/projects/podd/wiki) page.\n\nDownloading\n-----------\n\nInstructions for downloading hcana can be found in the\n[Hall C Wiki](https://hallcweb.jlab.org/wiki/index.php/ROOT_Analyzer/Git).\n\nCompiling\n---------\nhcana may be compiled with either make or scons.  Switching between these\ntwo build systems make require some cleanup of dependency files, binary files\nand other autogenerated files.\n\nBefore compiling, type\n`source setup.sh` or `source setup.csh`\ndepending on whether your shell is bash or csh.\n\n### Compiling with scons\n\n```\nscons\n```\n\n### Additional SCons features \nTo do the equivalent of \"make clean\", do\n`scons -c`\nTo compile with debug capabilities, do\n`scons debug=1`\nTo compile the standalone codes the are part of podd, do\n`scons standalone=1`\nTo run cppcheck (if installed) on the Hall C src directory, do\n`scons cppcheck=1`\n\n### Compiling with CMake (experimental)\n\nDo the usual CMake setup\n\n```\nmkdir build\ncd build\ncmake -DCMAKE_INSTALL_PREFIX=$HOME/local/hcana ..\nmake -jN install\n```\n\nHere `$HOME/local/hcana` is an example installation destination;\nmodify as appropriate. You will need to add the `bin` and `lib[64]` sub-directories\nunder the installation prefix to your environment:\n\n```\nexport PATH=$HOME/local/hcana/bin:$PATH\nexport LD_LIBRARY_PATH=$HOME/local/hcana/lib64:$LD_LIBRARY_PATH\n```\n\nOn macOS, the library directory is usually simply `lib` instead of `lib64`.\n\nCMake does not yet support the SCons features \"standalone\" and \"cppcheck\".\n\nThe default CMake build type is \"RelWithDebInfo\", i.e. debug symbols are\nincluded in the binaries, but the code is optimized, which may cause the\ndebugger to act in a confusing way on occasion. To build a\nnon-optimized debug version, run CMake as follows:\n```\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME/local/hcana-dbg ..\nmake -jN install\n```\n\n### Compiling with make (deprecated)\n\n```\nmake [-jN]\n```\n\nRunning\n-------\nBasic instructions on how to run hcana are in the\n[Hall C Wiki](https://hallcweb.jlab.org/wiki/index.php/ROOT_Analyzer/Running).\n\nContributing\n------------\nTo participate in hcana code development, contact Mark Jones or Stephen Wood.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffersonlab%2Fhcana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffersonlab%2Fhcana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffersonlab%2Fhcana/lists"}