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

Functions

in close ()
 
cout<< cmd<< endl;gSystem-> Exec (cmd)
 
 for ()
 pointers to detectors More...
 
 if (!out.good())
 
out open (lstFile.Data(), ios::out)
 
frlFile ReplaceAll (".lst",".frl")
 
rootFile ReplaceAll (".txt",".root")
 
 sprintf (cmd,"rm %s %s", lstFile.Data(), sortFile.Data())
 
 sprintf (cmd,"ls %s/%s/*/*.gwf > %s", gSystem->WorkingDirectory(), frDir.Data(), frlFile.Data())
 
 sprintf (cmd,"rm %s/%s", frDir.Data(), logFile.Data())
 
 sprintf (cmd,"mv %s/%s %s/%s", frDir.Data(), logHeaderFile.Data(), frDir.Data(), logFile.Data())
 
 sprintf (cmd,"mkdir -p %s/Waveforms", frDir.Data())
 
 while (true)
 

Variables

TString frlFile = lstFile
 
char ifoLabel [64] =""
 
char log [1024]
 
TString lstFile = frDir+"/"+TString(ifoLabel)+"-"+frLabel+"-Log.lst"
 
networknet =MDC.GetNetwork()
 
int nIFO =net->ifoListSize()
 
ofstream out
 
vector< mdcparpar
 
TString rootFile = logFile
 

Function Documentation

◆ close()

in close ( )

◆ Exec()

cout<< cmd << endl; gSystem-> Exec ( cmd  )

◆ for()

for ( )

pointers to detectors

Definition at line 9 of file wmdc_condor_log.C.

◆ if()

if ( !out.  good())

Definition at line 30 of file wmdc_condor_log.C.

◆ open()

out open ( lstFile.  Data(),
ios::out   
)

◆ ReplaceAll() [1/2]

frlFile ReplaceAll ( ".lst"  ,
".frl"   
)

◆ ReplaceAll() [2/2]

rootFile ReplaceAll ( ".txt"  ,
".root"   
)

◆ sprintf() [1/5]

sprintf ( cmd  ,
"rm %s %s ,
lstFile.  Data(),
sortFile.  Data() 
)

◆ sprintf() [2/5]

sprintf ( cmd  ,
"ls %s/%s/*/*.  gwf,
%s ,
gSystem->  WorkingDirectory(),
frDir.  Data(),
frlFile.  Data() 
)

◆ sprintf() [3/5]

sprintf ( cmd  ,
"rm %s/%s ,
frDir.  Data(),
logFile.  Data() 
)

◆ sprintf() [4/5]

sprintf ( cmd  ,
"mv %s/%s %s/%s ,
frDir.  Data(),
logHeaderFile.  Data(),
frDir.  Data(),
logFile.  Data() 
)

◆ sprintf() [5/5]

sprintf ( cmd  ,
"mkdir -p %s/Waveforms"  ,
frDir.  Data() 
)

◆ while()

while ( true  )

Definition at line 48 of file wmdc_condor_log.C.

Variable Documentation

◆ frlFile

TString frlFile = lstFile

Definition at line 69 of file wmdc_condor_log.C.

◆ ifoLabel

char ifoLabel[64] =""

Definition at line 8 of file wmdc_condor_log.C.

◆ log

char log[1024]

Definition at line 47 of file wmdc_condor_log.C.

◆ lstFile

TString lstFile = frDir+"/"+TString(ifoLabel)+"-"+frLabel+"-Log.lst"

Definition at line 27 of file wmdc_condor_log.C.

◆ net

network* net =MDC.GetNetwork()

Definition at line 6 of file wmdc_condor_log.C.

◆ nIFO

int nIFO =net->ifoListSize()

Definition at line 7 of file wmdc_condor_log.C.

◆ out

ofstream out

Definition at line 28 of file wmdc_condor_log.C.

◆ par

vector<mdcpar> par

Definition at line 76 of file wmdc_condor_log.C.

◆ rootFile

TString rootFile = logFile

Definition at line 77 of file wmdc_condor_log.C.