Changeset 17276 for trunk/FACT++/src
- Timestamp:
- 10/20/13 19:15:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataWriteFits2.cc
r17266 r17276 179 179 Error("ofits - file '"+fFileName+"' already exists."); 180 180 return false; 181 } 182 183 zofits *fits = dynamic_cast<zofits*>(fFile.get()); 184 if (fits) 185 { 186 // Maximum number of tiles setup by user 187 uint32_t num = zofits::DefaultMaxNumTiles(); 188 189 // Maximum number if data is taken with 100Hz 190 if (d.maxtime*100<num) 191 num = d.maxtime*100/zofits::DefaultNumRowsPerTile()+1; 192 193 // Maximum number if number is known 194 if (d.maxevt<num) 195 num = d.maxevt/zofits::DefaultNumRowsPerTile()+1; 196 197 fits->SetNumTiles(num); 181 198 } 182 199
Note:
See TracChangeset
for help on using the changeset viewer.