Changeset 6243 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 02/03/05 15:01:55 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r5128 r6243 54 54 virtual void AddSector(const UInt_t a, const UInt_t b); 55 55 56 void InitSize ( const UInt_t i ); 57 void InitAverageSectors ( const UInt_t i ); 58 virtual void InitAverageAreas ( const UInt_t i ); 59 56 60 public: 57 61 … … 90 94 // Inits 91 95 void Init ( const MGeomCam &geom ); 92 void InitSize ( const UInt_t i );93 void InitAverageAreas ( const UInt_t i );94 void InitAverageSectors ( const UInt_t i );95 96 96 97 // Setters -
trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.cc
r5047 r6243 122 122 123 123 124 // ------------------------------------------------------------------- 125 // 126 // Initialize the objects inside the TOrdCollections 127 // - fAverageAreas 128 // - fAverageBadAreas 129 // using the virtual function Add(). 130 // 131 // InitSize can only increase the size, but not shrink. 132 // 133 // It can be called more than one time. New Containers are 134 // added only from the current size to the argument i. 135 // 136 void MCalibrationTestCam::InitAverageAreas(const UInt_t i) 137 { 138 139 const UInt_t save = GetAverageAreas(); 140 141 if (i==save) 142 return; 143 144 fNumUninterpolated.Set(i); 145 146 MCalibrationCam::InitAverageAreas(i); 147 148 return; 149 150 } 151 152 153 124 154 // -------------------------------------------------------------------------- 125 155 //
Note:
See TracChangeset
for help on using the changeset viewer.