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);