DUNE / dune-tms

DUNE ND Temporary Muon Spectrometer
0 stars 2 forks source link

Add LAr shell energy and some other info #177

Closed jdkio closed 6 days ago

jdkio commented 3 weeks ago

For the ND physics sample, we want to check the amount of hadronic energy in the 30cm outer shell of the LAr's active region. We consider an event hadronically contained if that total is < 30 MeV. See distribution below. In this test sample, 2531 interactions pass cut vs 4654 fail, meaning only 35% pass. The parameters of the LAr active volume as well as shell thickness are configurable in the config file. It's up to the user to cut on the new variable LArOuterShellEnergyFromVertex. The vertex used in the calculation is the vertex which had the most visible energy in the TMS, aka the primary vertex.

distribution

There were also off-by-one issues in the vertex index in the new Microprod files which this PR fixes.

Also:

AsaNehm commented 1 week ago

As far as I understand the changes in TMS_Reco than the difference is only the time slicing part is moved to a different file, which should not interfere with the pattern recognition. So makes sense to me

jdkio commented 6 days ago

I'm merging this now