- Timestamp:
- 01/14/03 13:37:47 (22 years ago)
- File:
-
- 1 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.
Note:
See TracChangeset
for help on using the changeset viewer.