Changeset 7534 for trunk/MagicSoft/Mars
- Timestamp:
- 02/27/06 11:33:38 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEnv.cc
r7458 r7534 124 124 switch (str.Hash()) 125 125 { 126 case (unsigned)-1920099718/*2374867578*/: return 0;// hollow127 case 764279305: return 1001;// solid128 case 1854683492 : return 2001; // hatch126 case 2374867578U: return 0; // hollow 127 case 764279305U: return 1001; // solid 128 case 1854683492U: return 2001; // hatch 129 129 } 130 130 … … 148 148 switch (str.Hash()) 149 149 { 150 case 764279305:return kSolid;151 case 241979881:return kDashed;152 case (unsigned)-1903324694: return kDotted;153 case 1124931659 : return kDashDotted;150 case 764279305U: return kSolid; 151 case 241979881U: return kDashed; 152 case 2391642602U: return kDotted; 153 case 1124931659U: return kDashDotted; 154 154 } 155 155 … … 255 255 switch (str.Hash()) 256 256 { 257 case (unsigned)-1926423925/*2368543371*/: return kWhite+offset;258 case 1814927399 : return kBlack+offset;259 case 7496964:return kRed+offset;260 case (unsigned)-1397860222/*2897107074*/: return kGreen+offset;261 case 1702194402 : return kBlue+offset;262 case (unsigned)-1920149414/* 2374817882*/: return kYellow+offset;263 case (unsigned)-1400748595/*2894218701*/: return kMagenta+offset;264 case 1851881955 : return kCyan+offset;265 case 749623518: return 19; // grey1266 case 749623517: return 18; // grey2267 case 749623516: return 17; // grey3268 case 749623515: return 16; // grey4269 case 749623514: return 15; // grey5270 case 749623513: return 14; // grey6271 case 749623512: return 13; // grey7272 case 749623511: return 12; // grey8273 case 741234910: return 19; // gray1274 case 741234909: return 18; // gray2275 case 741234908: return 17; // gray3276 case 741234907: return 16; // gray4277 case 741234906: return 15; // gray5278 case 741234905: return 14; // gray6279 case 741234904: return 13; // gray7280 case 741234903: return 12; // gray8257 case 2368543371U: return kWhite+offset; 258 case 1814927399U: return kBlack+offset; 259 case 7496964U: return kRed+offset; 260 case 2897107074U: return kGreen+offset; 261 case 1702194402U: return kBlue+offset; 262 case 2374817882U: return kYellow+offset; 263 case 2894218701U: return kMagenta+offset; 264 case 1851881955U: return kCyan+offset; 265 case 749623518U: return 19; // grey1 266 case 749623517U: return 18; // grey2 267 case 749623516U: return 17; // grey3 268 case 749623515U: return 16; // grey4 269 case 749623514U: return 15; // grey5 270 case 749623513U: return 14; // grey6 271 case 749623512U: return 13; // grey7 272 case 749623511U: return 12; // grey8 273 case 741234910U: return 19; // gray1 274 case 741234909U: return 18; // gray2 275 case 741234908U: return 17; // gray3 276 case 741234907U: return 16; // gray4 277 case 741234906U: return 15; // gray5 278 case 741234905U: return 14; // gray6 279 case 741234904U: return 13; // gray7 280 case 741234903U: return 12; // gray8 281 281 } 282 282 return str.Atoi(); -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7533 r7534 759 759 // Paint the integral and the error on top of the histogram 760 760 // 761 void MHEffectiveOnTime::PaintText(Double_t val, Double_t error, Double_ range) const761 void MHEffectiveOnTime::PaintText(Double_t val, Double_t error, Double_t range) const 762 762 { 763 763 TLatex text; 764 764 text.SetBit(TLatex::kTextNDC); 765 765 text.SetTextSize(0.04); 766 text.PaintLatex(0.45, 0.94, Form("T_{eff} = %.1fs \\pm %.1fs", val, error)); 767 768 if (range>=0) 769 text.PaintLatex(0.66, 0.94, Form("T_{axe} = %.1fs", range)); 766 767 text.SetText(0.45, 0.94, Form("T_{eff} = %.1fs \\pm %.1fs", val, error)); 768 text.Paint(); 769 770 if (range<0) 771 return; 772 773 text.SetText(0.66, 0.94, Form("T_{axe} = %.1fs", range)); 774 text.Paint(); 770 775 } 771 776 … … 905 910 h = &fHTimeEffOn; 906 911 UpdateRightAxis(fHTimeLambda); 907 range = h->GetXaxis()->GetXmax() ->h->GetXaxis()->GetXmin();912 range = h->GetXaxis()->GetXmax() - h->GetXaxis()->GetXmin(); 908 913 } 909 914 -
trunk/MagicSoft/Mars/showplot.cc
r7517 r7534 170 170 switch (kInput.Hash()) 171 171 { 172 case 3438106369 :173 case 764164111 :172 case 3438106369U: 173 case 764164111U: 174 174 file += "callisto"; 175 175 break;
Note:
See TracChangeset
for help on using the changeset viewer.