Project

General

Profile

Support #1597

Example usage of BTTracker for global reconstruction

Added by Rogers, Chris over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Global Reconstruction
Target version:
Start date:
10 December 2014
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

I attach an example of using BTTracker to do the stepping. Please see comments for details on the code. I check

1. Tracking forwards and then backwards returns particle back to the origin.
2. Tracking forwards in G4 gives same answer as BTTracker.

To run,
  • put this in your maus/bin/examples directory
  • source env.sh
  • cd ${MAUS_ROOT_DIR}/bin/examples/
  • run tar -xzf example_stepper_cpp.tar.gz
  • cd example_stepper_cpp
  • make
  • ./example_stepper

There is a sample log file which has my output in. Let me know if you have any problems. Enjoy!


Files

example_stepper_cpp.tar.gz (17.9 KB) example_stepper_cpp.tar.gz Rogers, Chris, 10 December 2014 17:30
#1

Updated by Rogers, Chris over 7 years ago

  • Tracker changed from Feature to Support

Also available in: Atom PDF