Changeset 4294 for trunk/MagicSoft/Mars/mtemp/MStarLocalCam.cc
- Timestamp:
- 06/16/04 09:57:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/MStarLocalCam.cc
r4051 r4294 53 53 54 54 fStars = new TList; 55 56 fInnerPedestalDC = 0.; 57 fOuterPedestalDC = 0.; 58 fInnerPedestalRMSDC = 0.; 59 fOuterPedestalRMSDC = 0.; 60 55 61 } 56 62 … … 67 73 MStarLocalPos &MStarLocalCam::operator[] (Int_t i) 68 74 { 69 return *static_cast<MStarLocalPos*>(fStars->At(i)); 75 MStarLocalPos& star = *static_cast<MStarLocalPos*>(fStars->At(i)); 76 return star; 70 77 } 71 78 … … 89 96 void MStarLocalCam::Print(Option_t *o) const 90 97 { 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 } 100 111 }
Note:
See TracChangeset
for help on using the changeset viewer.