Changeset 3837 for trunk/MagicSoft/Mars
- Timestamp:
- 04/26/04 18:27:04 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3836 r3837 37 37 * mcalib/MCalibrationCam.h 38 38 - make Init() and InitSize() virtual 39 40 * mcalib/MCalibrationChargeCam.[h,cc] 41 - introduce two TArrayI's for the number of uncalibrated and 42 unreliable pixels. 43 44 * mcalib/MCalibrationChargeCalc.[h,cc] 45 - calculate and store the above numbers. 39 46 40 47 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h
r3712 r3837 6 6 #endif 7 7 8 #ifndef ROOT_TArrayI 9 #include "TArrayI.h" 10 #endif 11 8 12 class MCalibrationChargeCam : public MCalibrationCam 9 13 { 10 14 private: 11 15 16 TArrayI fNumUncalibrated; 17 TArrayI fNumUnreliable; 18 12 19 Byte_t fFlags; // Bit-field to hold the flags 13 20 … … 25 32 // Getters 26 33 Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor ); 34 Int_t GetNumUncalibrated ( const Int_t aidx) const { return fNumUncalibrated[aidx]; } 35 Int_t GetNumUnreliable ( const Int_t aidx) const { return fNumUnreliable [aidx]; } 27 36 Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const; 28 37 Bool_t IsFFactorMethodValid() const; 29 38 39 // Inits 40 void Init ( const MGeomCam &geom ); 41 30 42 // Prints 31 43 void Print(Option_t *o="") const; 32 44 33 45 // Setters 34 void SetFFactorMethodValid (const Bool_t b=kTRUE ); 46 void SetFFactorMethodValid ( const Bool_t b=kTRUE ); 47 void SetNumUncalibrated ( const Int_t i, const Int_t aidx) { fNumUncalibrated[aidx] = i; } 48 void SetNumUnreliable ( const Int_t i, const Int_t aidx) { fNumUnreliable [aidx] = i; } 35 49 36 50 ClassDef(MCalibrationChargeCam, 1) // Container Charge Calibration Results Camera
Note:
See TracChangeset
for help on using the changeset viewer.