Ignore:
Timestamp:
06/16/04 09:57:59 (21 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.