1 / 6

Generating post-DC2 IRFs: a proposal

Generating post-DC2 IRFs: a proposal. Toby Burnett. The procedure. All-gamma file(s). Class definition, e.g. DC2::FrontA. Select events. Effective area binning. PSF binning. dispersion binning. Histograms in energy difference. Histograms in angular deviation.

beck
Download Presentation

Generating post-DC2 IRFs: a proposal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Generating post-DC2 IRFs:a proposal Toby Burnett

  2. The procedure All-gamma file(s) Class definition, e.g. DC2::FrontA Select events Effective area binning PSF binning dispersion binning Histograms in energy difference Histograms in angular deviation Histograms in angular deviation Apply scale factor Fit PSF function Fit to dispersion function Tables in angle, energy Tables in angle, energy Function representations Tables in angle, energy

  3. Procedure, cont. Tables in angle, energy Tables in angle, energy Tables in angle, energy convert to FITS CALDBdata base Class definition, e.g. DC2::FrontA IRF factory Function representations Irfs

  4. A new package demonstrates the proposal • All code (generation, reading/writing database, access) in one package • Irf creation in two stages: prune, then fit. Fitting stage at most 30 s. • Same function definitions used for both fitting and evaluation • Same (logE,cos) binning for PSF and dispersion: (0.5 x 0.1) effective area subdivides: (0.25 x 0.02) • Reproduces DC2 fits, aeff. • Data base is not (for now) CALDB: it uses ROOT instead • One file structured with TDirectory: top level is the class name, then next level currently “front” or “back”. • Each final directory has TH2F objects representing tables of the effective area and each of the parameters • Use ROOT to create the tables, and look up a value. (no interpolation yet)

  5. Next, if accepted • Get help!!! • Need to implement the integrals, hopefully by a superclass • Documentation, especially for procedures to create new IRF’s • Currently pretty easy, but could be streamlined, maybe use STapp framework. • More testing, especially gtlikelihood failure with DC2 Irfs. • Connect to CALDB if needed

  6. Example simple test • Use Jim’s pyIrfLoader (thanks, Jim!) • Expose his Loader() and the new (added) irfLoader(): run both to load old and new. • Create old and new Irfs objects: • dc2FA = IrfsFactory.instance().create('DC2::FrontA') #old • afront = IrfsFactory.instance().create('classA/front') #new • Write simple loop to generate data for plot at right. • Note that the tail on the new classA/front does not agree: the new functional form allows for a different powerlaw tail (see the slight kink at 0.9 deg.) • psf_bin4 is CTBCORE>0.9.

More Related