Changeset 2289
- Timestamp:
- 07/17/03 19:05:13 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
r1704 r2289 19 19 //= 20 20 //= $RCSfile: creadparam.h,v $ 21 //= $Revision: 1.1 6$21 //= $Revision: 1.17 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2003-0 1-14 13:37:32$23 //= $Date: 2003-07-17 18:05:13 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 154 154 T(root_file), /* ROOT file */ \ 155 155 T(ct_file), /* file with the characteristics of the CT */ \ 156 T(qe_file), /* file with the characteristics of the CT */ \ 156 157 T(ana_pixels), /* size of the camera for parameters calculation */ \ 157 158 T(elec_noise_off), /* de-activates ElecNoise for FADC and Trigger channels */\ 159 T(fadc_pedestal), /* Pedestal value for FADC */\ 158 160 T(fadc_noise), /* ElecNoise for FADC */\ 159 161 T(trig_noise), /* ElecNoise for trigger */\ … … 163 165 T(nsb_mean), /* mean value of NSB contribution per pixel */ \ 164 166 T(nsb_directory), /* database for the NSB */ \ 167 T(nsb_dir_outer), /* database for the NSB */ \ 165 168 T(pixel_thres), /* value of q0 for trigger for a given pixel */ \ 166 169 T(secure_disc), /* Ac value to rise discrimnator threshold */ \ 167 T(tail_cut), /* value of tail cut (t0) */ \168 T(islands_on), /* DO count islands */ \169 T(islands_off), /* do NOT count islands */ \170 T(islands_cut), /* value of islands cut (i0) */ \171 170 T(seeds), /* seeds for random number generation */ \ 172 171 T(data_from_stdin), /* to read data from STDIN */ \ 173 172 T(skip), /* skip pathological showers */ \ 174 T(read_phe_all), /* id., but was processed with write_all_events */ \175 T(read_phe), /* read an already camera processed file */ \176 173 T(write_all_events),/* write to file .phe ALL images (even w.o. trigger)*/ \ 177 174 T(nowrite_McEvt), /* nowrite to file .root McEvt infos */ \ … … 181 178 T(write_all_data), /* write to file .dat ALL image data */ \ 182 179 T(select_energy), /* energy range to read: only for .phe files */ \ 183 T(trigger_radius), /* trigger radius for the camera */ \184 T(correction), /* factor for correction in the pixel values */ \185 180 T(trigger_scan), /* show signal in the diskriminator */ \ 186 181 T(fadc_scan), /* show fadc signal */ \ … … 188 183 T(trigger_prop), /* values of trigger properties */ \ 189 184 T(fadc_prop), /* values of fadc properties */ \ 185 T(fadc_outer), /* values of fadc properties for outer pixels */ \ 190 186 T(trigger_single), /* trigger conditions */ \ 191 187 T(Trigger_Loop_Output_Only_Specialists), /* special steercard */ \ 192 T(telescope_axis), /* Direction of the axis telescope */ \193 188 T(source_offset), /* Displacement of the source from the center */ \ 194 T(corsika_vers), /* Version of Corsika */ \195 189 T(end_file) /* end of the parameters file */ 196 190 … … 214 208 #define ITEM_MAX_LENGTH 40 215 209 #define PATH_MAX_LENGTH 120 216 217 // mean values of NSB contribution per pixel218 219 static const float Mean_NSB_MAGIC = 5.0; //@< for MAGIC220 static const float Mean_NSB_CT1 = 5.0; //@< for CT1221 210 222 211 //!@} … … 239 228 char *get_loop_filename(void); 240 229 char *get_ct_filename(void); 230 char *get_qe_filename(void); 241 231 char *get_nsb_directory(void); 232 char *get_nsb_directory_outer(void); 242 233 int add_elec_noise(float *fadc, float *trig); 243 234 int get_nsb(float *n, int *m); 244 float get_tail_cut(void);245 int get_islands_cut(int *n);246 235 long int get_seeds(int n); 247 236 int get_ana_pixels(void); … … 249 238 int get_nskip_showers( void ); 250 239 int get_data_from_stdin(void); 251 int get_read_phe(void);252 int get_read_phe_all(void);253 240 int get_write_all_events(void); 254 //255 241 int get_write_McEvt(void); 256 242 int get_write_McTrig(void); 257 243 int get_write_McFadc(void); 258 244 int get_write_RawEvt(void); 259 //260 245 int get_write_all_data(void); 261 246 int get_select_energy(float *le, float *ue); 262 int get_trigger_radius(float *radius);263 int get_correction(float *corr);264 247 int get_FADC_Scan(void); 265 248 int get_Trigger_Scan(void); 266 249 void get_Trigger_properties(float *gl, float *ot, float *ra, float *rf); 267 void get_FADC_properties(float *ra, float *rf); 250 void get_FADC_properties(float *ra, float *rf, float *rao, float *rfo); 251 float get_FADC_pedestal(void); 268 252 int get_Trigger_Loop(float *lt, float *ut, float *st, int *lm, int *um, int *lg, int *ug); 269 253 void get_Trigger_Single(float *t, int *m, int *g); … … 271 255 void get_secure_threhold(float *ac, float *disc); 272 256 int get_indi_thres_pixel(void); 273 void get_teles_axis(float *th, float *p);274 257 void get_source_off(float *th, float *p); 275 int get_corsika_ver(void);276 258 //!@} 277 259 … … 289 271 /* 290 272 * $Log: not supported by cvs2svn $ 273 * Revision 1.16 2003/01/14 13:37:32 blanch 274 * Option to set a dc value to rise the discriminator threshold has been added. 275 * 291 276 * Revision 1.15 2002/07/16 16:20:59 blanch 292 277 * Modifications done for the camera.cxx version, where a first implementation
Note:
See TracChangeset
for help on using the changeset viewer.