60 pp_sreport.resize(100);
61 for(
int i=0;
i<100;
i++) pp_sreport[
i]=
"";
66 bool pp_show_eff_fit_curve =
true;
71 bool pp_merge_types =
false;
75 bool pp_rho_vs_rate_no_multiplicity =
false;
105 double pp_factor2distance = 0.;
108 if(gSystem->Getenv(
"CWB_MERGE_LABEL")==NULL) {
109 cout <<
"Error : environment CWB_MERGE_LABEL is not defined!!!" << endl;
exit(1);
111 cwb_merge_label=
TString(gSystem->Getenv(
"CWB_MERGE_LABEL"));
115 if(gSystem->Getenv(
"CWB_SLAG_NUMBER")==NULL) {
116 cout <<
"Error : environment CWB_SLAG_NUMBER is not defined!!!" << endl;
exit(1);
118 if(
TString(gSystem->Getenv(
"CWB_SLAG_NUMBER")).IsDigit()) {
119 cwb_slag_number=
TString(gSystem->Getenv(
"CWB_SLAG_NUMBER")).Atoi();
123 if(gSystem->Getenv(
"CWB_LAG_NUMBER")==NULL) {
124 cout <<
"Error : environment CWB_LAG_NUMBER is not defined!!!" << endl;
exit(1);
126 if(
TString(gSystem->Getenv(
"CWB_LAG_NUMBER")).IsDigit()) {
127 cwb_lag_number=
TString(gSystem->Getenv(
"CWB_LAG_NUMBER")).Atoi();
175 cout << sim_file_name << endl;
176 cout << mdc_file_name << endl;
180 cout <<
"cwb_pparameters.C - Error : injectionList must be declared in simulation mode !!!" << endl;
187 TString injName = ((TObjString*)token->At(token->GetEntries()-1))->GetString();
190 if(injName.Contains(
".")) {
192 fext =
TString(
".")+((TObjString*)token->At(token->GetEntries()-1))->GetString();
193 sprintf(mdc_inj_file,
"%s",injName.ReplaceAll(fext,
"").Data());
195 sprintf(mdc_inj_file,
"%s",injName.Data());
198 char _mdc_inj_file[1024];
200 strcpy(mdc_inj_file,_mdc_inj_file);
209 cout << net_file_name << endl;
210 cout << liv_file_name << endl;
229 if(gSystem->Getenv(
"CWB_HTML_INDEX")==NULL) {
230 cout <<
"Error : environment CWB_HTML_INDEX is not defined!!!" << endl;
exit(1);
232 strcpy(html_index_template,gSystem->Getenv(
"CWB_HTML_INDEX"));
234 if(gSystem->Getenv(
"CWB_HTML_HEADER")==NULL) {
235 cout <<
"Error : environment CWB_HTML_HEADER is not defined!!!" << endl;
exit(1);
237 strcpy(html_header_template,gSystem->Getenv(
"CWB_HTML_HEADER"));
239 if(gSystem->Getenv(
"CWB_HTML_BODY_PROD")==NULL) {
240 cout <<
"Error : environment CWB_HTML_BODY_PROD is not defined!!!" << endl;
exit(1);
242 strcpy(html_body_prod_template,gSystem->Getenv(
"CWB_HTML_BODY_PROD"));
char html_body_prod_template[1024]
char html_index_template[1024]
vector< TString > pp_sreport
char html_header_template[1024]
strcpy(RunLabel, RUN_LABEL)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
char veto_not_vetoed[1024]