Changeset 4294 for trunk/MagicSoft/Mars/mtemp/mifae
- Timestamp:
- 06/16/04 09:57:59 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/Changelog
r4293 r4294 18 18 19 19 -*-*- 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. 20 38 21 39 2004/06/11 Ester Aliu -
trunk/MagicSoft/Mars/mtemp/mifae/library/IFAELinkDef.h
r4117 r4294 18 18 #pragma link C++ class MFHVNotNominal+; 19 19 #pragma link C++ class MCalibrateDC+; 20 #pragma link C++ class MHPSFFromStars+; 21 #pragma link C++ class MSrcPosFromStars+; 20 22 21 23 #endif -
trunk/MagicSoft/Mars/mtemp/mifae/library/MCalibrateDC.cc
r4075 r4294 51 51 using namespace std; 52 52 53 MCalibrateDC::MCalibrateDC(TString filename, const char *name, const char *title) : fMinDCAllowed(0.5) //[ua]53 MCalibrateDC::MCalibrateDC(TString filename, const char *name, const char *title) 54 54 { 55 55 fName = name ? name : "MCalibrateDC"; -
trunk/MagicSoft/Mars/mtemp/mifae/library/Makefile
r4117 r4294 44 44 -I../../../mcamera \ 45 45 -I../../../mastro \ 46 -I../../../mhist 46 -I../../../mhist \ 47 -I../../ 47 48 48 49 … … 60 61 MIslandClean.cc \ 61 62 MFHVNotNominal.cc \ 62 MCalibrateDC.cc 63 MCalibrateDC.cc \ 64 MHPSFFromStars.cc \ 65 MSrcPosFromStars.cc 63 66 64 67 ############################################################ -
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.