Ignore:
Timestamp:
06/16/04 09:57:59 (20 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/MStarLocalCam.cc

    r4051 r4294  
    5353 
    5454  fStars = new TList;
     55
     56  fInnerPedestalDC = 0.;
     57  fOuterPedestalDC = 0.;
     58  fInnerPedestalRMSDC = 0.;
     59  fOuterPedestalRMSDC = 0.;
     60 
    5561}
    5662
     
    6773MStarLocalPos &MStarLocalCam::operator[] (Int_t i)
    6874{
    69     return *static_cast<MStarLocalPos*>(fStars->At(i));
     75  MStarLocalPos& star = *static_cast<MStarLocalPos*>(fStars->At(i));
     76  return star;
    7077}
    7178
     
    8996void MStarLocalCam::Print(Option_t *o) const
    9097{
    91         TIter Next(fStars);
    92         MStarLocalPos* star;
    93         UInt_t starnum = 0;
    94         while ((star=(MStarLocalPos*)Next()))
    95           {
    96             *fLog << inf << "Star[" << starnum << "] info:" << endl;
    97             star->Print(o);
    98             starnum++;
    99           }
     98      *fLog << inf << "DCs baseline:" << endl;
     99      *fLog << inf << " Inner Pixels Mean pedestal \t" << setw(4) << fInnerPedestalDC << " uA  and RMS " << setw(4) << fInnerPedestalRMSDC << " uA for DCs" << endl;
     100      *fLog << inf << " Outer Pixels Mean pedestal \t" << setw(4) << fOuterPedestalDC << " uA  and RMS " << setw(4) << fOuterPedestalRMSDC << " uA for DCs" << endl;
     101     
     102      TIter Next(fStars);
     103      MStarLocalPos* star;
     104      UInt_t starnum = 0;
     105      while ((star=(MStarLocalPos*)Next()))
     106        {
     107          *fLog << inf << "Star[" << starnum << "] info:" << endl;
     108          star->Print(o);
     109          starnum++;
     110        }
    100111}
Note: See TracChangeset for help on using the changeset viewer.