SatAndLight  2.2.2-hubble
Simulation toolkit for space telescopes
snl-psf.cc File Reference

This program is designed to produce a telescope PSF object. More...

#include "Options.h"
#include <TFile.h>
#include <TFITS.h>
#include <TH3.h>
#include <TMatrixD.h>
Include dependency graph for snl-psf.cc:

Functions

int main (int argc, char *argv[])
 Generate the PSF object and save it in a ROOT file. More...
 

Detailed Description

This program is designed to produce a telescope PSF object.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Generate the PSF object and save it in a ROOT file.

The PSF object is represented by a three-dimensional histogram binned in energy (Z axis). Each energy bin is binned in the Y and Z directions. Each bin is filled with the PSF value. For more details about the PSF description, see telescope psf.

The user must provide a list of FITS files containing the image of the PSF at a given energy. The list of energies must also be provided.

Parameters
[in]argcNumber of arguments.
[in]argvList of arguments.