Skip to content

DUNE/MaCh3_DUNE

Repository files navigation

MaCh3_DUNE

MaCh3 Build

Dependencies

  • CMake (version > 3.8).
  • MaCh3 Core tag: DUNECore2024 (To be used until the core version currently being developped gets integrated with MaCh3 DUNE)
  • ROOT (currently tested on 6.18)

CMake

mkdir MaCh3_DUNE
git clone [email protected]:DUNE/MaCh3_DUNE.git
cd MaCh3_DUNE

Now setup some dependencies and then actually build MaCh3_DUNE

# For clusters with access to CVMFS
source setup_dune_env.sh
mkdir build;
cd build

Optional flags are described briefly below, options are shown grouped by square brackets and delimited by vertical lines. Default is on the left.

cmake .. -DGPU_ENABLED=[OFF|ON] -DUSE_PROB3=[OFF|ON] -DSINGLE_THREAD_ONLY=[OFF|ON] -DDEBUG_ENABLED=[OFF|ON] 
make

A few notes: CUDA_SAMPLES not necessary if using CPU_ONLY=ON

If you want to simultaneously develop both the MaCh3 core code and the MaCh3 DUNE code then you can build against a local version of MaCh3 by adding:

-DCPM_MaCh3_SOURCE=/path/to/MaCh3/folder

This will overrule the CPMFindPackage command in the CMakeList.txt and will tell CPM to build that instead.

Event Rates

Once you've got setup you'll then need to setup some symlinks to point to your MC and spline files. You can do this by modifying scripts/link_files.sh script. You'll need to change the FILESDIR variable to point to the relevant folder on your machine. The places these files currently live are listed here:

Imperial College London lx:

/vols/dune/ljw20/

FNAL cluster:

/dune/data/users/lwarsame

ComputeCanada Cedar:

/scratch/liban

NERSC Perlmutter:

/pscratch/sd/l/lwarsame

CVMFS:

/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v2

Current (Feburary 2024) FD event rates using DUNE FD TDR inputs are below (ND is still under-development). These are made using xsec systematics at their prior central value. Oscillation parameter values used here are:

Oscillation Parameter Values

Parameter Value Unit
sin²θ₁₂ 0.307 -
sin²θ₂₃ 0.52 -
sin²θ₁₃ 0.0218 -
Δm²₃₂ 7.53 × 10⁻⁵ eV²
Δm²₁₂ 2.509 × 10⁻³ eV²
δCP -1.601 radians

Nominal Integrated Event rates

Type Unoscillated Oscillated
FHC νμ 25941.57467 7977.36421
FHC νe 390.85150 1698.28079
RHC νμ 12492.61743 4217.78765
RHC νe 208.31873 447.09673