Logo coherent WaveBurst  
Library Reference Guide
Logo
Functions | Variables
WaveMDC.C File Reference
#include <vector>
Include dependency graph for WaveMDC.C:

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

Function Documentation

◆ close()

in close ( )

◆ exit()

exit ( )

◆ for()

for ( )

pointers to detectors

Definition at line 37 of file WaveMDC.C.

◆ if() [1/2]

if ( !in.  good())

Definition at line 28 of file CWB_Plugin_HEN_BKG_Config.C.

◆ if() [2/2]

if ( (seg_id >=seg_start_id)&&(seg_id<=seg_stop_id )

Definition at line 27 of file WaveMDC.C.

Variable Documentation

◆ log

bool log = true

Definition at line 41 of file WaveMDC.C.

◆ seg_length

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

Definition at line 24 of file WaveMDC.C.

◆ seg_stop_id

int seg_stop_id = TString(gSystem->Getenv("WMDC_SEG_STOP")).Atoi()

Definition at line 5 of file WaveMDC.C.