Changeset 4294 for trunk/MagicSoft/Mars/mtemp/mifae/macros
- Timestamp:
- 06/16/04 09:57:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/macros/findstars.C
r4075 r4294 47 47 48 48 49 void findstars(const TString filename="dc_2004_03_1 9_00_36_50_20781_Mrk421.root", const TString directory="/nfs/magic/CaCodata/rootdata/Mrk421/Period015/2004_03_19/", const UInt_t numEvents = 0)49 void 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) 50 50 { 51 51 … … 81 81 MGeomApply geomapl; 82 82 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] 84 87 MCalibrateDC dccal; 85 88 dccal.SetFileName(continuoslightfile); 86 89 dccal.SetMinDCAllowed(mindc); 87 90 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}; 92 93 const TArrayS blindpixels(numblind,(Short_t*)x); 93 94 Float_t ringinterest = 100; //[mm] 94 Float_t tailcut = 3.5;95 UInt_t integratedevents = 1 0;95 Float_t tailcut = 2.5; 96 UInt_t integratedevents = 1; 96 97 97 98 MFindStars findstars; 98 //findstars.SetBlindPixels(blindpixels);99 findstars.SetBlindPixels(blindpixels); 99 100 findstars.SetRingInterest(ringinterest); 100 101 findstars.SetDCTailCut(tailcut); 101 102 findstars.SetNumIntegratedEvents(integratedevents); 102 findstars.SetMinuitPrintOutLevel( 0);103 findstars.SetMinuitPrintOutLevel(-1); 103 104 104 // prints105 MPrint pdc("MCameraDC");106 MPrint pstar("MStarLocalCam");107 105 108 106 tlist.AddToList(&geomapl); 109 107 tlist.AddToList(&read); 110 108 tlist.AddToList(&dccal); 111 // tlist.AddToList(&pdc, "Currents");112 109 tlist.AddToList(&findstars, "Currents"); 113 // tlist.AddToList(&pstar, "Currents");114 110 115 111 //
Note:
See TracChangeset
for help on using the changeset viewer.