Changeset 7558 for trunk/MagicSoft/Mars
- Timestamp:
- 03/01/06 18:12:55 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7557 r7558 64 64 they are not yet tested. 65 65 66 * datacenter/macros/plotstat.C: 67 - the periods were wrong by one -- fixed. 68 66 69 67 70 -
trunk/MagicSoft/Mars/datacenter/macros/plotstat.C
r7542 r7558 337 337 MTime from; 338 338 339 while ( past<now)339 while (1) 340 340 { 341 341 if (past.GetMagicPeriod()!=period) … … 343 343 period = past.GetMagicPeriod(); 344 344 345 if (period> =first && period<=last)345 if (period>first && period-1<=last) 346 346 { 347 347 TString a = from.GetSqlDateTime(); … … 349 349 350 350 for (int i=0; i<8; i++) 351 h[i].Fill(period , GetTime(serv, query[i], a, b));351 h[i].Fill(period-1, GetTime(serv, query[i], a, b)); 352 352 } 353 354 if (past>now) 355 break; 353 356 354 357 from = past; -
trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc
r7553 r7558 71 71 fHist.SetDirectory(NULL); 72 72 fHist.UseCurrentStyle(); 73 fHist.GetXaxis()->CenterTitle(); 74 fHist.GetYaxis()->CenterTitle(); 75 fHist.SetContour(99); 76 73 77 74 78 MBinning bins; 75 bins.SetEdges(51, -0.2499, 0.2499); 79 bins.SetEdges(51, -0.2499, 0.2499); // bin=0.01ø ~0.5SE 76 80 77 81 MH::SetBinning(&fHist, &bins, &bins); … … 153 157 } 154 158 159 void MHSrcPosCam::Paint(Option_t *) 160 { 161 MH::SetPalette("glow1"); 162 } 163 155 164 // -------------------------------------------------------------------------- 156 165 // … … 162 171 pad->SetBorderMode(0); 163 172 164 AppendPad();165 166 173 //pad->Divide(2,2); 167 174 … … 172 179 gPad->SetGridy(); 173 180 174 MH::SetPalette("glow1");175 181 fHist.Draw("colz"); 182 183 AppendPad(); 176 184 } 177 185 -
trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.h
r7553 r7558 48 48 49 49 // TObject 50 void Paint(Option_t *option=""); 50 51 void Draw(Option_t *option=""); 51 52
Note:
See TracChangeset
for help on using the changeset viewer.