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);
・ls: Show list of hist in current directory.
void ls(); // ex. ls();
・ht, htp, hn, hb: Move to next pad and ...
void ht(int id, Option_t* option = ""); // draw hist by id. You can use draw option like "same". void ht(int idstart, int idend); // draw hist from idstart to idend. void htp(); // draw current hist. void hn(); // draw next hist. void hb(); // draw previous hist. // ex. hn(); ht(3,"same");
・hht, hhtp, hhn, hhb: Not Moving to next pad.
(same as //draw hist from idstart to idend void hht(int idstart, int idend); //draw hist by id. void hht(int id, Option_t* option = ""); //draw current hist. void hhtp(); //draw next hist. void hhn(); //draw previous hist. void hhb();