Import Geant4 10.4.2 source tree

This commit is contained in:
Gabriele Cosmo
2018-05-25 16:18:53 +02:00
parent fe04dcb406
commit fe81a77428
233 changed files with 44301 additions and 105671 deletions
@@ -27,7 +27,7 @@
/// \brief Implementation of the RE02EventAction class
//
//
// $Id: RE02EventAction.cc 68026 2013-03-13 13:45:22Z gcosmo $
// $Id: RE02EventAction.cc 110134 2018-05-16 06:51:34Z gcosmo $
//
#include "RE02EventAction.hh"
@@ -57,7 +57,10 @@ void RE02EventAction::EndOfEventAction(const G4Event* evt)
// periodic printing
//
if (event_id < 100 || event_id%100 == 0) {
if (event_id < 10 ||
(event_id < 1000 && event_id%100 == 0) ||
(event_id < 10000 && event_id%1000 == 0) ||
(event_id < 100000 && event_id%10000 == 0)) {
G4cout << ">>> Event " << evt->GetEventID() << G4endl;
#ifdef print_stored_trajectories
// get number of stored trajectories
@@ -27,7 +27,7 @@
/// \brief Implementation of the RE02Run class
//
//
// $Id: RE02Run.cc 76292 2013-11-08 13:10:20Z gcosmo $
// $Id: RE02Run.cc 110134 2018-05-16 06:51:34Z gcosmo $
//
//=====================================================================
@@ -224,12 +224,12 @@ void RE02Run::DumpAllScorer(){
G4cout << " PrimitiveScorer RUN "
<< runMap->GetSDname() <<","<< runMap->GetName() << G4endl;
G4cout << " Number of entries " << runMap->entries() << G4endl;
std::map<G4int,G4double*>::iterator itr = runMap->GetMap()->begin();
for(; itr != runMap->GetMap()->end(); itr++) {
G4cout << " copy no.: " << itr->first
<< " Run Value : " << *(itr->second)
<< G4endl;
}
//// std::map<G4int,G4double*>::iterator itr = runMap->GetMap()->begin();
//// for(; itr != runMap->GetMap()->end(); itr++) {
//// G4cout << " copy no.: " << itr->first
//// << " Run Value : " << *(itr->second)
//// << G4endl;
//// }
}
}
}