Changeset 2147 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 06/02/03 09:51:18 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h
r2124 r2147 12 12 #pragma link C++ class MBlindPixels+; 13 13 #pragma link C++ class MBlindPixelCalc+; 14 15 #pragma link C++ class MCurrents+; 14 16 15 17 #pragma link C++ class MPedestalPix+; -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r2139 r2147 236 236 // get the minimum ratio of photons/error 237 237 // 238 Float_t MCerPhotEvt::GetRatioMin( ) const238 Float_t MCerPhotEvt::GetRatioMin(const MGeomCam *geom) const 239 239 { 240 240 if (fNumPixels <= 0) … … 250 250 251 251 Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot(); 252 if (geom) 253 testval *= TMath::Sqrt(geom->GetPixRatio(pix.GetPixId())); 254 252 255 if (testval < minval) 253 256 minval = testval; … … 261 264 // get the maximum ratio of photons/error 262 265 // 263 Float_t MCerPhotEvt::GetRatioMax( ) const266 Float_t MCerPhotEvt::GetRatioMax(const MGeomCam *geom) const 264 267 { 265 268 if (fNumPixels <= 0) … … 275 278 276 279 Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot(); 280 if (geom) 281 testval *= TMath::Sqrt(geom->GetPixRatio(pix.GetPixId())); 282 277 283 if (testval > maxval) 278 284 maxval = testval; -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h
r2135 r2147 41 41 Float_t GetNumPhotonsMax(const MGeomCam *geom=NULL) const; 42 42 43 Float_t GetRatioMin( ) const;44 Float_t GetRatioMax( ) const;43 Float_t GetRatioMin(const MGeomCam *geom=NULL) const; 44 Float_t GetRatioMax(const MGeomCam *geom=NULL) const; 45 45 46 46 Float_t GetErrorPhotMin(const MGeomCam *geom=NULL) const; -
trunk/MagicSoft/Mars/manalysis/Makefile
r2124 r2147 33 33 MMcPedestalCopy.cc \ 34 34 MMcPedestalNSBAdd.cc \ 35 MCurrents.cc \ 35 36 MEnergyEst.cc \ 36 37 MEnergyEstimate.cc \
Note:
See TracChangeset
for help on using the changeset viewer.