Changeset 18180 for branches/Corsika7405Compatibility/msim
- Timestamp:
- 05/12/15 19:33:34 (10 years ago)
- Location:
- branches/Corsika7405Compatibility/msim
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Corsika7405Compatibility/msim/MSimAtmosphere.cc
r9429 r18180 786 786 Int_t MSimAtmosphere::Process() 787 787 { 788 std::cout << "MSimAtmo with " << fEvt->GetNumPhotons() << std::endl; 789 788 790 // Get the number of photons in the list 789 791 const Int_t num = fEvt->GetNumPhotons(); … … 792 794 // * upgoing particles 793 795 // * Can we take the full length until the camera into account? 796 797 bool tmpWeight = false; 798 for (int i = 0; i < fEvt->GetNumPhotons(); i++) { 799 800 const MPhotonData &ph = (*fEvt)[i]; 801 if (ph.GetWeight() != 1) 802 tmpWeight = true; 803 } 804 if (tmpWeight) 805 std::cout << "MSimAtmo Photon weight != 1 \a\a" << std::endl; 806 794 807 795 808 // Counter for number of total and final events … … 814 827 // Now we shrink the array to the number of new entries. 815 828 fEvt->Shrink(cnt); 829 816 830 817 831 return kTRUE; -
branches/Corsika7405Compatibility/msim/MSimMMCS.cc
r9937 r18180 191 191 Int_t MSimMMCS::Process() 192 192 { 193 std::cout << "MSimMMCS " << std::endl; 194 193 195 fMcEvtBasic->SetEnergy(fEvtHeader->GetTotalEnergy()); 194 196 fMcEvtBasic->SetImpact(fEvtHeader->GetImpact());
Note:
See TracChangeset
for help on using the changeset viewer.