Changeset 1276
- Timestamp:
- 04/15/02 13:13:25 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1271 r1276 1 1 -*-*- END -*-*- 2 3 2002/04/15: Thomas Bretz 4 5 * mgui/MGeomCam.cc: 6 - Added SetReadyToSave to Constructor 7 8 * mhist/MH.cc: 9 - Added some #ifdef conditionals for a fix in root 10 11 * mfilter/MFAlpha.[h,cc]: 12 - made IsExpressionTrue inline 13 14 2 15 3 16 2002/04/05: Thomas Bretz -
trunk/MagicSoft/Mars/mfilter/MFAlpha.cc
r1211 r1276 79 79 // -------------------------------------------------------------------------- 80 80 // 81 Bool_t MFAlpha::IsExpressionTrue() const82 {83 return fResult;84 }85 86 // --------------------------------------------------------------------------87 //88 81 Bool_t MFAlpha::PreProcess(MParList *pList) 89 82 { -
trunk/MagicSoft/Mars/mfilter/MFAlpha.h
r1211 r1276 36 36 const char *name=NULL, const char *title=NULL); 37 37 38 Bool_t IsExpressionTrue() const ;38 Bool_t IsExpressionTrue() const { return fResult; } 39 39 Bool_t PreProcess(MParList *pList); 40 40 Bool_t Process(); -
trunk/MagicSoft/Mars/mgui/MGeomCam.cc
r1216 r1276 64 64 for (UInt_t i=0; i<npix; i++) 65 65 (*fPixels)[i] = new MGeomPix; 66 67 SetReadyToSave(); 66 68 } 67 69 -
trunk/MagicSoft/Mars/mhist/MH.cc
r1265 r1276 121 121 TAxis &x = *h->GetXaxis(); 122 122 123 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 123 124 TString xtitle = x.GetTitle(); 125 #endif 124 126 125 127 // … … 135 137 // 136 138 x.Set(binsx->GetNumBins(), binsx->GetEdges()); 139 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 137 140 x.SetTitle(xtitle); 141 #endif 138 142 } 139 143 … … 146 150 // Another strange behaviour: TAxis::Set deletes the axis title! 147 151 // 152 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 148 153 TString xtitle = x.GetTitle(); 149 154 TString ytitle = y.GetTitle(); 155 #endif 150 156 151 157 // … … 163 169 x.Set(binsx->GetNumBins(), binsx->GetEdges()); 164 170 y.Set(binsy->GetNumBins(), binsy->GetEdges()); 171 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 165 172 x.SetTitle(xtitle); 166 173 y.SetTitle(ytitle); 174 #endif 167 175 } 168 176 … … 176 184 TAxis &z = *h->GetZaxis(); 177 185 186 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 178 187 TString xtitle = x.GetTitle(); 179 188 TString ytitle = y.GetTitle(); 180 189 TString ztitle = z.GetTitle(); 190 #endif 181 191 182 192 // … … 196 206 y.Set(binsy->GetNumBins(), binsy->GetEdges()); 197 207 z.Set(binsz->GetNumBins(), binsz->GetEdges()); 208 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03) 198 209 x.SetTitle(xtitle); 199 210 y.SetTitle(ytitle); 200 211 z.SetTitle(ztitle); 212 #endif 201 213 } 202 214
Note:
See TracChangeset
for help on using the changeset viewer.