Changeset 1420
- Timestamp:
- 07/16/02 17:20:59 (22 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/Camera
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.h
r1257 r1420 19 19 //= 20 20 //= $RCSfile: camera.h,v $ 21 //= $Revision: 1. 7$21 //= $Revision: 1.8 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2002-0 3-15 16:06:53 $23 //= $Date: 2002-07-16 16:20:23 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 287 287 int *incph, // total number of cph read 288 288 float *tmin_ns, // minimum arrival time of all phes 289 float *tmax_ns // maximum arrival time of all phes 290 ); 289 float *tmax_ns, // maximum arrival time of all phes 290 int star // 0 if the photon provides the starfield -1 doesn't provide of the starfield 291 ); 291 292 292 293 int produce_nsbrates( char *inname, … … 317 318 /* 318 319 *$Log: not supported by cvs2svn $ 320 *Revision 1.7 2002/03/15 16:06:53 blanch 321 *Library time.h has been added. 322 * 319 323 *Revision 1.6 2001/04/09 14:39:47 magicsol 320 324 *Flag that indicates version of reflector format to read: REFL_VERSION has -
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r1253 r1420 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.1 6$21 //= $Revision: 1.17 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2002-0 3-15 15:17:18$23 //= $Date: 2002-07-16 16:20:41 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 77 77 static char CT_filename[PATH_MAX_LENGTH]; //@< name of the CT def. file 78 78 static char NSB_directory[PATH_MAX_LENGTH]; //@< database for NSB 79 static int Starfield_rotate = FALSE; //@< switch on starfield rotation 79 80 static int ElecNoise = TRUE; //@< Will we add ElecNoise? 80 81 static float FADC_Noise = 2.0; //@< Value for FADC ElecNoise … … 283 284 break; 284 285 286 case sfr_on: //@< simulate starfield rotation? 287 288 // we will simulate Starfield rotation 289 Starfield_rotate = TRUE; 290 291 break; 292 293 285 294 case nsb_on: //@< simulate NSB? 286 295 … … 634 643 *ds=Starfield_center[5]; 635 644 } 636 //!@} 637 645 //!----------------------------------------------------------- 646 // @name get_starfield_rotate 647 // 648 // @Starfield_rotate 649 // 650 // @return 651 // 652 //------------------------------------------------------------ 653 // @function 654 655 //!@{ 656 int 657 get_starfield_rotate(void) 658 { 659 return(Starfield_rotate); 660 } 661 662 663 //!@} 638 664 //!----------------------------------------------------------- 639 665 // @name get_data_filename … … 1346 1372 // 1347 1373 // $Log: not supported by cvs2svn $ 1374 // Revision 1.16 2002/03/15 15:17:18 blanch 1375 // Several modification needed to simulate the actual trigger zone. 1376 // 1348 1377 // Revision 1.15 2002/03/04 17:15:51 blanch 1349 1378 // An item, which allows to switch off the storage of the RawEvt, has been -
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
r1254 r1420 19 19 //= 20 20 //= $RCSfile: creadparam.h,v $ 21 //= $Revision: 1.1 4$21 //= $Revision: 1.15 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2002-0 3-15 15:17:57$23 //= $Date: 2002-07-16 16:20:59 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 158 158 T(fadc_noise), /* ElecNoise for FADC */\ 159 159 T(trig_noise), /* ElecNoise for trigger */\ 160 T(sfr_on), /* starfield rotation */ \ 160 161 T(nsb_on), /* activates NSB simulation */ \ 161 162 T(nsb_off), /* de-activates NSB simulation */ \ … … 232 233 char *get_starfield_filename(void); 233 234 void get_starfield_center(int *rh,int *rm,int *rs,int *dd,int *dm,int *ds); 235 int get_starfield_rotate(void); 234 236 char *get_data_filename(void); 235 237 char *get_root_filename(void); … … 285 287 /* 286 288 * $Log: not supported by cvs2svn $ 289 * Revision 1.14 2002/03/15 15:17:57 blanch 290 * Header file for creadparam.cxx v 1.16 291 * 287 292 * Revision 1.13 2002/03/04 17:20:50 blanch 288 293 * Header file for creadparam.cxx 1.15
Note:
See TracChangeset
for help on using the changeset viewer.