Changeset 1704 for trunk/MagicSoft/Simulation/Detector/Camera
- Timestamp:
- 01/14/03 13:37:47 (22 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/Camera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r1420 r1704 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.1 7$21 //= $Revision: 1.18 $ 22 22 //= $Author: blanch $ 23 //= $Date: 200 2-07-16 16:20:41$23 //= $Date: 2003-01-14 13:37:47 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 87 87 static float qThreshold[CAMERA_PIXELS]; //@< Threshold values 88 88 static int Individual_Thres = FALSE; 89 static float RiseDisc = -1.0; 90 static float SecureDisc = 7.0; 89 91 static float qTailCut; //@< Tail Cut value 90 92 static int nIslandsCut; //@< Islands Cut value … … 159 161 char token[ITEM_MAX_LENGTH]; //@< a single token 160 162 int i, j, k; //@< dummy counters 161 float aux ; //@< auxiliar variable163 float aux, aux2; //@< auxiliar variable 162 164 ifstream ifile; 163 165 … … 336 338 break; 337 339 340 case secure_disc: //@< value of secure threshold 341 342 // get value of secure threshold (in ph.e.) 343 sscanf(line, "%s %f %f", token,&aux, &aux2); 344 RiseDisc=aux; 345 SecureDisc=aux2; 346 347 break; 348 338 349 case tail_cut: //@< value of tail_cut (t0) 339 350 … … 821 832 //!@} 822 833 834 //!----------------------------------------------------------- 835 // @name get_secure_threhold 836 // 837 // @desc get values for secure threshold. 838 // 839 // @return AC (ac)value above which discriminator threshold rised to disc 840 // 841 // @date Wed Jul 18 16:29:43 CEST 2001 842 //------------------------------------------------------------ 843 // @function 844 845 //!@{ 846 void 847 get_secure_threhold(float *ac, float *disc) 848 { 849 *ac=RiseDisc; 850 *disc=SecureDisc; 851 } 852 //!@} 823 853 824 854 //!----------------------------------------------------------- … … 1372 1402 // 1373 1403 // $Log: not supported by cvs2svn $ 1404 // Revision 1.17 2002/07/16 16:20:41 blanch 1405 // Modifications done for the camera.cxx version, where a first implementation 1406 // of the Star Field Rotation has been introduced. 1407 // 1374 1408 // Revision 1.16 2002/03/15 15:17:18 blanch 1375 1409 // Several modification needed to simulate the actual trigger zone. -
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
r1420 r1704 19 19 //= 20 20 //= $RCSfile: creadparam.h,v $ 21 //= $Revision: 1.1 5$21 //= $Revision: 1.16 $ 22 22 //= $Author: blanch $ 23 //= $Date: 200 2-07-16 16:20:59$23 //= $Date: 2003-01-14 13:37:32 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 164 164 T(nsb_directory), /* database for the NSB */ \ 165 165 T(pixel_thres), /* value of q0 for trigger for a given pixel */ \ 166 T(secure_disc), /* Ac value to rise discrimnator threshold */ \ 166 167 T(tail_cut), /* value of tail cut (t0) */ \ 167 168 T(islands_on), /* DO count islands */ \ … … 268 269 void get_Trigger_Single(float *t, int *m, int *g); 269 270 void get_threshold(float *t); 271 void get_secure_threhold(float *ac, float *disc); 270 272 int get_indi_thres_pixel(void); 271 273 void get_teles_axis(float *th, float *p); … … 287 289 /* 288 290 * $Log: not supported by cvs2svn $ 291 * Revision 1.15 2002/07/16 16:20:59 blanch 292 * Modifications done for the camera.cxx version, where a first implementation 293 * of the Star Field Rotation has been introduced. 294 * 289 295 * Revision 1.14 2002/03/15 15:17:57 blanch 290 296 * Header file for creadparam.cxx v 1.16
Note:
See TracChangeset
for help on using the changeset viewer.