Changeset 2045 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/29/03 17:22:17 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2044 r2045  
    4242   * mbase/MHtml.[h,cc]:
    4343     - removed
     44
     45   * mfileio/MCT1ReadPreProc.cc:
     46     - removed the dependance on a MBinning in Theta.
    4447
    4548
  • trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc

    r1961 r2045  
    785785
    786786    fBinningT = (MBinning*)pList->FindObject("BinningTheta");
    787     if (!fBinningT)
    788     {
    789         *fLog << err << dbginf << "BinningTheta not found ... aborting." << endl;
    790         return kFALSE;
    791     }
    792787
    793788    fNumFilterEvts = 0;
     
    809804Double_t MCT1ReadPreProc::SmearTheta(Double_t theta)
    810805{
     806    if (!fBinningT)
     807        return theta;
     808
    811809    const Int_t bin = fBinningT->FindLoEdge(theta * 180/TMath::Pi());
    812810    if (bin<0)
Note: See TracChangeset for help on using the changeset viewer.