Changeset 8506 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 05/14/07 15:23:24 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPulseTimeCam.cc
r6680 r8506 102 102 } 103 103 104 void MCalibrationPulseTimeCam::Add(const UInt_t a, const UInt_t b)105 {106 for (UInt_t i=a; i<b; i++)107 fPixels->AddAt(new MCalibrationPix,i);108 }109 110 111 void MCalibrationPulseTimeCam::AddArea(const UInt_t a, const UInt_t b)112 {113 for (UInt_t i=a; i<b; i++)114 fAverageAreas->AddAt(new MCalibrationPix,i);115 }116 117 void MCalibrationPulseTimeCam::AddSector(const UInt_t a, const UInt_t b)118 {119 for (UInt_t i=a; i<b; i++)120 fAverageSectors->AddAt(new MCalibrationPix,i);121 }122 123 104 // -------------------------------------------------------------------------- 124 105 // … … 131 112 *fLog << all << GetDescriptor() << ":" << endl; 132 113 int id = 0; 133 114 134 115 *fLog << all << "Calibrated pixels:" << endl; 135 116 *fLog << all << endl; … … 139 120 while ((pix=(MCalibrationPix*)Next())) 140 121 { 141 122 142 123 if (!pix->IsExcluded()) 143 124 { … … 150 131 } 151 132 } 152 133 153 134 *fLog << all << id << " pixels" << endl; 154 135 id = 0; 155 156 136 137 157 138 *fLog << all << endl; 158 139 *fLog << all << "Excluded pixels:" << endl; 159 140 *fLog << all << endl; 160 141 161 142 id = 0; 162 143 … … 257 238 258 239 } 259 -
trunk/MagicSoft/Mars/mcalib/MCalibrationPulseTimeCam.h
r6599 r8506 8 8 class MCalibrationPulseTimeCam : public MCalibrationCam 9 9 { 10 private:11 12 void Add(const UInt_t a, const UInt_t b);13 void AddArea(const UInt_t a, const UInt_t b);14 void AddSector(const UInt_t a, const UInt_t b);15 16 10 public: 17 11
Note:
See TracChangeset
for help on using the changeset viewer.