Commit a3b2546a5088a8e9ad7a7c700399b729c462c76d

Authored by knodlseder
1 parent 28bffd7d

do not set fixed GTI anymore (now read from file)

Showing 1 changed file with 3 additions and 10 deletions
src/ctlike/ctlike.cpp
... ... @@ -248,7 +248,7 @@ void ctlike::unbinned(const std::string& evfile)
248 248 // data do not contain any ROI informations.
249 249 GCTAInstDir instDir;
250 250 GCTARoi roi;
251   - instDir.radec_deg(117.02, -33.35); // Adapt to file
  251 + instDir.radec_deg(83.6331, 22.0145); // Adapt to file
252 252 roi.centre(instDir);
253 253 roi.radius(2.5);
254 254  
... ... @@ -256,22 +256,15 @@ void ctlike::unbinned(const std::string& evfile)
256 256 // test data do not contain any energy range information
257 257 GEnergy emin;
258 258 GEnergy emax;
259   - emin.TeV(0.02);
  259 + emin.TeV(0.1);
260 260 emax.TeV(100.0);
261 261  
262   - // DUMMY: Setup time range covered by data. This is needed since actual
263   - // test data do not contain any time range information
264   - GTime tstart;
265   - GTime tstop;
266   - tstart.met(0.0);
267   - tstop.met(10000.0);
268   -
269 262 // Load data and response and set ROI, energy range and time range
270 263 // for analysis
271 264 run.load_unbinned(evfile);
272 265 run.response(m_irf, m_caldb);
273 266 run.roi(roi);
274   - run.gti()->add(tstart, tstop);
  267 + //run.gti()->add(tstart, tstop);
275 268 run.ebounds()->append(emin, emax);
276 269 m_obs.append(run);
277 270  
... ...