CDMS Detector Monte Carlo Group at Texas a&M



How-To Run the DMC and CDMSbats on Brazos

Richard Lawrence, Jorge Morales, David Toback, Katrina Colletti (Aug 2014 - Aug 2016)
DMC Production
The process of running DMC jobs, and running cdmsbats on DMC simulated data is called DMC Production. This page is intended to give how-to instructions on using the Brazos cluster to perform DMC Production so that an unfamiliar user can do it easily and understand what they're doing.
The instructions printed here should be equivalent to the Readme.md document in the DMC Production Git repository and the MitchComp CDMS Getting Started guide.
Send any questions/concerns to Richard Lawrence (rarensu AT physics . tamu . edu).


Steps to Running on the Brazos cluster

Planned: link up a table of contents.

Overview
DMC Production is a sequence of several code executions.
  1. SuperSIM
  2. A simulation of how an incoming particle would scatter or be absorbed by the detector crystal, resulting in energy deposited. SuperSIM is usually handled by another team.
  3. Detector Monte Carlo
  4. A simulation of the detector crystal response to an energy deposit, resulting in a current output to the hardware. There are two projects for handling this step; MATLAB and GEANT4. This guide covers the use of MATLAB DetectorMC. It includes a standalone module named TES ODE written in python.
  5. Preprocessing
  6. The current output of MATLAB DetectorMC needs to be put into the standard format for CDMS data. In the future, this step will also add noise if so desired.
  7. Processing (cdmsbats)
  8. The code humorously named cdmsbats, which is run on both monte carlo and real data, attempts to estimate the energy in an event and labels events for selection by analysis teams.

Getting Started and Software Setup
Instructions:
Recommendations
DMC Production package
The source and Readme are found in the DMCProd Git repository.
>$ cd /fdata/hepx/store/user/<username>/DMC
>$ git clone --recursive nero:/data/git/DMC/DMCProd.git
>$ mkdir /fdata/hepx/store/user/<username>/DMC/DMCProd/checkuptools/jobcheck
      
CDMS Bats
This step should be equivalent to the MitchComp CDMS Bats setup guide, section I. The source is found in the cdmsbats Git repository
MATLAB Detector MC
This step should be equivalent to the Readme in the DetectorMC Git repository. Matlab is already installed on all Brazos nodes, however, you must load the module by hand.
TES ODE (more Detector MC)
The source is found in the TES_ODE Git repository.
>$ cd /fdata/hepx/store/user/<username>/DMC/Code
>$ git clone --recursive nero:/data/git/DMC/TES_ODE.git
      
Preprocessing
The source is found in the DMC Pre Bats Git repository. However, the Readme isn't exactly what we need. The steps to follow will come later.
>$ cd /fdata/hepx/store/user/<username>/DMC/Code
>$ git clone --recursive nero:/data/git/DMC/DMCPreBats.git
      
DMC Production Inputs
The source is found in the DMC Prod Inputs Git repository. This contains, among other things, the SuperSIM inputs created by other teams.

Running Production
Aaaand I am done for the day.