Changes between Version 57 and Version 58 of DatabaseBasedAnalysis
- Timestamp:
- 08/05/18 20:42:25 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DatabaseBasedAnalysis
v57 v58 287 287 Let's assume the output file is ''crab-data-only.root'' ({{{rootifysql --out=crab-data-only.root}}}). Requesting the data and writing the file took me about 60s. 288 288 289 To run an analysis on the data you can use the following root macro "'' ganymed.C''". It produces a theta-square plot. Its execution took about 5s ({{{root ganymed.C++}}})289 To run an analysis on the data you can use the following root macro "''analysis.C''". It produces a theta-square plot. Its execution took about 5s ({{{root analysis.C++}}}). The {{{++}}} behind the macro name forces root to compile the macro before execution (might not be necessary anymore with root 6) to increase performance. 290 290 291 291 {{{#!cpp … … 297 297 #include <TStopwatch.h> 298 298 299 void ganymed()299 void analysis() 300 300 { 301 301 // Create chain for the tree Result … … 466 466 467 467 {{{#!cpp 468 void ganymed3()468 void analysis() 469 469 { 470 470 // Create chain for the tree Result