#include <neugen3_dummy.h>
Public Member Functions | |
| neugen_inputs () | |
| neugen_inputs (const neugen_inputs *inputs) | |
| ~neugen_inputs () | |
| void | print (ostream &stream) const |
| void | write_neugen_input_card (const char *filename) const |
| interaction | get_interaction (void) const |
| final_state | get_final_state (void) const |
| neugen_cuts | get_cuts (void) const |
| bool | qel_sum (void) const |
| bool | res_sum (void) const |
| bool | dis_sum (void) const |
| bool | inclusive (void) const |
| int | nbins (void) const |
| int | xsec_type_code (void) const |
| int | plot_var_code (void) const |
| int | flux_id_code (void) const |
| int | plot_range_code (void) const |
| int | nu_type_code (void) const |
| int | wcurrent_code (void) const |
| int | target_code (void) const |
| int | init_state_code (void) const |
| int | process_mask_code (void) const |
| int | qel_bit_in_mask (void) const |
| int | res_bit_in_mask (void) const |
| int | dis_bit_in_mask (void) const |
| int | cut_var_code (void) const |
| float | energy_min (void) const |
| float | energy_max (void) const |
| float | energy (void) const |
| float | plot_var_min (void) const |
| float | plot_var_max (void) const |
| float | cut_var_min (void) const |
| float | cut_var_max (void) const |
| string | final_state_code (void) const |
| string | xsec_type_string (void) const |
| string | plot_var_string (void) const |
| string | flux_id_string (void) const |
| string | plot_range_string (void) const |
| string | nu_type_string (void) const |
| string | wcurrent_string (void) const |
| string | target_string (void) const |
| string | final_state_string (void) const |
| string | init_state_string (void) const |
| string | cut_var_string (void) const |
| void | set_nbins (int nbins) |
| void | set_qel_bit_in_mask (bool on) |
| void | set_res_bit_in_mask (bool on) |
| void | set_dis_bit_in_mask (bool on) |
| void | set_xsec_type (string xsec_type) |
| void | set_e_min (float e_min) |
| void | set_e_max (float e_max) |
| void | set_e (float e) |
| void | set_plot_var (string variable) |
| void | set_flux (string flux) |
| void | set_range (string range) |
| void | set_plot_var_min (float var_min) |
| void | set_plot_var_max (float var_max) |
| void | set_neutrino (string neutrino) |
| void | set_wcurrent (string wcurrent) |
| void | set_target (string target) |
| void | set_final_state (string fin_state) |
| void | set_initial_state (string init_state) |
| void | set_cut_var (string variable) |
| void | set_cut_var_min (float var_min) |
| void | set_cut_var_max (float var_max) |
| void | set_qel_sum (bool on) |
| void | set_res_sum (bool on) |
| void | set_dis_sum (bool on) |
| void | set_inclusive (bool on) |
Private Member Functions | |
| void | init (void) |
| int | neugen_xsec_type_code (string xsec_type) |
| int | neugen_flux_code (string flux) |
| int | neugen_plot_range_code (string range) |
| int | neugen_neutrino_code (string neutrino) |
| int | neugen_weak_current_code (string wcurrent) |
| string | neugen_final_state_code (string fin_state) |
| int | neugen_initial_state_code (string init_state) |
| int | neugen_variable_code (string plot_variable) |
| void | compute_process_mask (void) |
| int | bool2int (bool on) |
| int | n_matches (string input, string pattern) |
Private Attributes | |
| int | _nbins |
| int | _xsec_type_code |
| float | _emin |
| float | _emax |
| float | _e |
| int | _plot_var_code |
| int | _flux_id_code |
| int | _plot_range_code |
| float | _plot_var_min |
| float | _plot_var_max |
| int | _nu_type_code |
| int | _wcurrent_code |
| int | _target_code |
| string | _final_state_code |
| int | _init_state_code |
| int | _process_mask_code |
| int | _cut_var_code |
| float | _cut_var_min |
| float | _cut_var_max |
| int | _qel_sum |
| int | _res_sum |
| int | _dis_sum |
| bool | _inclusive |
| int | _qel_bit_in_mask |
| int | _res_bit_in_mask |
| int | _dis_bit_in_mask |
| int | _fin_p |
| int | _fin_n |
| int | _fin_pi_plus |
| int | _fin_pi_0 |
| int | _fin_pi_minus |
| string | _xsec_type_str |
| string | _plot_var_str |
| string | _flux_id_str |
| string | _plot_range_str |
| string | _nu_type_str |
| string | _wcurrent_str |
| string | _target_str |
| string | _final_state_str |
| string | _init_state_str |
| string | _cut_var_str |
Friends | |
| ostream & | operator<< (ostream &stream, const neugen_inputs &inputs) |
____________________________________________________________________________
NuValidator/generators/nugen
Costas Andreopoulos (Rutherford Lab.) <C.V.Andreopoulos@rl.ac.uk> Hugh Gallagher (Tufts University) <gallag@minos.phy.tufts.edu> _______________________________________________________________________________
Definition at line 21 of file neugen3_dummy.h.
|
|
Definition at line 36 of file neugen_inputs.cxx. References init(). 00037 {
00038 init();
00039 }
|
|
|
|
Definition at line 93 of file neugen_inputs.cxx. 00094 {
00095
00096 }
|
|
|
Definition at line 490 of file neugen_inputs.cxx. Referenced by set_dis_sum(), set_qel_sum(), and set_res_sum(). 00491 {
00492 if (on) return 1;
00493 else return 0;
00494 }
|
|
|
Definition at line 459 of file neugen_inputs.cxx. References _dis_bit_in_mask, _process_mask_code, _qel_bit_in_mask, _res_bit_in_mask, and dis. Referenced by set_dis_bit_in_mask(), set_qel_bit_in_mask(), and set_res_bit_in_mask(). 00460 {
00461 int qel, dis, res;
00462
00463 (_qel_bit_in_mask == 1) ? qel = 0 : qel = 1;
00464 (_res_bit_in_mask == 1) ? res = 0 : res = 1;
00465 (_dis_bit_in_mask == 1) ? dis = 0 : dis = 1;
00466
00467 _process_mask_code = qel + 2 * res + 4 * dis;
00468 }
|
|
|
Definition at line 63 of file neugen_inputs.h. 00063 { return _cut_var_code; }
|
|
|
Definition at line 70 of file neugen_inputs.h. 00070 { return _cut_var_max; }
|
|
|
Definition at line 69 of file neugen_inputs.h. 00069 { return _cut_var_min; }
|
|
|
Definition at line 81 of file neugen_inputs.h. 00081 { return _cut_var_str; }
|
|
|
Definition at line 62 of file neugen_inputs.h. 00062 { return _dis_bit_in_mask; }
|
|
|
Definition at line 48 of file neugen_inputs.h. References _dis_sum. 00048 { return _dis_sum == 1; }
|
|
|
Definition at line 66 of file neugen_inputs.h. 00066 { return _e; }
|
|
|
Definition at line 65 of file neugen_inputs.h. 00065 { return _emax; }
|
|
|
Definition at line 64 of file neugen_inputs.h. 00064 { return _emin; }
|
|
|
Definition at line 71 of file neugen_inputs.h. 00071 { return _final_state_code; }
|
|
|
Definition at line 79 of file neugen_inputs.h. 00079 { return _final_state_str; }
|
|
|
Definition at line 53 of file neugen_inputs.h. 00053 { return _flux_id_code; }
|
|
|
Definition at line 74 of file neugen_inputs.h. 00074 { return _flux_id_str; }
|
|
|
Definition at line 216 of file neugen_inputs.cxx. References _cut_var_code, _cut_var_max, _cut_var_min, _dis_sum, _process_mask_code, _qel_sum, _res_sum, kinematic_variable::get_kin_var_id_from_code(), and kinematic_variable_t. 00217 {
00218 kinematic_variable_t kvid =
00219 kinematic_variable::get_kin_var_id_from_code(_cut_var_code);
00220
00221 bool sumQel = (_qel_sum == 1);
00222 bool sumRes = (_res_sum == 1);
00223 bool sumDis = (_dis_sum == 1);
00224
00225 neugen_cuts cuts(kvid, _cut_var_min, _cut_var_max,
00226 _process_mask_code, sumQel, sumRes, sumDis);
00227
00228 return cuts;
00229 }
|
|
|
Definition at line 207 of file neugen_inputs.cxx. References _fin_n, _fin_p, _fin_pi_0, _fin_pi_minus, _fin_pi_plus, and final_state::setFinalState(). 00208 {
00209 final_state state;
00210
00211 state.setFinalState(_fin_p, _fin_n, _fin_pi_plus, _fin_pi_minus, _fin_pi_0);
00212
00213 return state;
00214 }
|
|
|
Definition at line 195 of file neugen_inputs.cxx. References _init_state_code, _nu_type_code, _wcurrent_code, ccnc_t, flavor_t, ccnc::get_from_code(), flavor::get_from_code(), init_state::get_init_state_from_code(), init_state_t, and nucleus_t. 00196 {
00197 flavor_t f = flavor::get_from_code(_nu_type_code);
00198 nucleus_t n = e_free;
00199 ccnc_t c = ccnc::get_from_code(_wcurrent_code);
00200 init_state_t i = init_state::get_init_state_from_code(_init_state_code);
00201
00202 interaction inter(f, n, c, i);
00203
00204 return inter;
00205 }
|
|
|
Definition at line 49 of file neugen_inputs.h. 00049 { return _inclusive; }
|
|
|
|
Definition at line 58 of file neugen_inputs.h. 00058 { return _init_state_code; }
|
|
|
Definition at line 80 of file neugen_inputs.h. 00080 { return _init_state_str; }
|
|
||||||||||||
|
Definition at line 470 of file neugen_inputs.cxx. Referenced by neugen_final_state_code(). 00471 {
00472 // if max = 1 then this is ok - do something more generic later
00473
00474 if (input.find(pattern) != string::npos) return 1;
00475 else return 0;
00476
00477 /*
00478 string::size_type pos = 0;
00479 int n=0;
00480
00481 while( (pos = input.find_first_of(pattern, pos)) != string::npos ) {
00482
00483 n++;
00484 input.erase(pos, pattern.length());
00485 }
00486 return n;
00487 */
00488 }
|
|
|
Definition at line 50 of file neugen_inputs.h. 00050 { return _nbins; }
|
|
|
Definition at line 415 of file neugen_inputs.cxx. References _fin_n, _fin_p, _fin_pi_0, _fin_pi_minus, _fin_pi_plus, and n_matches(). Referenced by set_final_state(). 00416 {
00417 // build neugen's final state - in the form (pn+-0)
00418
00419 _fin_p = 0; // init
00420 _fin_n = 0;
00421 _fin_pi_plus = 0;
00422 _fin_pi_0 = 0;
00423 _fin_pi_minus = 0;
00424
00425 _fin_p = n_matches(fin_state, "p ");
00426 _fin_n = n_matches(fin_state, "n ");
00427 _fin_pi_plus = n_matches(fin_state, "pi(+)");
00428 _fin_pi_0 = n_matches(fin_state, "pi(0)");
00429 _fin_pi_minus = n_matches(fin_state, "pi(-)");
00430
00431 ostringstream code;
00432
00433 code << _fin_p << _fin_n << _fin_pi_plus << _fin_pi_minus << _fin_pi_0;
00434
00435 return code.str();
00436 }
|
|
|
Definition at line 382 of file neugen_inputs.cxx. Referenced by set_flux(). 00383 {
00384 if (flux.find("ANL") != string::npos) return 1;
00385 else if (flux.find("GGM") != string::npos) return 2;
00386 else if (flux.find("BNL") != string::npos) return 3;
00387 else if (flux.find("BEBC") != string::npos) return 4;
00388 else return 0;
00389 }
|
|
|
Definition at line 438 of file neugen_inputs.cxx. Referenced by set_initial_state(). 00439 {
00440 if (init_state.find("nu + p") != string::npos) return 1;
00441 else if (init_state.find("nu + n") != string::npos) return 2;
00442 else if (init_state.find("nu_bar + p") != string::npos) return 3;
00443 else if (init_state.find("nu_bar + n") != string::npos) return 4;
00444 else if (init_state.find("nu + N") != string::npos) return 5; // ????
00445 else if (init_state.find("nu_bar + N") != string::npos) return 6; // ????
00446 else return 0;
00447 }
|
|
|
Definition at line 397 of file neugen_inputs.cxx. Referenced by set_neutrino(). 00398 {
00399 if (neutrino.find("nu_e") != string::npos) return 5;
00400 else if (neutrino.find("nu_e_bar") != string::npos) return 6;
00401 else if (neutrino.find("nu_mu") != string::npos) return 7;
00402 else if (neutrino.find("nu_mu_bar") != string::npos) return 8;
00403 else if (neutrino.find("nu_tau") != string::npos) return 9;
00404 else if (neutrino.find("nu_tau_bar") != string::npos) return 10;
00405 else return 0;
00406 }
|
|
|
Definition at line 391 of file neugen_inputs.cxx. Referenced by set_range(). 00392 {
00393 if (range.find("custom") != string::npos) return 2;
00394 else return 1;
00395 }
|
|
|
Definition at line 449 of file neugen_inputs.cxx. Referenced by set_cut_var(), and set_plot_var(). 00450 {
00451 if (cut_variable.find("none") != string::npos) return 0;
00452 else if (cut_variable.find("|q^2|") != string::npos) return 1;
00453 else if (cut_variable.find("W") != string::npos) return 2;
00454 else if (cut_variable.find("x") != string::npos) return 3;
00455 else if (cut_variable.find("y") != string::npos) return 4;
00456 else return 0;
00457 }
|
|
|
Definition at line 408 of file neugen_inputs.cxx. Referenced by set_wcurrent(). 00409 {
00410 if (wcurrent.find("+") != string::npos) return 3;
00411 else if (wcurrent.find("NC") != string::npos) return 2;
00412 else return 1;
00413 }
|
|
|
Definition at line 376 of file neugen_inputs.cxx. Referenced by set_xsec_type(). 00377 {
00378 if (xsec_type.find("differential") != string::npos) return 2;
00379 else return 1;
00380 }
|
|
|
Definition at line 55 of file neugen_inputs.h. 00055 { return _nu_type_code; }
|
|
|
Definition at line 76 of file neugen_inputs.h. 00076 { return _nu_type_str; }
|
|
|
Definition at line 54 of file neugen_inputs.h. 00054 { return _plot_range_code; }
|
|
|
Definition at line 75 of file neugen_inputs.h. 00075 { return _plot_range_str; }
|
|
|
Definition at line 52 of file neugen_inputs.h. 00052 { return _plot_var_code; }
|
|
|
Definition at line 68 of file neugen_inputs.h. 00068 { return _plot_var_max; }
|
|
|
Definition at line 67 of file neugen_inputs.h. 00067 { return _plot_var_min; }
|
|
|
Definition at line 73 of file neugen_inputs.h. 00073 { return _plot_var_str; }
|
|
|
Definition at line 547 of file neugen_inputs.cxx. References _cut_var_code, _cut_var_max, _cut_var_min, _dis_bit_in_mask, _dis_sum, _e, _emax, _emin, _final_state_code, _flux_id_code, _init_state_code, _nbins, _nu_type_code, _plot_range_code, _plot_var_code, _plot_var_max, _plot_var_min, _process_mask_code, _qel_bit_in_mask, _qel_sum, _res_bit_in_mask, _res_sum, _target_code, _wcurrent_code, and _xsec_type_code. 00548 {
00549 stream << "number of bins = " << _nbins << endl;
00550 stream << "xsec type = " << _xsec_type_code << endl;
00551 stream << "E min = " << _emin << endl;
00552 stream << "E max = " << _emax << endl;
00553 stream << "E = " << _e << endl;
00554 stream << "plot var = " << _plot_var_code << endl;
00555 stream << "flux id = " << _flux_id_code << endl;
00556 stream << "plot range = " << _plot_range_code << endl;
00557 stream << "plot var - min = " << _plot_var_min << endl;
00558 stream << "plot var - max = " << _plot_var_max << endl;
00559 stream << "neutrino type = " << _nu_type_code << endl;
00560 stream << "weak current = " << _wcurrent_code << endl;
00561 stream << "target = " << _target_code << endl;
00562 stream << "final state = " << _final_state_code << endl;
00563 stream << "initial state = " << _init_state_code << endl;
00564 stream << "process mask = " << _process_mask_code << endl;
00565 stream << "qel bit in mask = " << _qel_bit_in_mask << endl;
00566 stream << "res bit in mask = " << _res_bit_in_mask << endl;
00567 stream << "dis bit in mask = " << _dis_bit_in_mask << endl;
00568 stream << "cut variable = " << _cut_var_code << endl;
00569 stream << "cut var - min = " << _cut_var_min << endl;
00570 stream << "cut var - max = " << _cut_var_max << endl;
00571 stream << "qel sum = " << _qel_sum << endl;
00572 stream << "res sum = " << _res_sum << endl;
00573 stream << "dis sum = " << _dis_sum << endl;
00574 }
|
|
|
Definition at line 59 of file neugen_inputs.h. 00059 { return _process_mask_code; }
|
|
|
Definition at line 60 of file neugen_inputs.h. 00060 { return _qel_bit_in_mask; }
|
|
|
Definition at line 46 of file neugen_inputs.h. References _qel_sum. 00046 { return _qel_sum == 1; }
|
|
|
Definition at line 61 of file neugen_inputs.h. 00061 { return _res_bit_in_mask; }
|
|
|
Definition at line 47 of file neugen_inputs.h. References _res_sum. 00047 { return _res_sum == 1; }
|
|
|
Definition at line 324 of file neugen_inputs.cxx. References _cut_var_code, _cut_var_str, and neugen_variable_code(). 00325 {
00326 _cut_var_str = cut_variable;
00327 _cut_var_code = neugen_variable_code(cut_variable);
00328 }
|
|
|
Definition at line 335 of file neugen_inputs.cxx. References _cut_var_max. 00336 {
00337 _cut_var_max = var_max;
00338 }
|
|
|
Definition at line 330 of file neugen_inputs.cxx. References _cut_var_min. 00331 {
00332 _cut_var_min = var_min;
00333 }
|
|
|
Definition at line 250 of file neugen_inputs.cxx. References _dis_bit_in_mask, and compute_process_mask(). 00251 {
00252 ( on ) ? _dis_bit_in_mask = 1 : _dis_bit_in_mask = 0;
00253
00254 compute_process_mask();
00255 }
|
|
|
Definition at line 359 of file neugen_inputs.cxx. References _dis_sum, and bool2int(). Referenced by set_inclusive().
|
|
|
Definition at line 273 of file neugen_inputs.cxx. References _e. 00274 {
00275 _e = e;
00276 }
|
|
|
Definition at line 268 of file neugen_inputs.cxx. References _emax. 00269 {
00270 _emax = e_max;
00271 }
|
|
|
Definition at line 263 of file neugen_inputs.cxx. References _emin. 00264 {
00265 _emin = e_min;
00266 }
|
|
|
Definition at line 364 of file neugen_inputs.cxx. References _final_state_code, _final_state_str, and neugen_final_state_code(). 00365 {
00366 _final_state_str = fin_state;
00367 _final_state_code = neugen_final_state_code(fin_state);
00368 }
|
|
|
Definition at line 284 of file neugen_inputs.cxx. References _flux_id_code, _flux_id_str, and neugen_flux_code(). 00285 {
00286 _flux_id_str = flux;
00287 _flux_id_code = neugen_flux_code(flux);
00288 }
|
|
|
Definition at line 340 of file neugen_inputs.cxx. References _inclusive, set_dis_sum(), set_qel_sum(), and set_res_sum(). 00341 {
00342 _inclusive = on;
00343
00344 set_qel_sum(on);
00345 set_res_sum(on);
00346 set_dis_sum(on);
00347 }
|
|
|
Definition at line 370 of file neugen_inputs.cxx. References _init_state_code, _init_state_str, and neugen_initial_state_code(). 00371 {
00372 _init_state_str = init_state;
00373 _init_state_code = neugen_initial_state_code(init_state);
00374 }
|
|
|
Definition at line 231 of file neugen_inputs.cxx. References _nbins. 00232 {
00233 _nbins = nbins;
00234 }
|
|
|
Definition at line 306 of file neugen_inputs.cxx. References _nu_type_code, _nu_type_str, and neugen_neutrino_code(). 00307 {
00308 _nu_type_str = neutrino;
00309 _nu_type_code = neugen_neutrino_code(neutrino);
00310 }
|
|
|
Definition at line 278 of file neugen_inputs.cxx. References _plot_var_code, _plot_var_str, and neugen_variable_code(). 00279 {
00280 _plot_var_str = plot_variable;
00281 _plot_var_code = neugen_variable_code(plot_variable);
00282 }
|
|
|
Definition at line 301 of file neugen_inputs.cxx. References _plot_var_max. 00302 {
00303 _plot_var_max = var_max;
00304 }
|
|
|
Definition at line 296 of file neugen_inputs.cxx. References _plot_var_min. 00297 {
00298 _plot_var_min = var_min;
00299 }
|
|
|
Definition at line 236 of file neugen_inputs.cxx. References _qel_bit_in_mask, and compute_process_mask(). 00237 {
00238 ( on ) ? _qel_bit_in_mask = 1 : _qel_bit_in_mask = 0;
00239
00240 compute_process_mask();
00241 }
|
|
|
Definition at line 349 of file neugen_inputs.cxx. References _qel_sum, and bool2int(). Referenced by set_inclusive().
|
|
|
Definition at line 290 of file neugen_inputs.cxx. References _plot_range_code, _plot_range_str, and neugen_plot_range_code(). 00291 {
00292 _plot_range_str = range;
00293 _plot_range_code = neugen_plot_range_code(range);
00294 }
|
|
|
Definition at line 243 of file neugen_inputs.cxx. References _res_bit_in_mask, and compute_process_mask(). 00244 {
00245 ( on ) ? _res_bit_in_mask = 1 : _res_bit_in_mask = 0;
00246
00247 compute_process_mask();
00248 }
|
|
|
Definition at line 354 of file neugen_inputs.cxx. References _res_sum, and bool2int(). Referenced by set_inclusive().
|
|
|
Definition at line 318 of file neugen_inputs.cxx. References _target_code, and _target_str. 00319 {
00320 _target_str = ""; // unused
00321 _target_code = 0; // unused
00322 }
|
|
|
Definition at line 312 of file neugen_inputs.cxx. References _wcurrent_code, _wcurrent_str, and neugen_weak_current_code(). 00313 {
00314 _wcurrent_str = wcurrent;
00315 _wcurrent_code = neugen_weak_current_code(wcurrent);
00316 }
|
|
|
Definition at line 257 of file neugen_inputs.cxx. References _xsec_type_code, _xsec_type_str, and neugen_xsec_type_code(). 00258 {
00259 _xsec_type_str = xsec_type;
00260 _xsec_type_code = neugen_xsec_type_code(xsec_type);
00261 }
|
|
|
Definition at line 57 of file neugen_inputs.h. 00057 { return _target_code; }
|
|
|
Definition at line 78 of file neugen_inputs.h. 00078 { return _target_str; }
|
|
|
Definition at line 56 of file neugen_inputs.h. 00056 { return _wcurrent_code; }
|
|
|
Definition at line 77 of file neugen_inputs.h. 00077 { return _wcurrent_str; }
|
|
|
Definition at line 98 of file neugen_inputs.cxx. References _cut_var_code, _cut_var_max, _cut_var_min, _dis_sum, _e, _emax, _emin, _final_state_code, _flux_id_code, _init_state_code, _nbins, _nu_type_code, _plot_range_code, _plot_var_code, _plot_var_max, _plot_var_min, _process_mask_code, _qel_sum, _res_sum, _target_code, _wcurrent_code, and _xsec_type_code. Referenced by nulook_wrapper::create_neugen_inputs_card(). 00099 {
00100 // This methods writes out the object state in the form of 'data cards' that
00101 // NeuGEN understands.
00102 //
00103 ofstream data_card(filename);
00104
00105 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00106 << _nbins
00107 << " \\\\ nbins: number of points in plot "
00108 << endl;
00109 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00110 << _xsec_type_code
00111 << " \\\\ xsec type: 1=total, 2=differential "
00112 << endl;
00113 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00114 << _emin
00115 << " \\\\ xsec type=1 - Emin "
00116 << endl;
00117 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00118 << _emax
00119 << " \\\\ - Emax "
00120 << endl;
00121 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00122 << _e
00123 << " \\\\ xsec type=2 - E "
00124 << endl;
00125 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00126 << _plot_var_code
00127 << " \\\\ plot variable "
00128 << endl;
00129 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00130 << _flux_id_code
00131 << " \\\\ flux id (1=ANL, 2=GGM, 3=BNL, 4=BEBC) "
00132 << endl;;
00133 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00134 << _plot_range_code
00135 << " \\\\ plot range (1=auto, 2=custom) "
00136 << endl;
00137 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00138 << _plot_var_min
00139 << " \\\\ plot range - min "
00140 << endl;
00141 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00142 << _plot_var_max
00143 << " \\\\ - max "
00144 << endl;
00145 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00146 << _nu_type_code
00147 << " \\\\ neutrino (nue/bar=5/6, numu/bar=7/8, nutau/bar=9/10 "
00148 << endl;
00149 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00150 << _wcurrent_code
00151 << " \\\\ weak current (1=CC, 2=NC, 3=BOTH) "
00152 << endl;
00153 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00154 << _target_code
00155 << " \\\\ target: nucleus / particle code, -1 for isoscalar "
00156 << endl;
00157 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00158 << _final_state_code
00159 << " \\\\ final state - in the form pn+-0 "
00160 << endl;
00161 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00162 << _init_state_code
00163 << " \\\\ initial state - (1=v-p, 2=v-n, 3=vbar-p, 4=vbar-n "
00164 << endl;
00165 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00166 << _process_mask_code
00167 << " \\\\ process mask: bits for qel, res, dis, coh "
00168 << endl;
00169 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00170 << _cut_var_code
00171 << " \\\\ cuts variable (0=none, 1=|q^2|, 2=W, 3=x, 4=y "
00172 << endl;
00173 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00174 << _cut_var_min
00175 << " \\\\ cut variable - min "
00176 << endl;
00177 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00178 << _cut_var_max
00179 << " \\\\ - max "
00180 << endl;
00181 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00182 << _qel_sum
00183 << " \\\\ qelsum: >0 means add qel channel "
00184 << endl;
00185 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00186 << _res_sum
00187 << " \\\\ ressum: >0 means add all res channels "
00188 << endl;
00189 data_card << setiosflags(ios::left) << setfill(' ') << setw(9)
00190 << _dis_sum
00191 << " \\\\ dissum: >0 means add all dis "
00192 << endl;
00193 }
|
|
|
Definition at line 51 of file neugen_inputs.h. 00051 { return _xsec_type_code; }
|
|
|
Definition at line 72 of file neugen_inputs.h. 00072 { return _xsec_type_str; }
|
|
||||||||||||
|
Definition at line 30 of file neugen_inputs.cxx. 00031 {
00032 conf.print(stream);
00033 return stream;
00034 }
|
|
|
Definition at line 143 of file neugen_inputs.h. Referenced by get_cuts(), init(), neugen_inputs(), print(), set_cut_var(), and write_neugen_input_card(). |
|
|
Definition at line 145 of file neugen_inputs.h. Referenced by get_cuts(), init(), neugen_inputs(), print(), set_cut_var_max(), and write_neugen_input_card(). |
|
|
Definition at line 144 of file neugen_inputs.h. Referenced by get_cuts(), init(), neugen_inputs(), print(), set_cut_var_min(), and write_neugen_input_card(). |
|
|
Definition at line 172 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_cut_var(). |
|
|
Definition at line 153 of file neugen_inputs.h. Referenced by compute_process_mask(), init(), neugen_inputs(), print(), and set_dis_bit_in_mask(). |
|
|
Definition at line 148 of file neugen_inputs.h. Referenced by dis_sum(), get_cuts(), init(), neugen_inputs(), print(), set_dis_sum(), and write_neugen_input_card(). |
|
|
Definition at line 131 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_e(), and write_neugen_input_card(). |
|
|
Definition at line 130 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_e_max(), and write_neugen_input_card(). |
|
|
Definition at line 129 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_e_min(), and write_neugen_input_card(). |
|
|
Definition at line 158 of file neugen_inputs.h. Referenced by get_final_state(), init(), neugen_final_state_code(), and neugen_inputs(). |
|
|
Definition at line 157 of file neugen_inputs.h. Referenced by get_final_state(), init(), neugen_final_state_code(), and neugen_inputs(). |
|
|
Definition at line 160 of file neugen_inputs.h. Referenced by get_final_state(), init(), neugen_final_state_code(), and neugen_inputs(). |
|
|
Definition at line 161 of file neugen_inputs.h. Referenced by get_final_state(), init(), neugen_final_state_code(), and neugen_inputs(). |
|
|
Definition at line 159 of file neugen_inputs.h. Referenced by get_final_state(), init(), neugen_final_state_code(), and neugen_inputs(). |
|
|
Definition at line 140 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_final_state(), and write_neugen_input_card(). |
|
|
Definition at line 170 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_final_state(). |
|
|
Definition at line 133 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_flux(), and write_neugen_input_card(). |
|
|
Definition at line 165 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_flux(). |
|
|
Definition at line 149 of file neugen_inputs.h. Referenced by set_inclusive(). |
|
|
Definition at line 141 of file neugen_inputs.h. Referenced by get_interaction(), init(), neugen_inputs(), print(), set_initial_state(), and write_neugen_input_card(). |
|
|
Definition at line 171 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_initial_state(). |
|
|
Definition at line 127 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_nbins(), and write_neugen_input_card(). |
|
|
Definition at line 137 of file neugen_inputs.h. Referenced by get_interaction(), init(), neugen_inputs(), print(), set_neutrino(), and write_neugen_input_card(). |
|
|
Definition at line 167 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_neutrino(). |
|
|
Definition at line 134 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_range(), and write_neugen_input_card(). |
|
|
Definition at line 166 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_range(). |
|
|
Definition at line 132 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_plot_var(), and write_neugen_input_card(). |
|
|
Definition at line 136 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_plot_var_max(), and write_neugen_input_card(). |
|
|
Definition at line 135 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_plot_var_min(), and write_neugen_input_card(). |
|
|
Definition at line 164 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_plot_var(). |
|
|
Definition at line 142 of file neugen_inputs.h. Referenced by compute_process_mask(), get_cuts(), init(), neugen_inputs(), print(), and write_neugen_input_card(). |
|
|
Definition at line 151 of file neugen_inputs.h. Referenced by compute_process_mask(), init(), neugen_inputs(), print(), and set_qel_bit_in_mask(). |
|
|
Definition at line 146 of file neugen_inputs.h. Referenced by get_cuts(), init(), neugen_inputs(), print(), qel_sum(), set_qel_sum(), and write_neugen_input_card(). |
|
|
Definition at line 152 of file neugen_inputs.h. Referenced by compute_process_mask(), init(), neugen_inputs(), print(), and set_res_bit_in_mask(). |
|
|
Definition at line 147 of file neugen_inputs.h. Referenced by get_cuts(), init(), neugen_inputs(), print(), res_sum(), set_res_sum(), and write_neugen_input_card(). |
|
|
Definition at line 139 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_target(), and write_neugen_input_card(). |
|
|
Definition at line 169 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_target(). |
|
|
Definition at line 138 of file neugen_inputs.h. Referenced by get_interaction(), init(), neugen_inputs(), print(), set_wcurrent(), and write_neugen_input_card(). |
|
|
Definition at line 168 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_wcurrent(). |
|
|
Definition at line 128 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), print(), set_xsec_type(), and write_neugen_input_card(). |
|
|
Definition at line 163 of file neugen_inputs.h. Referenced by init(), neugen_inputs(), and set_xsec_type(). |
1.3.9.1