Ignore:
Timestamp:
01/21/00 16:39:25 (25 years ago)
Author:
petry
Message:
One cosmetic change and a change in the naming of the cer and
sta output file: the sign of the DEC is now ignored.
(Have to think of something better later).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Starfield/starfield.cxx

    r341 r343  
    99#include "starfield.h"
    1010
    11 #define PROGRAMID "$Id: starfield.cxx,v 1.1 2000-01-21 13:36:36 petry Exp $"
     11#define PROGRAMID "$Id: starfield.cxx,v 1.2 2000-01-21 16:39:25 petry Exp $"
    1212
    1313/////////////////////////////////////////////////////////////////////////
     
    280280  } // end star loop
    281281
    282   if (pars.verbose) cout << "Total number of photons accepted = " <<  totalphotinside << "\n";
     282  cout << "Total number of photons accepted = " <<  totalphotinside << "\n";
    283283
    284284  convertcorsika(
    285                  ((int)pars.ct_ra_h*10)*1000 + (int)(pars.ct_dec_deg*10), // the file id
     285                 ((int)pars.ct_ra_h*10)*1000 + (int)(abs(pars.ct_dec_deg)*10), // the file id
    286286                  totalphotinside, photons, pars.integtime_s, pars.verbose);
    287287   
Note: See TracChangeset for help on using the changeset viewer.