Logo coherent WaveBurst  
Config Reference Guide
Logo
Macros | Functions
Create_O3_LH_ChunkSlagRndFiles.C File Reference
#include <algorithm>
#include <vector>
#include <ctime>
#include <cstdlib>
#include "../../MACROS/ReadChunkList.C"
Include dependency graph for Create_O3_LH_ChunkSlagRndFiles.C:

Macros

#define CHUNK_FILE_LIST   "Chunk_List.txt"
 
#define CHUNK_MAX_SIZE   100
 
#define EXECUTE
 
#define SEED   150914
 

Functions

void Create_O3_LH_ChunkSlagRndFiles (TString slags_dir, TString calibVer, TString calibType, TString search="")
 
void Create_SlagRndFile (TString slags_dir, int chunkID, int slagMax, char *cwb_config_env, char *calibVer, char *search)
 
void shuffle (std::vector< int > &vector, int seed=150914)
 

Macro Definition Documentation

◆ CHUNK_FILE_LIST

#define CHUNK_FILE_LIST   "Chunk_List.txt"

Definition at line 9 of file Create_O3_LH_ChunkSlagRndFiles.C.

◆ CHUNK_MAX_SIZE

#define CHUNK_MAX_SIZE   100

Definition at line 10 of file Create_O3_LH_ChunkSlagRndFiles.C.

◆ EXECUTE

#define EXECUTE

Definition at line 12 of file Create_O3_LH_ChunkSlagRndFiles.C.

◆ SEED

#define SEED   150914

Definition at line 7 of file Create_O3_LH_ChunkSlagRndFiles.C.

Function Documentation

◆ Create_O3_LH_ChunkSlagRndFiles()

void Create_O3_LH_ChunkSlagRndFiles ( TString  slags_dir,
TString  calibVer,
TString  calibType,
TString  search = "" 
)

Definition at line 17 of file Create_O3_LH_ChunkSlagRndFiles.C.

◆ Create_SlagRndFile()

void Create_SlagRndFile ( TString  slags_dir,
int  chunkID,
int  slagMax,
char *  cwb_config_env,
char *  calibVer,
char *  search 
)

Definition at line 191 of file Create_O3_LH_ChunkSlagRndFiles.C.

◆ shuffle()

void shuffle ( std::vector< int > &  vector,
int  seed = 150914 
)

Definition at line 237 of file Create_O3_LH_ChunkSlagRndFiles.C.