Functions | |
| jobList | clear () |
| jtree | Draw ("Entry$", cwb_jcuts_tree.Data(),"goff") |
| exit (0) | |
| for (int i=0;i< jsel;i++) | |
| pointers to detectors More... | |
| cout<< olstfname<< endl;if(cwb_jcuts_tree=="") { estat=gSystem-> | GetPathInfo (mdir+"/"+ilstfname,&id,&size,&flags,&mt) |
| if (cwb_setcuts_options.Contains("--")) | |
| if (cwb_tcuts_tree!="") | |
| if ((simulation==0)&&(cwb_unique_evt=="true")) | |
| if ((cwb_wcuts_tree!="")&&(cwb_cuts_label=="")) | |
| if (cwb_cuts_label.Contains(".")) | |
| if (cwb_wcuts_tree.Contains("run")) | |
| if (cwb_wcuts_tree.Contains("slag")) | |
| if (cwb_wcuts_tree.Contains("lag")) | |
| if (TString cwb_wcuts=cwb_wcuts_tree=="") | |
| if ((cwb_wcuts_tree="")&&(cwb_cuts_label=="")) | |
| if (estat==0) | |
| if (nsel<=0) | |
| if (!simulation) | |
| olstfname | Remove (0, olstfname.Last('/')+1) |
| owfname | ReplaceAll (".root", TString(".C_")+cwb_cuts_label+".root") |
| olstfname | ReplaceAll ("wave_","merge_") |
| olstfname | ReplaceAll (".root",".lst") |
| sprintf (ilstfname,"merge_%s.%s.lst", data_label, cwb_merge_label.Data()) | |
Variables | |
| char | cmd [1024] |
| TString | cwb_cuts_label = TString(gSystem->Getenv("CWB_CUTS_LABEL")) |
| TString | cwb_jcuts_tree = TString(gSystem->Getenv("CWB_JCUTS_TREE")) |
| TString | cwb_lcuts_tree = TString(gSystem->Getenv("CWB_LCUTS_TREE")) |
| TString | cwb_mcuts_tree = TString(gSystem->Getenv("CWB_MCUTS_TREE")) |
| cwb_merge_label = TString(gSystem->Getenv("CWB_MERGE_LABEL")) | |
| TString | cwb_setcuts_options = TString(gSystem->Getenv("CWB_SETCUTS_OPTIONS")) |
| TString | cwb_tcuts_tree = "" |
| TString | cwb_unique_evt = "false" |
| TString | cwb_wcuts_tree = TString(gSystem->Getenv("CWB_WCUTS_TREE")) |
| else | |
| double * | entry = jtree.GetV1() |
| int | estat |
| cout<< "Number of jobs in the merged lists : "<< jobList.size()<< endl;TTree jtree("jtree","jtree");int run;jtree.Branch("run",&run,"run/I");TString *jfname=new TString();jtree.Branch("jfname", &jfname);for(int i=0;i< jobList.size();i++) {run=jobList[i];*jfname=jobFileList[i];jtree.Fill();} TTreeFormula formula("trCuts", cwb_jcuts_tree.Data(), &jtree);int err=formula.Compile(cwb_jcuts_tree.Data());if(err) { cout<< "cwb_setcuts.C - wrong input cuts "<< cwb_jcuts_tree<< endl<< endl;gSystem-> | Exit (1) |
| Long_t | flags |
| Long_t | id |
| char | ilstfname [1024] |
| vector< int > | jobList = CWB::Toolbox::getMergeJobList(mdir+"/"+ilstfname,jobFileList) |
| int | jsel = jtree.GetSelectedRows() |
| TString | mdir = merge_dir |
| Long_t | mt |
| int | nsel = CWB::Toolbox::setCuts(iwfname,mdir,mdir,"waveburst",cwb_wcuts,cwb_cuts_label) |
| TString | olstfname = owfname |
| TString | owfname = mdir+"/"+iwfname |
| Long_t | size |
| jobList clear | ( | ) |
| jtree Draw | ( | "Entry$" | , |
| cwb_jcuts_tree. | Data(), | ||
| "goff" | |||
| ) |
| exit | ( | 0 | ) |
| for | ( | ) |
pointers to detectors
Definition at line 227 of file cwb_setcuts.C.
| cout<< olstfname << endl; if(cwb_jcuts_tree=="") { estat = gSystem-> GetPathInfo | ( | mdir+"/"+ | ilstfname, |
| & | id, | ||
| & | size, | ||
| & | flags, | ||
| & | mt | ||
| ) |
| if | ( | cwb_setcuts_options. | Contains"--" | ) |
Definition at line 43 of file cwb_setcuts.C.
| if | ( | cwb_tcuts_tree! | = "" | ) |
Definition at line 61 of file cwb_setcuts.C.
| if | ( | (simulation==0)&&(cwb_unique_evt=="true") | ) |
Definition at line 87 of file cwb_setcuts.C.
| if | ( | (cwb_wcuts_tree!="")&&(cwb_cuts_label=="") | ) |
Definition at line 92 of file cwb_setcuts.C.
| if | ( | cwb_cuts_label. | Contains"." | ) |
Definition at line 97 of file cwb_setcuts.C.
| if | ( | cwb_wcuts_tree. | Contains"run" | ) |
Definition at line 103 of file cwb_setcuts.C.
| if | ( | cwb_wcuts_tree. | Contains"slag" | ) |
Definition at line 109 of file cwb_setcuts.C.
| if | ( | cwb_wcuts_tree. | Contains"lag" | ) |
Definition at line 115 of file cwb_setcuts.C.
| if | ( | TString cwb_wcuts = | cwb_wcuts_tree = ="" | ) |
Definition at line 120 of file cwb_setcuts.C.
| if | ( | (cwb_wcuts_tree="")&&(cwb_cuts_label=="") | ) |
Definition at line 175 of file cwb_setcuts.C.
| if | ( | estat | = =0 | ) |
Definition at line 197 of file cwb_setcuts.C.
| if | ( | nsel<= | 0 | ) |
Definition at line 238 of file cwb_setcuts.C.
| if | ( | ! | simulation | ) |
Definition at line 265 of file cwb_setcuts.C.
| olstfname Remove | ( | 0 | , |
| olstfname.Last('/')+ | 1 | ||
| ) |
| olstfname ReplaceAll | ( | "wave_" | , |
| "merge_" | |||
| ) |
| olstfname ReplaceAll | ( | ".root" | , |
| ".lst" | |||
| ) |
| sprintf | ( | ilstfname | , |
| "merge_%s.%s.lst" | , | ||
| data_label | , | ||
| cwb_merge_label. | Data() | ||
| ) |
| char cmd[1024] |
Definition at line 27 of file cwb_setcuts.C.
Definition at line 32 of file cwb_setcuts.C.
Definition at line 30 of file cwb_setcuts.C.
Definition at line 34 of file cwb_setcuts.C.
Definition at line 33 of file cwb_setcuts.C.
Definition at line 29 of file cwb_setcuts.C.
Definition at line 35 of file cwb_setcuts.C.
| TString cwb_tcuts_tree = "" |
Definition at line 41 of file cwb_setcuts.C.
| TString cwb_unique_evt = "false" |
Definition at line 42 of file cwb_setcuts.C.
Definition at line 31 of file cwb_setcuts.C.
| else |
Definition at line 202 of file cwb_setcuts.C.
| double* entry = jtree.GetV1() |
Definition at line 224 of file cwb_setcuts.C.
| int estat |
Definition at line 21 of file cwb_setcuts.C.
| cout<< "Number of jobs in the merged lists : " << jobList.size() << endl; TTree jtree("jtree","jtree"); int run; jtree.Branch("run",&run,"run/I"); TString *jfname = new TString(); jtree.Branch("jfname", &jfname); for(int i=0;i<jobList.size();i++) {run=jobList[i]; *jfname=jobFileList[i]; jtree.Fill();} TTreeFormula formula("trCuts", cwb_jcuts_tree.Data(), &jtree); int err = formula.Compile(cwb_jcuts_tree.Data()); if(err) { cout << "cwb_setcuts.C - wrong input cuts " << cwb_jcuts_tree << endl << endl; gSystem-> Exit(1) |
Definition at line 219 of file cwb_setcuts.C.
| Long_t flags |
Definition at line 26 of file cwb_setcuts.C.
| Long_t id |
Definition at line 26 of file cwb_setcuts.C.
| char ilstfname[1024] |
Definition at line 188 of file cwb_setcuts.C.
| vector<int> jobList = CWB::Toolbox::getMergeJobList(mdir+"/"+ilstfname,jobFileList) |
Definition at line 187 of file cwb_setcuts.C.
| int jsel = jtree.GetSelectedRows() |
Definition at line 223 of file cwb_setcuts.C.
Definition at line 37 of file cwb_setcuts.C.
| Long_t mt |
Definition at line 26 of file cwb_setcuts.C.
| int nsel = CWB::Toolbox::setCuts(iwfname,mdir,mdir,"waveburst",cwb_wcuts,cwb_cuts_label) |
Definition at line 237 of file cwb_setcuts.C.
Definition at line 190 of file cwb_setcuts.C.
Definition at line 183 of file cwb_setcuts.C.
| Long_t size |
Definition at line 26 of file cwb_setcuts.C.