Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neutron Multiplicity toolchain #245

Merged
merged 69 commits into from
Feb 17, 2024

Conversation

mnieslony
Copy link
Contributor

Three main new tools have been added:

  • SimpleReconstruction: simple MRD-reconstruction based muon vertex and energy reconstruction by backpropagation of muon track into the water tank
  • FindNeutrons: Find neutron candidates with simple cuts, add them to the Particles vector in the ANNIEEvent
  • NeutronMultiplicity: Combine muon and neutron information into neutron multiplicity related plots.

The ClusterClassifiers tool now also forwards the cluster total PE, cluster time, and cluster nhits. It also tags the prompt muon by looking for the cluster with the highest charge in the prompt window.

The EventSelector tool can now also filter for events with good beam condition and for events with extended readout windows.

Added EventOffset variable to LoadGenieEvent in case the genie file match is done in the config file.

NeutronMultiplicity toolchains have been added in configfiles/NeutronMultiplicity, alongside helpful bash scripts to run over many files.

More information on the additions & concepts of the tools in docDB entry 5224.

mnieslony and others added 30 commits January 9, 2023 13:07
Added README of FindNeutrons tool with relevant information
Added README with basic properties of SimpleReconstruction tool
Added README with description of properties of NeutronMultiplicity tool.
@jminock
Copy link
Contributor

jminock commented Sep 1, 2023

Hi Michael, just a question for the SimpleReconstruction Tool: what are the units for the vertices?

@mnieslony
Copy link
Contributor Author

Hi James, the units for the vertices should all be in meters. They are calculated in the standard ANNIE coordinate system centered in the center of the FMV, corresponding to a central water tank position of r_center ~ (0m, -0.144m, 1.681m).

@marc1uk
Copy link
Collaborator

marc1uk commented Feb 16, 2024

I'm not gonna let it hold this up as it's not particularly important, but the TGraphs constructed in NeutronMultiplicity::InitialiseHistograms should probably be cleaned up manually. The Histograms may not need manual cleanup as they may get owned by the file, but TGraphs by default don't.

@marc1uk marc1uk merged commit a70d570 into ANNIEsoft:Application Feb 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants