- Timestamp:
- 09/17/04 15:48:22 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r5077 r5103 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.2 8$21 //= $Revision: 1.29 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-09-1 6 15:27:08$23 //= $Date: 2004-09-17 14:48:21 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// 26 26 27 // @T \newpage28 29 //!@section Source code of |creadparam.cxx|.30 31 /*!@"32 33 This section describes briefly the source code for the file34 |creadparam.cxx|. This file is very closely related to the file35 |readparams.cxx| from the |reflector| program. Actually, this later36 file was the ancestror of the file you are looking at.37 38 All the defines it uses are located in the file |creadparam.h|. In39 the first one we can see the definitions of the commands available40 for the parameters file. We describe these commands in a later41 section.42 43 @"*/44 45 //!@subsection Includes and Global variables definition.46 47 /*!@"48 49 All the defines are located in the file {\tt creadparam.h}.50 51 @"*/52 53 //!@{54 27 55 28 #include "creadparam.h" 56 29 #include "camera.h" // Needed for MAX_NUMBER_OF_CTS 57 30 58 //!@} 59 60 //!@subsection Definition of global variables. 61 62 /*!@" 63 64 Here we define the global variables where the values from the 65 parameters file are stored. 66 67 @"*/ 68 69 //!@{ 31 // Here we define the global variables where the values from the 32 // parameters file are stored. 70 33 71 34 static char **Input_filename; //@< input filename … … 147 110 // Coordinates of CT locations, in centimeters, in the Corsika system. 148 111 149 //!@}150 151 //!@subsection The function |readparam()|.152 153 //!-----------------------------------------------------------154 // @name creadparam155 //156 // @desc read parameters from the stdin / parameters file157 //158 // @var *filename Name of the parameters file (NULL->STDIN)159 //160 // @date Mon Sep 14 13:27:56 MET DST 1998161 //------------------------------------------------------------162 // @function163 164 //!@{165 112 void 166 113 readparam(char * filename) … … 336 283 // 337 284 338 if (fmod( FADC_pedestal,1.) > 1.e-4)285 if (fmod((double)FADC_pedestal, (double)1.) > 1.e-4) 339 286 { 340 287 printf("ERROR : requested average FADC pedestal (%f) is not integer. Please use an integer value.\n", FADC_pedestal); … … 1409 1356 } 1410 1357 1411 1412 1413 //!@}1414 1358 //=------------------------------------------------------------ 1415 1359 //!@subsection Log of this file. … … 1418 1362 // 1419 1363 // $Log: not supported by cvs2svn $ 1364 // Revision 1.28 2004/09/16 15:27:08 moralejo 1365 // Updated in CVS after some time (see changes below) 1366 // 1420 1367 // 1421 1368 // Revision 1.27 2004/05/12 A. Moralejo
Note:
See TracChangeset
for help on using the changeset viewer.