#include <vector>Functions | |
| in | close () |
| exit (0) | |
| for (int n=0;n< nsegs;n++) | |
| pointers to detectors More... | |
| if (!in.good()) break | |
| if ((seg_id >=seg_start_id)&&(seg_id<=seg_stop_id)) | |
Variables | |
| bool | log = true |
| cout<< "seg_start_id : "<< seg_start_id<< " seg_stop_id : "<< seg_stop_id<< endl;int nsegs=seg_stop_id-seg_start_id+1;int segs_start[nsegs];int segs_length[nsegs];ifstream in;in.open(segmentList, ios::in);if(!in.good()) {cout<< "Error Opening Segments File : "<< segmentList<< endl;exit(1);} int seg_id;int seg_start;int seg_stop;int seg_length;int cnt=0;while(true) { in > seg_id seg_start seg_stop | seg_length |
| int | seg_stop_id = TString(gSystem->Getenv("WMDC_SEG_STOP")).Atoi() |
| in close | ( | ) |
| exit | ( | 0 | ) |
| if | ( | !in. | good() | ) |
Definition at line 28 of file CWB_Plugin_HEN_BKG_Config.C.
| if | ( | (seg_id >=seg_start_id)&&(seg_id<=seg_stop_id) | ) |
| cout<< "seg_start_id : " << seg_start_id << " seg_stop_id : " << seg_stop_id << endl; int nsegs = seg_stop_id-seg_start_id+1; int segs_start[nsegs]; int segs_length[nsegs]; ifstream in; in.open(segmentList,ios::in); if (!in.good()) {cout << "Error Opening Segments File : " << segmentList << endl;exit(1);} int seg_id; int seg_start; int seg_stop; int seg_length; int cnt=0; while(true) { in > seg_id seg_start seg_stop seg_length |