This repository holds .C files with CMake Makefiles to build an application which simulates and visualises the signal outputs of MWPC, a gaseous particle detector developed at CERN. Four configurations are presented with different numbers of layers and cathode architectures (foils vs. wires).
The program runs on Garfield++, which requires C++, CMake, GNU tools, and ROOT. OpenMP is optional for accelerating the simulation (remove OpenMP requirement from CMakeLists.txt if you wish to not use it). You can either install Garfiled++ or build it from source by following this Garfield++ User Guide, "Chapter 2 - Getting Started" or from here.
More information about Garfield++, dependencies, and build system can be found below:
- Garfield++: Home, GitLab
- CMake: Basic CMake, Documentation
- ROOT: Dependencies, Installing ROOT, Building ROOT from source, Documentation
- GNU tools: Documentation
- OpenMP: Documentation
On the last plot, orange represents the induced current in one of the two anode sensing wire planes due to electron drifts, red represents the induced current due to ion drifts, and blue represents the total induced current (electrons + ions). The program (Heed) treats the ionisation of the gaseous medium in clusters resulting in numerous sharp peaks corresponding to different electron and ion clusters.