Skip to content

sam-grant/EDM

Repository files navigation

**NOTE: refer to the run1_paper branch for recent updates.

Analysis code for the Run-1 muon EDM search

  • Base histograms are produced in ReadNTup

  • Compiled code is controlled by a custom Makefile (to run, type "make").

  • Header files CMacros/Utils.h and CMacros/FancyDraw.h contain some common fitting and plotting code, used by most of the .C files in EDM/CMacros.

  • The most important fitting code for the EDM is CMacros/BlindedEDMFitter.C and CMacros/BlindedEDMSimFitter.C, which both rely on CMacros/Utils.h.

  • The output from the fitters are taken by CMacros/GetTiltAngle.C, which applies corrections and calculates the tilt angle. This also prints results in .csv format.

  • Acceptance maps are produced by CMacros/AcceptanceMaps.C.

  • The acceptance correction, used in CMacros/GetTiltAngle.C, is calculated in CMacros/AcceptanceCorrection.C.

  • Toy radial magnetic field measurement self-contained in CMacros/ToyRadialFieldScan.C CMacros/ToyRadialFieldScan.h.

  • Radial magnetic field measurement fits are performed in CMacros/AnalyseBr_nearline.C.

  • The rest of the stuff here here is just plotting macros.