Changeset 1523
- Timestamp:
- 09/13/02 11:56:39 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MLons/MLons.cxx
r1418 r1523 143 143 144 144 Char_t filename_slt[256]; 145 Char_t cbright[ 5];146 Char_t cstoredbright[ 5];145 Char_t cbright[10]; 146 Char_t cstoredbright[10]; 147 147 148 148 Int_t i; … … 162 162 // NOTE: Same means, the smae inside the required precision!!! 163 163 164 sprintf(cbright,"%3.1f",in_br); 165 sprintf(cstoredbright,"%3.1f",MSLStored.GetBrightness()); 166 164 if(in_br<1.0){ 165 sprintf(cbright,"%4.2f",in_br); 166 sprintf(cstoredbright,"%4.2f",MSLStored.GetBrightness()); 167 } 168 else{ 169 sprintf(cbright,"%3.1f",in_br); 170 sprintf(cstoredbright,"%3.1f",MSLStored.GetBrightness()); 171 } 167 172 if (strcmp(cbright, cstoredbright)){ 168 173
Note:
See TracChangeset
for help on using the changeset viewer.