Ignore:
Timestamp:
04/03/03 13:38:14 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc

    r1897 r1898  
    804804//
    805805// Smear Theta uniformly in a bin of Theta
     806//   theta [rad]
     807//   SmearTheta [rad]
    806808//
    807809Float_t MCT1ReadPreProc::SmearTheta(Float_t theta)
    808810{
    809     // both Theta and ThetaSmeared are in [radians]
    810     // the edges are in [degrees]
    811811    const Int_t bin = fBinningT->FindLoEdge(theta * 180/TMath::Pi());
    812812    if (bin<0)
     
    909909
    910910    // smear Theta in its Theta bin
    911     Float_t theta = TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600);
     911    const Double_t theta = TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600);
    912912    fThetaOrig->SetVal(theta);
    913913
Note: See TracChangeset for help on using the changeset viewer.