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

Macros

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

Functions

void Create_O2_LHV_ChunkSlagRndFiles (TString slags_dir, TString calibVer, TString calibType)
 
void Create_SlagRndFile (TString slags_dir, int chunkID, int slagMax, char *cwb_config_env, char *calibVer, char *calibType)
 
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 27 of file Create_O2_LHV_ChunkSlagRndFiles.C.

◆ CHUNK_MAX_SIZE

#define CHUNK_MAX_SIZE   100

Definition at line 28 of file Create_O2_LHV_ChunkSlagRndFiles.C.

◆ EXECUTE

#define EXECUTE

Definition at line 30 of file Create_O2_LHV_ChunkSlagRndFiles.C.

◆ SEED

#define SEED   150914

Definition at line 25 of file Create_O2_LHV_ChunkSlagRndFiles.C.

Function Documentation

◆ Create_O2_LHV_ChunkSlagRndFiles()

void Create_O2_LHV_ChunkSlagRndFiles ( TString  slags_dir,
TString  calibVer,
TString  calibType 
)

Definition at line 35 of file Create_O2_LHV_ChunkSlagRndFiles.C.

◆ Create_SlagRndFile()

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

Definition at line 153 of file Create_O2_LHV_ChunkSlagRndFiles.C.

◆ shuffle()

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

Definition at line 221 of file Create_O2_LHV_ChunkSlagRndFiles.C.