| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| == コマンドまとめ == | == Commands for Analysis Management == |
| Line 7: | Line 7: |
| book: Register "analoop" and "anafile" to TArtAnaLoopManager. If you want to usr your own analoop class or not to use anafile, please contact to Tanaka@Tokyo Institute of Technology | ・book: Register "analoop" and "anafile" to TArtAnaLoopManager. If you want to usr your own analoop class or not to use anafile, please contact to Tanaka@Tokyo Institute of Technology |
| Line 13: | Line 13: |
| push: Push RIDF file to stack. | ・push: Push RIDF file to stack. |
| Line 19: | Line 19: |
| pop: Pop RIDF file from stack | ・pop: Pop RIDF file from stack |
| Line 25: | Line 25: |
| start: Start analysis. Construct() of TArtAnaLoop will be called for the first time. | ・start: Start analysis. Construct() of TArtAnaLoop will be called for the first time. |
| Line 31: | Line 31: |
| stop: Stop analysis. You can resume by start() command. | ・stop: Stop analysis. You can resume by start() command. |
| Line 37: | Line 37: |
| next: Skip remaining event of current RIDF file and go to next RIDF file. | ・next: Skip remaining event of current RIDF file and go to next RIDF file. |
| Line 43: | Line 43: |
| end: End current analysis. Destruct() of TArtAnaLoop will be called. | ・end: End current analysis. Destruct() of TArtAnaLoop will be called. |
| Line 49: | Line 49: |
| clear: Clear all histograms and destruct TArtAnaLoopManager. | ・clear: Clear all histograms and destruct TArtAnaLoopManager. |
| Line 55: | Line 55: |
| status: Print status of current Analysis. | ・status: Print status of current Analysis. |
| Line 60: | Line 60: |
|
== Commands for Histogram Management == ・fetch: Read all TH1 object in file(filename) to current ROOT directory. {{{ void fetch(char* filename); // ex. fetch("root/hist.root"); }}} ・hstore: Write all TH1 object in current ROOT directory to file(filename) {{{ void hstore(char* filename); // ex. hstore("ridf/hist2.root"); }}} ・hdel: Delete TH1 objects in current ROOT directory. {{{ void hdel(); // delete all void hdel(int id); //delete by id void hdel(int idstart, int idend); //delete hist between idstart and idend // ex. hdel(2,4); }}} |
ANAROOT/UIコマンド
ANAROOT/UIコマンドについて、ここに記述します。 要望等は別スレッドで。
Commands for Analysis Management
・book: Register "analoop" and "anafile" to TArtAnaLoopManager. If you want to usr your own analoop class or not to use anafile, please contact to Tanaka@Tokyo Institute of Technology
void book(TArtAnaLoop* analoop, const char* anafilename = 0); // ex. book(new TArtAnaLoopUser, "ana/user.ana");
・push: Push RIDF file to stack.
void push(const char* filename = 0, int eventnumber = -1);
// ex. push("ridf/run0001.ridf");・pop: Pop RIDF file from stack
void pop(int i); // ex. pop(1)
・start: Start analysis. Construct() of TArtAnaLoop will be called for the first time.
void start(); // ex. start();
・stop: Stop analysis. You can resume by start() command.
void stop(); // ex. stop();
・next: Skip remaining event of current RIDF file and go to next RIDF file.
void next(); // ex. next();
・end: End current analysis. Destruct() of TArtAnaLoop will be called.
void end(); // ex. end();
・clear: Clear all histograms and destruct TArtAnaLoopManager.
void clear(); // ex. clear();
・status: Print status of current Analysis.
void status(); // ex. status();
Commands for Histogram Management
・fetch: Read all TH1 object in file(filename) to current ROOT directory.
void fetch(char* filename);
// ex. fetch("root/hist.root");・hstore: Write all TH1 object in current ROOT directory to file(filename)
void hstore(char* filename);
// ex. hstore("ridf/hist2.root");・hdel: Delete TH1 objects in current ROOT directory.
void hdel(); // delete all void hdel(int id); //delete by id void hdel(int idstart, int idend); //delete hist between idstart and idend // ex. hdel(2,4);