Ignore:
Timestamp:
01/14/02 17:40:39 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.cc

    r1173 r1174  
    138138        return kFALSE;
    139139
    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)
    142142    {
    143143        *fLog << err << dbginf << "Using the default argument of MMcPedestalNSB::MMcPedestalNSB() ";
     
    151151Float_t MMcPedestalNSBAdd::GetDnsb(MParList *pList) const
    152152{
    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)
    155155    {
    156156        *fLog << err << dbginf << "Using the default argument of MMcPedestalNSB::MMcPedestalNSB() ";
     
    193193        return kFALSE;
    194194
    195     Float_t dnsbpix = GetDnsb(pList) * 50.0/15.0;
     195    const Float_t dnsbpix = GetDnsb(pList) * 50.0/15.0;
    196196
    197197    if (dnsbpix < 0)
Note: See TracChangeset for help on using the changeset viewer.