Project

General

Profile

Feature #1033

EMR Monte Carlo

Added by Rogers, Chris about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
EMR
Target version:
Start date:
30 June 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

MC

Convert existing EMR code to three classes
In src/common_cpp/DetModel/EMR
  • ParameterisedVolume for the bars
  • SensitiveDetector to make hits
  • EMRVolume to gather it
    In src/legacy/Simulation
  • Interface is in MICEDetectorConstruction.hh; add detector classes
  • Check FillMaterials.hh has correct materials
    In MiceModules
  • Add an EMR MiceModule or something
    In src/common_cpp/DataStructure
  • Check EMRChannelID
  • Add typedef to EMRHit
  • Check LinkDef.hh
    In src/common_cpp/JsonCppProcessors
  • Add EMRChannelIdProcessor
  • Add configuration datacards to src/common_py/ConfigurationDefaults.py

Access to data cards is through MICERun->jsonConfiguration. This is set by the MapCppSimulation module.

Add unit tests in tests/cpp_unit/ for C++ code. This is directly built into the test_cpp_unit exe
Add integration tests/integration/test_simulation/test_emr/
  • integration tests should usually call the simulate_mice.py, analyze_mice_offline.py, etc, run the code, and check the output
    Check style guide
    Add documentation in doc/doc_src/detectors/emr.tex

Also available in: Atom PDF