Skip to content
/ MDT Public
forked from akutsuR/MDT

C++ Stand-alone Codes for Merging, Digitizing, and Triggering PMT hits

Notifications You must be signed in to change notification settings

WCTE/MDT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDT

C++ Stand-alone library for Merging, Digitizing, and Triggering hits of photomultiplier tubes (PMTs) based on WCSim. A Python interface is optionally provided, requiring pre-installation of pybind11.

The library provides C++ classes that manage three tasks:

  • Merging true hits (simulated photoelectrons by WCSim) of an events with those of any number of events
    • Intrinsic dark noise can be added during this stage
  • Digitizing true hits
    • Timing and charge of a digitized hit is simulated by a simple model used in WCSim
    • The library is capable of accomodating alternative models
    • Parameters describing PMT charcteristics such as timing resolution can be varied
    • Digitized hits by PMT afterpusing can be added
  • Triggering digitized hits
    • A simple algorithm that counts number of digitized hits falling in a sliding time winodw
    • Selectable trigger window and thershold

WCTE/WCSim usage

Simple runtime procedures. First set up your ROOT and WCSIM:

source your_thisroot.sh
export WCSIMDIR=your_WCSIM_installation

Then set up the MDT environment.

source envMDT.sh
cd $MDTROOT/cpp; make clean; make all
cd $MDTROOT/app/utilities/WCRootData; make clean; make all
cd $MDTROOT/app/application; make appWCTESingleEvent
cd $MDTROOT
# edit variables properly in run_test_mdt4wcte.sh
bash run_test_mdt4wcte.sh

About

C++ Stand-alone Codes for Merging, Digitizing, and Triggering PMT hits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.7%
  • C 4.3%
  • Shell 3.1%
  • Makefile 1.7%
  • Python 1.2%