Changeset 390 for trunk/MagicSoft/Simulation
- Timestamp:
- 05/11/00 15:22:33 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r384 r390 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1. 3$21 //= $Revision: 1.4 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2000-0 3-24 18:14:05$23 //= $Date: 2000-05-11 14:22:33 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 101 101 static int Trigger_Scan = FALSE; 102 102 static int FADC_Scan = FALSE; 103 static int Trigger_Loop = FALSE; 104 static int Trigger_loop_lthres = 0; 105 static int Trigger_loop_uthres = 10; 106 static int Trigger_loop_lmult = 2; 107 static int Trigger_loop_umult = 10; 108 static int Trigger_loop_ltop = 0; 109 static int Trigger_loop_utop = 2; 103 110 //!@} 104 111 … … 400 407 break; 401 408 409 case trigger_loop: 410 411 // Get loop's limits 412 sscanf(line, "%s %d %d %d %d %d %d", token, &Trigger_loop_lthres, &Trigger_loop_uthres, &Trigger_loop_lmult, &Trigger_loop_umult, &Trigger_loop_ltop, &Trigger_loop_utop ); 413 414 // change boolean value 415 Trigger_Loop = TRUE; 416 417 break; 418 402 419 case end_file: //@< end of the parameters file 403 420 … … 921 938 return ( Apply_Correction ); 922 939 } 923 924 //!@} 940 //!@} 941 925 942 //!----------------------------------------------------------- 926 943 // @name FADC_Scan 927 944 // 928 // @desc write the FADC_Scan class for each event to the .root file929 // 930 // @return TRUE: we'll writeit; FALSE: we won't945 // @desc show the FADC signal for each event in the screen 946 // 947 // @return TRUE: we'll show it; FALSE: we won't 931 948 // 932 949 //------------------------------------------------------------ … … 940 957 } 941 958 //!@} 942 //!@} 959 943 960 //!----------------------------------------------------------- 944 961 // @name Trigger_Scan 945 962 // 946 // @desc write the Trigger_Scan class for each event to the .root file947 // 948 // @return TRUE: we'll writeit; FALSE: we won't963 // @desc show the Trigger signal for each event in the screen 964 // 965 // @return TRUE: we'll show it; FALSE: we won't 949 966 // 950 967 //------------------------------------------------------------ … … 956 973 { 957 974 return ( Trigger_Scan ); 975 } 976 //!@} 977 978 //!----------------------------------------------------------- 979 // @name Trigger_Loop 980 // 981 // @desc make a loop over Trigger conditions 982 // 983 // @return TRUE: we'll make it; FALSE: we won't 984 // 985 //------------------------------------------------------------ 986 // @function 987 988 //!@{ 989 int 990 get_Trigger_Loop(int *lt, int *ut, int *lm, int *um, int *lg, int *ug) 991 { 992 *lt=Trigger_loop_lthres; 993 *ut=Trigger_loop_uthres; 994 *lm=Trigger_loop_lmult; 995 *um=Trigger_loop_umult; 996 *lg=Trigger_loop_ltop; 997 *ug=Trigger_loop_utop; 998 return ( Trigger_Loop ); 958 999 } 959 1000 //!@} … … 966 1007 // 967 1008 // $Log: not supported by cvs2svn $ 1009 // Revision 1.3 2000/03/24 18:14:05 blanch 1010 // Parameters that tell as if we are going to see the diskriminator and/or FADC signal have been included. 1011 // 968 1012 // Revision 1.2 2000/02/18 17:45:43 petry 969 1013 // This version belongs to camera.cxx 1.5.
Note:
See TracChangeset
for help on using the changeset viewer.