Index: branches/Mars_use_drstimefiles/fact/analysis/callisto_drstime.C
===================================================================
--- branches/Mars_use_drstimefiles/fact/analysis/callisto_drstime.C	(revision 17990)
+++ branches/Mars_use_drstimefiles/fact/analysis/callisto_drstime.C	(revision 17992)
@@ -260,6 +260,6 @@
     factfits drs_time_file(drs_time_file_path);
 
-    const int NumberOfChips = 160;
-    const int NumberOfCells = 1024;
+    const int NumberOfChips = drs_time_file.GetInt("NCHIPS");
+    const int NumberOfCells = drs_time_file.GetInt("NCELLS");
     timecam.fStat.resize(NumberOfChips * NumberOfCells);
     double *drs_sampling_time_deviations = new double[NumberOfChips * NumberOfCells];
