Changeset 1174 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/14/02 17:40:39 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1172 r1174  
    2323   * mbase/MEvtLoop.cc:
    2424     - check for inheritance from MTaskList
     25
     26   * manalysis/MPedestalCopy.cc, manalysis/MPedestalNSBAdd.cc:
     27     - small changes
    2528
    2629
  • 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.