Changeset 9281 for trunk/MagicSoft/Mars/mhflux/MHDisp.cc
- Timestamp:
- 01/29/09 08:54:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHDisp.cc
r9153 r9281 51 51 52 52 #include "MMath.h" 53 #include "MString.h" 53 54 #include "MBinning.h" 54 55 … … 70 71 // 71 72 MHDisp::MHDisp(const char *name, const char *title) 72 : fDisp(0), fDeviation(0), fSrcAnti(0), f Smearing(-1), fWobble(kFALSE),73 f ScaleMin(0.325), fScaleMax(0.475)73 : fDisp(0), fDeviation(0), fSrcAnti(0), fHalf(kFALSE), fSmearing(-1), 74 fWobble(kFALSE), fScaleMin(0.325), fScaleMax(0.475) 74 75 { 75 76 // … … 645 646 646 647 // ----- Pad number 4 ----- 647 TString name = Form("%s_4", pad->GetName());648 TString name = MString::Format("%s_4", pad->GetName()); 648 649 TPad *p = new TPad(name,name, 0.525/*0.5025*/, 0.3355, 0.995, 0.995, col, 0, 0); 649 650 p->SetNumber(4); … … 665 666 // ----- Pad number 1 ----- 666 667 pad->cd(); 667 name = Form("%s_1", pad->GetName());668 name = MString::Format("%s_1", pad->GetName()); 668 669 p = new TPad(name,name, 0.005, 0.3355, 0.475/*0.4975*/, 0.995, col, 0, 0); 669 670 p->SetNumber(1); … … 685 686 // ----- Pad number 2 ----- 686 687 pad->cd(); 687 name = Form("%s_2", pad->GetName());688 name = MString::Format("%s_2", pad->GetName()); 688 689 p = new TPad(name,name, 0.005, 0.005, 0.2485, 0.3315, col, 0, 0); 689 690 p->SetNumber(2); … … 694 695 // ----- Pad number 3 ----- 695 696 pad->cd(); 696 name = Form("%s_3", pad->GetName());697 name = MString::Format("%s_3", pad->GetName()); 697 698 p = new TPad(name,name, 0.2525, 0.005, 0.4985, 0.3315, col, 0, 0); 698 699 p->SetNumber(3); … … 714 715 // ----- Pad number 5 ----- 715 716 pad->cd(); 716 name = Form("%s_5", pad->GetName());717 name = MString::Format("%s_5", pad->GetName()); 717 718 p = new TPad(name,name, 0.5025, 0.005, 0.7485, 0.3315, col, 0, 0); 718 719 p->SetNumber(5); … … 730 731 // ----- Pad number 6 ----- 731 732 pad->cd(); 732 name = Form("%s_6", pad->GetName());733 name = MString::Format("%s_6", pad->GetName()); 733 734 p = new TPad(name,name, 0.7525, 0.005, 0.9995, 0.3315, col, 0, 0); 734 735 p->SetNumber(6);
Note:
See TracChangeset
for help on using the changeset viewer.