Changeset 1174
- Timestamp:
- 01/14/02 17:40:39 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1172 r1174 23 23 * mbase/MEvtLoop.cc: 24 24 - check for inheritance from MTaskList 25 26 * manalysis/MPedestalCopy.cc, manalysis/MPedestalNSBAdd.cc: 27 - small changes 25 28 26 29 -
trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.cc
r1173 r1174 138 138 return kFALSE; 139 139 140 MMcRunHeader *mcrunheader = (MMcRunHeader*)pList->FindObject("MMcRunHeader");141 if (!mcrunheader && fDnsbPixel < 0)140 const MMcRunHeader *mcrunheader = (MMcRunHeader*)pList->FindObject("MMcRunHeader"); 141 if (!mcrunheader && fDnsbPixel<0) 142 142 { 143 143 *fLog << err << dbginf << "Using the default argument of MMcPedestalNSB::MMcPedestalNSB() "; … … 151 151 Float_t MMcPedestalNSBAdd::GetDnsb(MParList *pList) const 152 152 { 153 MMcRunHeader *mcrunheader = (MMcRunHeader*)pList->FindObject("MMcRunHeader");154 if (!mcrunheader && fDnsbPixel < 0)153 const MMcRunHeader *mcrunheader = (MMcRunHeader*)pList->FindObject("MMcRunHeader"); 154 if (!mcrunheader && fDnsbPixel<0) 155 155 { 156 156 *fLog << err << dbginf << "Using the default argument of MMcPedestalNSB::MMcPedestalNSB() "; … … 193 193 return kFALSE; 194 194 195 Float_t dnsbpix = GetDnsb(pList) * 50.0/15.0;195 const Float_t dnsbpix = GetDnsb(pList) * 50.0/15.0; 196 196 197 197 if (dnsbpix < 0)
Note:
See TracChangeset
for help on using the changeset viewer.