Changeset 1361
- Timestamp:
- 06/13/02 08:58:22 (23 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1355 r1361 1 1 -*-*- END -*-*- 2 2002/06/13: Thomas Bretz 3 4 * mdata/MData.cc: 5 - changed ostream.h to ofstream.h to make it compile on alpha 6 7 8 2 9 2002/06/10: Thomas Bretz 3 10 -
trunk/MagicSoft/Mars/mdata/MData.cc
r1348 r1361 48 48 #include "MData.h" 49 49 50 #include < ostream.h>50 #include <fstream.h> 51 51 52 52 ClassImp(MData); -
trunk/WuerzburgSoft/Thomas/mphys/phys.C
r1360 r1361 116 116 void DoIt() 117 117 { 118 Double_t R = 100; // [kpc]119 Double_t startz = MParticle::ZofR(&R);120 121 cout << "R = " << R << "kpc" << endl;118 // Double_t R = 1798; // [kpc] 119 Double_t startz = 0.003; //MParticle::ZofR(&R); 120 121 // cout << "R = " << R << "kpc" << endl; 122 122 cout << "Z = " << startz << endl; 123 123 … … 128 128 129 129 Double_t lo = 1e4; 130 Double_t hi = 1e1 0;130 Double_t hi = 1e11; 131 131 Double_t alpha = -2; 132 132 … … 155 155 MBinning binspoly; 156 156 binspolx.SetEdges(16, -180, 180); 157 binspoly.SetEdgesLog(20, 1e-1 3, 1e-4);157 binspoly.SetEdgesLog(20, 1e-10, 1e-3); 158 158 MH::SetBinning(&position, &binspolx, &binspoly); 159 159 MH::SetBinning(&angle, &binspolx, &binspoly); … … 321 321 322 322 // WRONG! 323 Double_t theta = rand.Uniform(TMath::Pi() *2);323 Double_t theta = rand.Uniform(TMath::Pi()/2)+TMath::Pi()*3/4; 324 324 MPhoton *p = e->DoInvCompton(theta); 325 325 … … 339 339 340 340 if (fabs(e->GetTheta()*3437)<1 && // < 1min 341 e->GetEnergy()>lo*2) 341 e->GetEnergy()>lo && 342 e->GetEnergy()>3e4) 342 343 continue; 343 344
Note:
See TracChangeset
for help on using the changeset viewer.