دستورات پر استفاده برنامه تحلیل داده روت

  • صفحه اول
  • دستورات پر استفاده برنامه تحلیل داده روت
image

دستورات پر استفاده برنامه تحلیل داده روت

در این مطلب دستورات پایه نوشته شده در root را برای شما آماده کرده ایم.  

.L - Load the given file or library   
.(x|X) [args] - Same as 
.L and runs a function with   signature: ret_type filename(args)   
.> - Redirect command to a given file      '>' or '1>' - Redirects the stdout stream only      '2>' - Redirects the stderr stream only      '&>' (or '2>&1') - Redirects both stdout and stderr      '>>' - Appends to the given file   
.undo [n] - Unloads the last 'n' inputs lines   
.U - Unloads the given file   
.I [path] - Shows the include path. If a path is given -  adds the path to the include paths   
.O - Sets the optimization level (0-3)  (not yet implemented)   
.class - Prints out class in a CINT-like style   .files - Prints out some CINT-like file statistics   
.fileEx - Prints out some file statistics   
.g - Prints out information about global variable  'name' - if no name is given, print them all   
.@ - Cancels and ignores the multiline input   
.rawInput [0|1] - Toggle wrapping and printing the  execution results of the input   
.dynamicExtensions [0|1] - Toggles the use of the dynamic scopes and the  late binding   
.printDebug [0|1] - Toggles the printing of input's corresponding  state changes   
.storeState - Store the interpreter's state to a given file   
.compareState - Compare the interpreter's state with the one  saved in a given file   
.stats [name] - Show stats for internal data structures  'ast'  abstract syntax tree stats  'asttree [filter]'  abstract syntax tree layout  'decl' dump ast declarations  'undo' show undo stack   
.help - Shows this information   
.q - Exit the program

باز کردن فایل روت

برای باز کردن یک فایل روت باید ابتدا با نوشتن دستور root وارد برنامه روت شویم. برای بازکردن یک فایل دستور زیر را واردمیکنم.

TBrowser b("filename.root")

مشاهده راهنمای root

.help