7 #ifndef CWB_PARAMETER_FILE 8 #define CWB_PARAMETER_FILE 14 char analysis[8]=
"2G";
37 for(
int i=0;i<
NIFO_MAX;i++) detParms[i] = _detParms;
46 double Acore = sqrt(2);
73 double segOverlap = 0.;
101 for(
int i=0;i<
NIFO_MAX;i++) dcCal[i] = 1.0;
112 for(
int i=0;i<
NIFO_MAX;i++) dataShift[i] = 0.;
123 char wdmXTalk[1024] =
"wdmXTalk/OverlapCatalog_Lev_8_16_32_64_128_256_iNu_4_Prec_10.bin";
190 if(gSystem->Getenv(
"HOME_WAT_FILTERS")==NULL) {
191 cout <<
"Error : environment HOME_WAT_FILTERS is not defined!!!" << endl;
exit(1);
193 strcpy(filter_dir,
TString(gSystem->Getenv(
"HOME_WAT_FILTERS")).Data());
206 sprintf(work_dir,
"%s",gSystem->WorkingDirectory());
218 char ced_dir[1024] =
"report/ced";
219 char pp_dir[1024] =
"report/postprod";
220 char dump_dir[1024] =
"report/dump";
223 UserGroup_t*
uinfo = gSystem->GetUserInfo();
228 if(gSystem->Getenv(
"WWW_PUBLIC_DIR")!=NULL) {
230 TString www_public_dir =
TString(gSystem->Getenv(
"WWW_PUBLIC_DIR"));
231 www_public_dir.ReplaceAll(
"X_HOME",uhome.Data());
232 www_public_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
233 www_public_dir.ReplaceAll(
"X_HOST_NAME",gSystem->HostName());
234 sprintf(www_dir,
"%s",www_public_dir.Data());
236 cout <<
"cwb_parameters.C : Error env WWW_PUBLIC_DIR not defined !!!" << endl;
237 cout <<
"www_public_dir can not be defined" << endl;
240 cout <<
"www_dir : " << www_dir << endl;
244 sprintf(data_label,
"%s",gSystem->BaseName(work_dir));
245 cout <<
"data_label : " << data_label << endl;
249 if(gSystem->Getenv(
"CONDOR_LOG_DIR")!=NULL) {
254 TString host_name = gSystem->HostName();
255 if(host_name.First(
".")>=0) host_name.Resize(host_name.First(
"."));
258 condor_log_dir.ReplaceAll(
"X_HOME",uhome.Data());
259 condor_log_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
260 condor_log_dir.ReplaceAll(
"X_HOST_NAME",host_name);
261 sprintf(condor_log,
"%s",condor_log_dir.Data());
263 cout <<
"cwb_parameters.C : Error env CONDOR_LOG_DIR not defined !!!" << endl;
264 cout <<
"condor_log can not be defined" << endl;
267 cout <<
"condor_log : " << condor_log << endl;
273 char condor_tag[1024] =
"";
290 if(gSystem->Getenv(
"NODE_DATA_DIR")!=NULL) {
292 TString node_data_dir =
TString(gSystem->Getenv(
"NODE_DATA_DIR"));
293 node_data_dir.ReplaceAll(
"X_HOME",uhome.Data());
294 node_data_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
295 node_data_dir.ReplaceAll(
"X_HOST_NAME",gSystem->HostName());
296 sprintf(nodedir,
"%s",node_data_dir.Data());
298 cout <<
"cwb_parameters.C : Error env NODE_DATA_DIR not defined !!!" << endl;
299 cout <<
"nodir can not be defined" << endl;
302 if(gSystem->Getenv(
"_USE_PEGASUS")!=NULL)
strcpy(nodedir,
".");
303 cout <<
"nodename : " << gSystem->HostName() << endl;
304 cout <<
"nodedir : " << nodedir << endl;
307 char cwb_config_env[1024] =
"";
308 if(gSystem->Getenv(
"CWB_CONFIG")!=NULL) {
309 strcpy(cwb_config_env,
TString(gSystem->Getenv(
"CWB_CONFIG")).Data());
314 if(gSystem->Getenv(
"SITE_CLUSTER")!=NULL) {
315 strcpy(site_cluster_env,
TString(gSystem->Getenv(
"SITE_CLUSTER")).Data());
323 configPlugin.SetName(
"");
char site_cluster_env[1024]
char channelNamesMDC[NIFO_MAX][50]
CWB_OUTF_OPTIONS outfOptions
char channelNamesRaw[NIFO_MAX][50]
char frFiles[NIFO_MAX+1][256]
CWB_JOBF_OPTIONS jobfOptions
double dataShift[NIFO_MAX]
strcpy(RunLabel, RUN_LABEL)
sprintf(condor_log,"%s", condor_log_dir.Data())
detectorParams detParms[4]