Changeset 9851 for trunk/Mars/msim
- Timestamp:
- 08/12/10 09:43:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msim/MHPhotonEvent.cc
r9567 r9851 146 146 Init(name, title); 147 147 148 MBinning binsd, binsa; 149 binsd.SetEdges(50, -max, max); 150 binsa.SetEdges(50, -1, 1); 151 152 SetBinning(&fHistXY, &binsd, &binsd); 153 SetBinning(&fHistUV, &binsa, &binsa); 154 SetBinning(&fHistT, &binsd, &binsd); 148 const MBinning binsd(50, -max, max); 149 const MBinning binsa(50, -1, 1); 150 151 SetBinning(fHistXY, binsd, binsd); 152 SetBinning(fHistUV, binsa, binsa); 153 SetBinning(fHistT, binsd, binsd); 155 154 } 156 155 … … 166 165 Init(name, title); 167 166 168 MBinning binsd, bins; 169 bins.SetEdges(50, -1, 1); 170 171 SetBinning(&fHistUV, &bins, &bins); 167 const MBinning bins(50, -1, 1); 168 169 SetBinning(fHistUV, bins, bins); 172 170 } 173 171 … … 183 181 MH::FindGoodLimits(num, num, min, max, kFALSE); 184 182 MH::FindGoodLimits(num, num, min, max, kFALSE); 185 MBinning binsd, binsa, binsz; 186 binsd.SetEdges(num, min, max);187 188 SetBinning( &fHistXY, &binsd, &binsd);189 SetBinning( &fHistT, &binsd, &binsd);183 184 const MBinning binsd(num, min, max); 185 186 SetBinning(fHistXY, binsd, binsd); 187 SetBinning(fHistT, binsd, binsd); 190 188 } 191 189
Note:
See TracChangeset
for help on using the changeset viewer.