Commit 9989c919d85c33aaff5016aa0b39e6318df88bac

Authored by knodlseder
1 parent 7fba625a

Do not require Hillas columns for event list format v0.

inst/cta/src/GCTAEventList.cpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GCTAEventList.cpp - CTA event atom container class * 2 * GCTAEventList.cpp - CTA event atom container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2010-2011 by Juergen Knoedlseder * 4 + * copyright (C) 2010-2012 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -625,10 +625,6 @@ void GCTAEventList::read_events_v0(const GFitsTable* table) @@ -625,10 +625,6 @@ void GCTAEventList::read_events_v0(const GFitsTable* table)
625 GFitsTableFloatCol* ptr_xmax_err = (GFitsTableFloatCol*)&(*table)["XMAX_ERR"]; 625 GFitsTableFloatCol* ptr_xmax_err = (GFitsTableFloatCol*)&(*table)["XMAX_ERR"];
626 GFitsTableFloatCol* ptr_energy = (GFitsTableFloatCol*)&(*table)["ENERGY"]; 626 GFitsTableFloatCol* ptr_energy = (GFitsTableFloatCol*)&(*table)["ENERGY"];
627 GFitsTableFloatCol* ptr_energy_err = (GFitsTableFloatCol*)&(*table)["ENERGY_ERR"]; 627 GFitsTableFloatCol* ptr_energy_err = (GFitsTableFloatCol*)&(*table)["ENERGY_ERR"];
628 - GFitsTableFloatCol* ptr_hil_msw = (GFitsTableFloatCol*)&(*table)["HIL_MSW"];  
629 - GFitsTableFloatCol* ptr_hil_msw_err = (GFitsTableFloatCol*)&(*table)["HIL_MSW_ERR"];  
630 - GFitsTableFloatCol* ptr_hil_msl = (GFitsTableFloatCol*)&(*table)["HIL_MSL"];  
631 - GFitsTableFloatCol* ptr_hil_msl_err = (GFitsTableFloatCol*)&(*table)["HIL_MSL_ERR"];  
632 628
633 // Copy data from columns into GCTAEventAtom objects 629 // Copy data from columns into GCTAEventAtom objects
634 GCTAEventAtom event; 630 GCTAEventAtom event;