source: trunk/MagicSoft/Simulation/Detector/ReflectorII/parms.h@ 738

Last change on this file since 738 was 725, checked in by harald, 24 years ago
Ciro and Denis changed the reflector to read in the changed MMCS output (single file version). They made a big change of all the code. That is the reason why I put here a new reflector directory in the repository. This is the future development point for reflector. Until the next drastic change. WARNING: Reflector here is only proved on OSF!!!
File size: 2.7 KB
Line 
1#ifndef __RFL_PARMS__
2#define __RFL_PARMS__
3
4/* token definition */
5#define ITEM_LIST /* LIST OF ITEMS IN THE PARAMETERS FILE */ \
6T(output_file), /* output file */ \
7T(ct_file), /* file with the characteristics of the CT */ \
8T(atm_model), /* changes the atmospheric model to be used */ \
9T(verbose_level), /* defines verbose level of the output */ \
10T(fixed_target), /* position towards which CT is pointing */ \
11T(max_events), /* maximum number of event to read */ \
12T(energy_cuts), /* lowest/highest energy allowed */ \
13T(seeds), /* seeds for random number generation */ \
14T(random_pointing), /* random CT pointing from each shower (hadrons) */ \
15T(repeat_random), /* number of times a random pointing is to be done */ \
16T(cer_files) /* start of filename list (must be last) */
17
18#define T(x) x /* define T() as the name as it is */
19 enum { ITEM_LIST };
20#undef T
21
22#define T(x) #x /* define T() as the string of x */
23 const char *parms[] = { ITEM_LIST };
24#undef T
25#undef ITEM_LIST
26
27/* Strings */
28#define OUTF_ERROR_FTL /* output filename */ \
29 "Can't open output file: %s.\n"
30#define OUTF_OPEN__MSG /* output filename */ \
31 "Opened file \"%s\" as reflector file.\n"
32#define GEOF_ERROR_FTL /* geometry filename */ \
33 "Can't open geometry file: %s.\n"
34#define GEOF_OPEN__MSG /* geometry filename */ \
35 "Opened file \"%s\" as geometry file.\n"
36#define FIXD_TARGT_ERR /* no parms */ \
37 "Error while parsing \"fixed_target\" fields.\n" \
38 " *** Reverted back to no \"fixed_target\" condition.\n"
39#define FIXD_ENABL_MSG /* theta, phi */ \
40 "Using \"fixed_target\" mode with theta=%.2fdeg and phi=%.2fdeg.\n"
41#define MAX__EVTS__MSG /* max. nr. of evts. */ \
42 "Processing at most %ld events.\n"
43#define ENRG_LIMIT_ERR /* no parms */ \
44 "Error while parsing \"energy_cuts\" fields.\n" \
45 " *** Reverted back to no \"energy_cuts\" condition.\n"
46#define ENRG_CUTS__MSG /* Elow, Ehigh */ \
47 "Using \"energy_cuts\" mode with Elow=%.2fGeV and Ehigh=%.2fGeV.\n"
48#define SEED_ERROR_ERR /* no parms */ \
49 "Error while parsing second seed.\n"
50#define SEED_SET___MSG /* Seed1, Seed2 */ \
51 "Using seeds %ld and %ld.\n"
52#define FLST_NSPEC_FTL /* no parms */ \
53 "No input file specified.\n" \
54 " *** Please specify some input file after the cer_files directive.\n"
55#define FLST_NFND__FTL /* filelist */ \
56 "Cannot find filelist \"%s\".\n"
57#define CERF_NSPEC_FTL /* no parms */ \
58 "No specified input file could be opened.\n" \
59 " *** Please specify some *valid* filename after the cer_files directive.\n"
60
61#endif
Note: See TracBrowser for help on using the repository browser.