Changeset 9341 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 02/15/09 15:44:45 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
r9153 r9341 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.1 0 2008-11-11 11:42:14tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.11 2009-02-15 15:43:30 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 167 167 } 168 168 169 MGeomCam *geom = (MGeomCam*)pl->FindObject("MGeomCam");170 if (! geom)169 fGeom = (MGeomCam*)pl->FindObject("MGeomCam"); 170 if (!fGeom) 171 171 { 172 172 *fLog << err << "MGeomCam not found... abort." << endl; 173 173 return kFALSE; 174 174 } 175 fMm2Deg = geom->GetConvMm2Deg();176 175 177 176 if (fFit.GetScaleMode()==MAlphaFitter::kNone) … … 217 216 Int_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight) 218 217 { 218 const Double_t fMm2Deg = fGeom->GetConvMm2Deg(); 219 219 220 const TVector2 norm(GetVec(fHillas->GetNormAxis(), 6)); 220 221 const TVector2 mean(GetVec(fHillas->GetMean(), 8)); -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h
r9153 r9341 8 8 class TVector2; 9 9 10 class MGeomCam; 10 11 class MTaskList; 11 12 class MSrcPosCam; … … 14 15 { 15 16 private: 17 MGeomCam *fGeom; //! conversion mm to deg 16 18 MParameterD *fDisp; //! 17 19 MSrcPosCam *fSrcPosCam; //! 18 20 19 Double_t fMm2Deg; //!20 21 Double_t fThetaSqCut; //! 21 22 Double_t fSignificanceCutLevel;
Note:
See TracChangeset
for help on using the changeset viewer.