Changeset 2703
- Timestamp:
- 12/18/03 10:41:57 (21 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2699 r2703 4 4 5 5 -*-*- END OF LINE -*-*- 6 2003/12/18: Abelardo Moralejo 7 8 * mmc/MMcConfigRunHeader.[h,cc] 9 - Removed some obsolete parameters no longer used in reflector 10 simulation since version 0.6. 11 - Added getter and setter functions for fPointSpread (allows 12 camera simulation to change the value whenever the spot is made 13 bigger to fit the data). 14 6 15 2003/12/17: Abelardo Moralejo 7 16 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.cc
r2173 r2703 62 62 fRadiusMirror=-1; 63 63 fFocalDist =-1; 64 fFocalStdev =-1;65 64 fPointSpread =-1; 66 fPointStdev =-1;67 fDevAdjust =-1;68 65 fBlackSpot =-1; 69 66 fCameraWidth =-1; … … 80 77 void MMcConfigRunHeader::SetMagicDef(Float_t radius, 81 78 Float_t focal, 82 Float_t stdfocal,83 79 Float_t point, 84 Float_t stdpoint,85 Float_t adjust,86 80 Float_t spot, 87 81 Float_t camwidth) … … 89 83 fRadiusMirror=radius; 90 84 fFocalDist=focal; 91 fFocalStdev=stdfocal;92 85 fPointSpread=point; 93 fPointStdev=stdpoint;94 fDevAdjust=adjust;95 86 fBlackSpot=spot; 96 87 fCameraWidth=camwidth; -
trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.h
r1632 r2703 26 26 // Magic Def Parameters 27 27 Float_t fFocalDist; // [cm] Focal distance 28 Float_t fFocalStdev; // [cm] Standard deviation of focal distance 29 Float_t fPointSpread; // [cm] Point spread function 30 Float_t fPointStdev; // [cm] Standard deviation of point spread function 31 Float_t fDevAdjust; // [cm] Standard deviation of the adjustment value 28 Float_t fPointSpread; // [cm] Point spread function, sigma in x and y on the camera 32 29 Float_t fBlackSpot; // [cm] Radius of black spot in the mirror center 33 30 Float_t fCameraWidth; // [cm] Radius on the camera plain … … 46 43 ~MMcConfigRunHeader() { delete fMirrors; delete fPMTs; } 47 44 48 void SetMagicDef(Float_t radius, Float_t focal, Float_t stdfocal, Float_tpoint,49 Float_t s tdpoint, Float_t adjust, Float_t spot, Float_t camwidth);45 void SetMagicDef(Float_t radius, Float_t focal, Float_t point, 46 Float_t spot, Float_t camwidth); 50 47 void SetLightGuides(const TArrayF &theta, const TArrayF &factor); 51 48 … … 55 52 UInt_t GetNumPMTs() const { return fNumPMTs; } 56 53 void InitSizePMTs(UInt_t num) { fPMTs->Expand(num); } 54 55 Float_t GetPointSpread() const { return fPointSpread; } 56 void SetPointSpread(Float_t x) { fPointSpread = x; } 57 57 58 58 void AddMirror(Int_t id) … … 72 72 MGeomPMT &GetPMT(int i) const { return *(MGeomPMT*)(fPMTs->UncheckedAt(i)); } 73 73 74 ClassDef(MMcConfigRunHeader, 1) // class for monte carlo configuration information74 ClassDef(MMcConfigRunHeader, 2) // class for monte carlo configuration information 75 75 }; 76 76
Note:
See TracChangeset
for help on using the changeset viewer.