Changeset 1898
- Timestamp:
- 04/03/03 13:38:14 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r1897 r1898 804 804 // 805 805 // Smear Theta uniformly in a bin of Theta 806 // theta [rad] 807 // SmearTheta [rad] 806 808 // 807 809 Float_t MCT1ReadPreProc::SmearTheta(Float_t theta) 808 810 { 809 // both Theta and ThetaSmeared are in [radians]810 // the edges are in [degrees]811 811 const Int_t bin = fBinningT->FindLoEdge(theta * 180/TMath::Pi()); 812 812 if (bin<0) … … 909 909 910 910 // 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); 912 912 fThetaOrig->SetVal(theta); 913 913
Note:
See TracChangeset
for help on using the changeset viewer.