Ignore:
Timestamp:
06/16/04 09:57:59 (20 years ago)
Author:
jlopez
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/Changelog

    r4293 r4294  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21  2004/06/15  Javier Lopez
     22    * library/MSrcPosFromStars.[h,cc]
     23      - Task to compute the position of a source from
     24        the positions of several stars.
     25
     26    * library/MHPSFFromStars.[h,cc]
     27      - Histogram task that holds and fills the histograms of
     28        positioning and point spread function of an star.
     29
     30    * macros/distancebetweenstars.C
     31      - Add macros that show in an histogram the distance between
     32        the stars in a field of view.
     33
     34    * macros/psffromstars.C
     35      - Add task that show the point spread funtion and positon of
     36        the most central star in the field of view. This information
     37        is compute using the MFindStars tool.
    2038
    2139 2004/06/11 Ester Aliu
  • trunk/MagicSoft/Mars/mtemp/mifae/library/IFAELinkDef.h

    r4117 r4294  
    1818#pragma link C++ class MFHVNotNominal+;
    1919#pragma link C++ class MCalibrateDC+;
     20#pragma link C++ class MHPSFFromStars+;
     21#pragma link C++ class MSrcPosFromStars+;
    2022
    2123#endif
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MCalibrateDC.cc

    r4075 r4294  
    5151using namespace std;
    5252
    53 MCalibrateDC::MCalibrateDC(TString filename, const char *name, const char *title) : fMinDCAllowed(0.5) //[ua]
     53MCalibrateDC::MCalibrateDC(TString filename, const char *name, const char *title)
    5454{
    5555  fName  = name  ? name  : "MCalibrateDC";
  • trunk/MagicSoft/Mars/mtemp/mifae/library/Makefile

    r4117 r4294  
    4444           -I../../../mcamera \
    4545           -I../../../mastro \
    46            -I../../../mhist
     46           -I../../../mhist \
     47           -I../../
    4748
    4849
     
    6061        MIslandClean.cc \
    6162        MFHVNotNominal.cc \
    62         MCalibrateDC.cc
     63        MCalibrateDC.cc \
     64        MHPSFFromStars.cc \
     65        MSrcPosFromStars.cc
    6366
    6467############################################################
  • trunk/MagicSoft/Mars/mtemp/mifae/macros/findstars.C

    r4075 r4294  
    4747
    4848
    49 void findstars(const TString filename="dc_2004_03_19_00_36_50_20781_Mrk421.root", const TString directory="/nfs/magic/CaCodata/rootdata/Mrk421/Period015/2004_03_19/", const UInt_t numEvents = 0)
     49void findstars(const TString filename="dc_2004_03_17_01_16_51_20440_Mrk421.root", const TString directory="/nfs/magic/CaCodata/rootdata/Mrk421/Period015/2004_03_17/", const UInt_t numEvents = 0)
    5050{
    5151
     
    8181  MGeomApply geomapl;
    8282  TString continuoslightfile =
    83     "/nfs/magic/CaCodata/rootdata/Miscellaneous/Period016/2004_04_16/dc_2004_04_16_04_46_18_22368_Off3c279-2CL100.root";
     83    //    "/home/Javi/mnt_magic_data/CaCo/rootdata/Miscellaneous/Period016/2004_04_16/dc_2004_04_16_04_46_18_22368_Off3c279-2CL100.root";
     84     "/nfs/magic/CaCodata/rootdata/Miscellaneous/Period016/2004_04_16/dc_2004_04_16_04_46_18_22368_Off3c279-2CL100.root";
     85
     86  Float_t mindc = 0.9; //[uA]
    8487  MCalibrateDC dccal;
    8588  dccal.SetFileName(continuoslightfile);
    86  
     89  dccal.SetMinDCAllowed(mindc);
    8790
    88   const Int_t numblind = 12;
    89   const Short_t x[numblind] = {  8,  27,
    90                                507, 508, 509, 510, 511,
    91                                543, 559, 560, 561, 567};
     91  const Int_t numblind = 5;
     92  const Short_t x[numblind] = { 47, 124, 470, 475, 571};
    9293  const TArrayS blindpixels(numblind,(Short_t*)x);
    9394  Float_t ringinterest = 100; //[mm]
    94   Float_t tailcut = 3.5;
    95   UInt_t integratedevents = 10;
     95  Float_t tailcut = 2.5;
     96  UInt_t integratedevents = 1;
    9697
    9798  MFindStars findstars;
    98   //  findstars.SetBlindPixels(blindpixels);
     99  findstars.SetBlindPixels(blindpixels);
    99100  findstars.SetRingInterest(ringinterest);
    100101  findstars.SetDCTailCut(tailcut);
    101102  findstars.SetNumIntegratedEvents(integratedevents);
    102   findstars.SetMinuitPrintOutLevel(0);
     103  findstars.SetMinuitPrintOutLevel(-1);
    103104
    104   // prints
    105   MPrint pdc("MCameraDC");
    106   MPrint pstar("MStarLocalCam");
    107105 
    108106  tlist.AddToList(&geomapl);
    109107  tlist.AddToList(&read);
    110108  tlist.AddToList(&dccal);
    111   //  tlist.AddToList(&pdc, "Currents");
    112109  tlist.AddToList(&findstars, "Currents");
    113   //  tlist.AddToList(&pstar, "Currents");
    114110
    115111  //
Note: See TracChangeset for help on using the changeset viewer.