Changeset 1361 for trunk/WuerzburgSoft
- Timestamp:
- 06/13/02 08:58:22 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.