Changeset 4097 for trunk/MagicSoft/Mars/mtemp/mmpi/macros
- Timestamp:
- 05/18/04 13:39:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mmpi/macros
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mmpi/macros/cleaninghillas.C
r4088 r4097 75 75 76 76 MObservatory observ; 77 pliston.AddToList(&observ); 78 77 79 MPointingPos mpos; 78 80 pliston.AddToList(&mpos); … … 105 107 MSourcePosfromStarPos sourcefromstar; 106 108 107 //if (typeInput == "ON")108 //{109 sourcefromstar.AddFile("~mazin/mars/MarsCVS/Mars/ data/positions2103.txt", 0);110 //}111 //else if (typeInput == "OFF")112 //{113 // sourcefromstar.AddFile("~mazin/data/dataMrk421_15feb/positionsFeb04_0", 0);114 //}109 if (typeInput == "ON") 110 { 111 sourcefromstar.AddFile("~mazin/mars/MarsCVS/Mars/positionsON", 0); 112 } 113 else if (typeInput == "OFF") 114 { 115 sourcefromstar.AddFile("~mazin/mars/MarsCVS/Mars/positionsOFF", 0); 116 } 115 117 116 118 -
trunk/MagicSoft/Mars/mtemp/mmpi/macros/falsesourcemethod.C
r4088 r4097 130 130 if (TYPEOPTION == kTRUE) // output of OFF data sample 131 131 // DATPARAMIN = "data/ressignOffMrk3004.dat"; // 3000 132 DATPARAMIN = " data/ressignOffCrab1502_1005.dat"; // 2000132 DATPARAMIN = "paramOffCrab2701.dat"; // 2000 133 133 134 134 135 135 HILLASFILENAME = "~/data/Crab/2004_01_27/CrabHillasOFF.root"; 136 DATPARAMOUT = " data/paramOffCrab2701.dat";136 DATPARAMOUT = "paramOffCrab2701.dat"; 137 137 ROOTPLOTNAME = "/.magic/magicserv01/scratch/Daniel/plots/RootPlots/Crab/2004_01_27/CrabOffSkyPlots.root"; 138 138 hillasfileread(); -
trunk/MagicSoft/Mars/mtemp/mmpi/macros/hillasfileread.C
r4088 r4097 90 90 plist.AddToList(&mcevt); 91 91 92 MPointingPos mpoint; 93 plist.AddToList(&mpoint); 94 92 95 MObservatory observ; 93 96 plist.AddToList(&observ); 94 97 95 // printf("observ: %f\n",observ); 98 MHStarMap starmap; 99 plist.AddToList(&starmap); 96 100 97 MHStarMap starmap;98 // plist.AddToList(&starmap);99 starmap.ReInit(&plist);100 101 // MRawRunHeader header; 101 102 // plist.AddToList(&header); … … 131 132 if (ROTOPTION == kTRUE) 132 133 { 133 theta = mcevt->GetTelescopeTheta(); 134 phi = mcevt->GetTelescopePhi(); 134 // theta = mcevt->GetTelescopeTheta(); 135 theta = mpoint->GetZd(); 136 // phi = mcevt->GetTelescopePhi(); 137 phi = mpoint->GetAz(); 135 138 // printf("theta: %5.3f, phi: %5.3f\n", theta*180./4.1415, phi*180./4.1415); 136 139 observ.RotationAngle(theta, phi, singam(imnum), cosgam(imnum)); -
trunk/MagicSoft/Mars/mtemp/mmpi/macros/skyplot.h
r4088 r4097 67 67 68 68 69 TH2F histskyplot("S ky Plot 1","Sky Plot of significance (2nd order fit)",69 TH2F histskyplot("SPSignif2ndOrder","Sky Plot of significance (2nd order fit)", 70 70 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 71 71 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 76 76 histskyplot.UseCurrentStyle(); 77 77 78 TH2F histNexOnOff("S ky Plot 2","Sky Plot of Number of excess events (using ON and OFF data)",78 TH2F histNexOnOff("SPNexOnOff","Sky Plot of Number of excess events (using ON and OFF data)", 79 79 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 80 80 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 85 85 histNexOnOff.UseCurrentStyle(); 86 86 87 TH2F histChi2Off("S ky Plot 3","Sky Plot of Chi2/ndf (2nd order fit, OFF data)",87 TH2F histChi2Off("SPChi2PerNdf2ndOrderOff","Sky Plot of Chi2/ndf (2nd order fit, OFF data)", 88 88 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 89 89 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 94 94 histChi2Off.UseCurrentStyle(); 95 95 96 TH2F histskyplotOnOff("S ky Plot 4","Sky Plot of significance (using ON and OFF data)",96 TH2F histskyplotOnOff("SPSignifOnOff","Sky Plot of significance (using ON and OFF data)", 97 97 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 98 98 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 103 103 histskyplotOnOff.UseCurrentStyle(); 104 104 105 TH2F histNex("S ky Plot 5","Sky Plot of Number of excess events (2nd order fit)",105 TH2F histNex("SPNex2ndOrder","Sky Plot of Number of excess events (2nd order fit)", 106 106 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 107 107 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 112 112 histNex.UseCurrentStyle(); 113 113 114 TH2F histChi2("S ky Plot 6","Sky Plot of Chi2/ndf (2nd order fit)",114 TH2F histChi2("SPChi2PerNdf2ndOrderOn","Sky Plot of Chi2/ndf (2nd order fit)", 115 115 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 116 116 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 121 121 histChi2.UseCurrentStyle(); 122 122 123 TH2F histskyplot4("S ky Plot 7","Sky Plot of significance (4th order fit)",123 TH2F histskyplot4("SPSignif4thOrder","Sky Plot of significance (4th order fit)", 124 124 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 125 125 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 130 130 histskyplot4.UseCurrentStyle(); 131 131 132 TH2F histskyLiMa("S ky Plot 9","Sky Plot of significance (ON - OFF LiMa17)",132 TH2F histskyLiMa("SPSignifLiMaOnOff","Sky Plot of significance (ON - OFF LiMa17)", 133 133 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 134 134 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID); … … 139 139 histskyLiMa.UseCurrentStyle(); 140 140 141 TH2F histBerlin("S ky Plot Berlin","Sky Plot of Events below alpha 8 degrees",141 TH2F histBerlin("SPBerlinMethod","Sky Plot of Events below alpha 8 degrees", 142 142 NUMSTEPS, MINXGRID - 0.5*STEPGRID, MAXXGRID + 0.5*STEPGRID, 143 143 NUMSTEPS, MINYGRID - 0.5*STEPGRID, MAXYGRID + 0.5*STEPGRID);
Note:
See TracChangeset
for help on using the changeset viewer.