Changeset 7276 for trunk/MagicSoft
- Timestamp:
- 08/08/05 17:48:46 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7275 r7276 26 26 * datacenter/macros/resetallruns.C: 27 27 - fixed small bug 28 29 * datacenter/macros/fillstar.C: 30 - fixed bug 28 31 29 32 -
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7252 r7276 53 53 #include "MSQLServer.h" 54 54 55 #include "MHMuonPar.h" 55 56 #include "MStatusArray.h" 56 57 #include "MGeomCamMagic.h" … … 105 106 } 106 107 107 MHMuonPar *hmuon = ( TProfile*)arr.FindObjectInCanvas("MHMuonPar", "MHMuonPar", "MHMuonPar");108 MHMuonPar *hmuon = (MHMuonPar*)arr.FindObjectInCanvas("MHMuonPar", "MHMuonPar", "MHMuonPar"); 108 109 if (!hmuon) 109 110 { … … 112 113 } 113 114 114 Float_t psf = ( muon->GetMeanWidth() - 0.04816)/0.001294;115 Float_t psf = (hmuon->GetMeanWidth() - 0.04816)/0.001294; 115 116 psf = TMath::Nint(psf*10)/10.; 116 117 TString PSF = Form("%5.1f", psf); 117 Int_t num = (int) muon.GetEntries();118 Int_t num = (int)hmuon->GetEntries(); 118 119 119 120 Float_t integralmc = -1.43*psf + 1035; 120 Float_t ratiodatamc = ( muon->GetMeanSize()/integralmc)*100;121 Float_t ratiodatamc = (hmuon->GetMeanSize()/integralmc)*100; 121 122 TString ratio = Form("%5.1f", ratiodatamc); 122 123
Note:
See TracChangeset
for help on using the changeset viewer.