Logo coherent WaveBurst  
Library Reference Guide
Logo
Macros | Typedefs | Functions
cwb_petools.C File Reference
#include <nlohmann/json.hpp>
#include "MACROS/ReadChunkList.C"
Include dependency graph for cwb_petools.C:

Macros

#define CHUNK_FILE_LIST   "Chunk_List.txt"
 
#define GW_MAX_SIZE   1000
 
#define PE_GIT_DIR   "/home/waveburst/git/pe"
 

Typedefs

using json = nlohmann::json
 

Functions

void cwb_petools (TString ifile, TString option="", TString opath="", TString pe_git_dir=PE_GIT_DIR, TString run="O3")
 
void DumpConfigPE (TString ofile, vector< peparameters > vpeparms, TString run)
 
void DumpMacroPosterior2XML (TString sample, peparameters peparms, TString odir)
 
void DumpMkDirPE (TString ofile, vector< peparameters > vpeparms, TString run)
 
void DumpUpdateGIT (vector< evtparameters > evtparms, TString ofile="")
 
void DumpXML (vector< peparameters > vpeparms, TString xmldir, bool execute=false)
 
vector< evtparameters > GetEventsParameters (TString ifile, TString run)
 
vector< peparameters > GetPreferredParmsPE (vector< evtparameters > evtparms, TString pedir, TString run, bool posteriors=false)
 
vector< TStringGetPreferredPE (vector< evtparameters > evtparms, TString pedir, TString run)
 
vector< evtparameters > ReadInputEventsFile (TString ifile)
 

Macro Definition Documentation

◆ CHUNK_FILE_LIST

#define CHUNK_FILE_LIST   "Chunk_List.txt"

Definition at line 30 of file cwb_petools.C.

◆ GW_MAX_SIZE

#define GW_MAX_SIZE   1000

Definition at line 29 of file cwb_petools.C.

◆ PE_GIT_DIR

#define PE_GIT_DIR   "/home/waveburst/git/pe"

Definition at line 32 of file cwb_petools.C.

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 25 of file cwb_petools.C.

Function Documentation

◆ cwb_petools()

void cwb_petools ( TString  ifile,
TString  option = "",
TString  opath = "",
TString  pe_git_dir = PE_GIT_DIR,
TString  run = "O3" 
)

Definition at line 68 of file cwb_petools.C.

◆ DumpConfigPE()

void DumpConfigPE ( TString  ofile,
vector< peparameters >  vpeparms,
TString  run 
)

Definition at line 473 of file cwb_petools.C.

◆ DumpMacroPosterior2XML()

void DumpMacroPosterior2XML ( TString  sample,
peparameters  peparms,
TString  odir 
)

Definition at line 608 of file cwb_petools.C.

◆ DumpMkDirPE()

void DumpMkDirPE ( TString  ofile,
vector< peparameters >  vpeparms,
TString  run 
)

Definition at line 409 of file cwb_petools.C.

◆ DumpUpdateGIT()

void DumpUpdateGIT ( vector< evtparameters >  evtparms,
TString  ofile = "" 
)

Definition at line 220 of file cwb_petools.C.

◆ DumpXML()

void DumpXML ( vector< peparameters >  vpeparms,
TString  xmldir,
bool  execute = false 
)

Definition at line 523 of file cwb_petools.C.

◆ GetEventsParameters()

vector< evtparameters > GetEventsParameters ( TString  ifile,
TString  run 
)

Definition at line 168 of file cwb_petools.C.

◆ GetPreferredParmsPE()

vector< peparameters > GetPreferredParmsPE ( vector< evtparameters >  evtparms,
TString  pedir,
TString  run,
bool  posteriors = false 
)

Definition at line 261 of file cwb_petools.C.

◆ GetPreferredPE()

vector< TString > GetPreferredPE ( vector< evtparameters >  evtparms,
TString  pedir,
TString  run 
)

Definition at line 586 of file cwb_petools.C.

◆ ReadInputEventsFile()

vector< evtparameters > ReadInputEventsFile ( TString  ifile)

Definition at line 736 of file cwb_petools.C.