27.02.2013 Views

Introduction into ROOT and LMF2ROOT

Introduction into ROOT and LMF2ROOT

Introduction into ROOT and LMF2ROOT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Controlling LMF2Root<br />

LMF2Root uses a configuration file in C style syntax.<br />

You can comment out statements with // or you can block<br />

comment statements with /* … */ .<br />

All statements must be ended with a semicolon.<br />

Basic Comm<strong>and</strong>s used in the configuration file<br />

● Parameter statements allow you to import numbers <strong>into</strong> LMF2Root.<br />

Example: parameter 1200 33.25 ;//length acc. recoils [mm]<br />

This parameter can be accessed in LMF2Root via the variable<br />

parameter[1200]<br />

● execute "correction_table_rec.txt";<br />

● set_root_output_file_name<br />

● ReadLMF <strong>and</strong> read<strong>ROOT</strong>file

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!