Ignore:
Timestamp:
05/11/04 19:32:07 (21 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae/programs
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/Makefile

    r4036 r4050  
    1818include ../../../Makefile.conf.general
    1919
    20 PROGRAMS = makeHillas psffit falseSource srcPos
     20PROGRAMS = makeHillas psffit falseSource srcPos optimizeCuts
    2121SOLIB    = $(MARSSYS)/libmars.so
    2222
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/makehillas.datacard

    r4044 r4050  
    11
    22// Maximun number of (data) events to be processed)
    3 NEVENTS 9999999
     3NEVENTS 10
    44
    55// data file directory
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/srcPos.cc

    r3973 r4050  
    4444Float_t  xsrcpos=0.;
    4545Float_t  ysrcpos=0.;
     46Float_t  mjdpos=53050;
    4647Bool_t   kRotate=1;
    4748Bool_t   kSrcPolicy=kTRUE;
     
    116117
    117118  MSrcRotate    srcrotate;
    118   srcrotate.SetRAandDEC(fRA,fDEC);
     119  srcrotate.SetRAandDECandRefMJD(fRA,fDEC,mjdpos);
    119120
    120121  MHillasSrcCalc csrc1;   
     
    194195          ifun >> xsrcpos;
    195196          ifun >> ysrcpos;       
     197          ifun >> mjdpos;
    196198        }
    197199
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/srcpos.datacard

    r3973 r4050  
    44
    55// Input file name pattern
    6 INPUTFILES  ./srposPrueba.root
     6INPUTFILES  /mnt/users/jrico/magic/mars/Mars_Standard02/mtemp/mifae/hillas/mrk20040215OnB.root
    77
    88// output file name
    9 OUTFILE  ./srposPrueba2.root
     9OUTFILE  ./srcPosPrueba.root
    1010
    11 // X and Y position of the source in degrees
    12 SRCPOS  0.2  -0.1
     11// X and Y position of the source in degrees for a MJ date (days) -important only in case of rotation
     12SRCPOS  0.21  0.176   53050.0773
    1313
    14 // Flag to determine wheter source position is absolute (0) or relative to previous position (1)
    15 SRCABS 1
     14// Flag to determine whether source position is absolute (0) or relative to previous position (1)
     15SRCABS 0
    1616
    1717// rotation flag:
     
    2121
    2222// source coordinates (RA DEC in rads)
    23 SRCCOORDS 1.46 0.384
     23// SRCCOORDS 1.46 0.384 // (Crab)
     24SRCCOORDS 2.899 0.667   // (Mrk 421)
    2425
Note: See TracChangeset for help on using the changeset viewer.