Changeset 1544
- Timestamp:
- 10/16/02 16:27:25 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc
r1540 r1544 71 71 // Set the size of the camera 72 72 // 73 inlinevoid MPedestalCam::InitSize(const UInt_t i)73 void MPedestalCam::InitSize(const UInt_t i) 74 74 { 75 75 fArray->ExpandCreate(i); … … 80 80 // Get the size of the MPedestalCam 81 81 // 82 inlineInt_t MPedestalCam::GetSize() const82 Int_t MPedestalCam::GetSize() const 83 83 { 84 84 return fArray->GetEntries(); … … 89 89 // Get i-th pixel (pixel number) 90 90 // 91 inlineMPedestalPix &MPedestalCam::operator[](Int_t i)91 MPedestalPix &MPedestalCam::operator[](Int_t i) 92 92 { 93 93 return *(MPedestalPix*)fArray->UncheckedAt(i); … … 98 98 // Get i-th pixel (pixel number) 99 99 // 100 inlineMPedestalPix &MPedestalCam::operator[](Int_t i) const100 MPedestalPix &MPedestalCam::operator[](Int_t i) const 101 101 { 102 102 return *(MPedestalPix*)fArray->UncheckedAt(i); … … 117 117 } 118 118 119 void MPedestalCam::Print(Option_t *o ="") const119 void MPedestalCam::Print(Option_t *o) const 120 120 { 121 121 *fLog << all << GetDescriptor() << ":" << endl; -
trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
r1540 r1544 115 115 // the id 0 to scale variables with the pixel size. 116 116 // 117 inlineFloat_t MGeomCam::GetPixRatio(Int_t i) const117 Float_t MGeomCam::GetPixRatio(Int_t i) const 118 118 { 119 119 return (*this)[0].GetA()/(*this)[i].GetA(); -
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r1540 r1544 58 58 void SetPixColorLevel(const MCerPhotPix &pix, Float_t lvl1, Float_t lvl2); 59 59 void SetPixColorError(const MCerPhotPix &pix, const Int_t i, Float_t min, Float_t max); 60 void SetPixColorPedestal(const MPedestalPix &pix, Int_t i, Float_t min, Float_t max);60 void SetPixColorPedestal(const MPedestalPix &pix, const Int_t i, Float_t min, Float_t max); 61 61 Int_t GetColor(Float_t val, Float_t min, Float_t max); 62 62
Note:
See TracChangeset
for help on using the changeset viewer.