Changeset 1174 for trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.cc
- Timestamp:
- 01/14/02 17:40:39 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.