Ignore:
Timestamp:
02/15/09 15:09:12 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc

    r9303 r9338  
    138138Bool_t MHMuonPar::SetupFill(const MParList *plist)
    139139{
    140     MGeomCam *geom = (MGeomCam*)plist->FindObject("MGeomCam");
    141     if (!geom)
     140    fGeom = (MGeomCam*)plist->FindObject("MGeomCam");
     141    if (!fGeom)
    142142    {
    143143        *fLog << warn << "MGeomCam not found... abort." << endl;
    144144        return kFALSE;
    145145    }
    146     fMm2Deg = geom->GetConvMm2Deg();
    147146
    148147    fMuonSearchPar = (MMuonSearchPar*)plist->FindObject("MMuonSearchPar");
     
    174173Int_t MHMuonPar::Fill(const MParContainer *par, const Stat_t w)
    175174{
     175    const Double_t fMm2Deg = fGeom->GetConvMm2Deg();
     176
    176177    fHistRadius.Fill(fMm2Deg*fMuonSearchPar->GetRadius(), w);
    177178
Note: See TracChangeset for help on using the changeset viewer.