7 #ifndef CWB_PARAMETER_FILE 8 #define CWB_PARAMETER_FILE 12 char analysis[8]=
"1G";
33 for(
int i=0;i<
NIFO_MAX;i++) detParms[i] = _detParms;
45 double Acore = sqrt(2);
67 double segOverlap = 0.;
78 for(
int i=0;i<
NIFO_MAX;i++) shift[i] = 0.;
100 for(
int i=0;i<
NIFO_MAX;i++) dcCal[i] = 1.0;
106 for(
int i=0;i<100;i++) factors[i]=0.;
111 for(
int i=0;i<
NIFO_MAX;i++) dataShift[i] = 0.;
164 if(gSystem->Getenv(
"HOME_WAT_FILTERS")==NULL) {
165 cout <<
"Error : environment HOME_WAT_FILTERS is not defined!!!" << endl;
exit(1);
167 strcpy(filter_dir,
TString(gSystem->Getenv(
"HOME_WAT_FILTERS")).Data());
180 sprintf(work_dir,
"%s",gSystem->WorkingDirectory());
192 char ced_dir[1024] =
"report/ced";
193 char pp_dir[1024] =
"report/postprod";
194 char dump_dir[1024] =
"report/dump";
197 UserGroup_t*
uinfo = gSystem->GetUserInfo();
202 if(gSystem->Getenv(
"WWW_PUBLIC_DIR")!=NULL) {
204 TString www_public_dir =
TString(gSystem->Getenv(
"WWW_PUBLIC_DIR"));
205 www_public_dir.ReplaceAll(
"X_HOME",uhome.Data());
206 www_public_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
207 www_public_dir.ReplaceAll(
"X_HOST_NAME",gSystem->HostName());
208 sprintf(www_dir,
"%s",www_public_dir.Data());
210 cout <<
"cwb_parameters.C : Error env WWW_PUBLIC_DIR not defined !!!" << endl;
211 cout <<
"www_public_dir can not be defined" << endl;
214 cout <<
"www_dir : " << www_dir << endl;
218 sprintf(data_label,gSystem->BaseName(work_dir));
219 cout <<
"data_label : " << data_label << endl;
223 if(gSystem->Getenv(
"CONDOR_LOG_DIR")!=NULL) {
228 TString host_name = gSystem->HostName();
229 if(host_name.First(
".")>=0) host_name.Resize(host_name.First(
"."));
232 condor_log_dir.ReplaceAll(
"X_HOME",uhome.Data());
233 condor_log_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
234 condor_log_dir.ReplaceAll(
"X_HOST_NAME",host_name);
235 sprintf(condor_log,
"%s",condor_log_dir.Data());
237 cout <<
"cwb_parameters.C : Error env CONDOR_LOG_DIR not defined !!!" << endl;
238 cout <<
"condor_log can not be defined" << endl;
241 cout <<
"condor_log : " << condor_log << endl;
247 char condor_tag[1024] =
"";
264 if(gSystem->Getenv(
"NODE_DATA_DIR")!=NULL) {
266 TString node_data_dir =
TString(gSystem->Getenv(
"NODE_DATA_DIR"));
267 node_data_dir.ReplaceAll(
"X_HOME",uhome.Data());
268 node_data_dir.ReplaceAll(
"X_USER_NAME",uname.Data());
269 node_data_dir.ReplaceAll(
"X_HOST_NAME",gSystem->HostName());
270 sprintf(nodedir,
"%s",node_data_dir.Data());
272 cout <<
"cwb_parameters.C : Error env NODE_DATA_DIR not defined !!!" << endl;
273 cout <<
"nodir can not be defined" << endl;
276 cout <<
"nodename : " << gSystem->HostName() << endl;
277 cout <<
"nodedir : " << nodedir << endl;
284 configPlugin.SetName(
"");
322 bool dataPlugin =
false;
323 bool mdcPlugin =
false;
324 bool dcPlugin =
false;
327 bool outPlugin =
false;
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]