Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -33,12 +33,15 @@
|
||||
#include "RE03ActionInitialization.hh"
|
||||
#include "RE03PrimaryGeneratorAction.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
RE03ActionInitialization::RE03ActionInitialization()
|
||||
{;}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
RE03ActionInitialization::~RE03ActionInitialization()
|
||||
{;}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
void RE03ActionInitialization::Build() const
|
||||
{
|
||||
SetUserAction(new RE03PrimaryGeneratorAction);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file runAndEvent/RE03/src/RE03DetectorConstruction.cc
|
||||
/// \brief Implementation of the RE03DetectorConstruction class
|
||||
//
|
||||
// $Id: RE03DetectorConstruction.cc 68780 2013-04-05 13:06:07Z gcosmo $
|
||||
// $Id: RE03DetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
|
||||
//
|
||||
|
||||
#include "RE03DetectorConstruction.hh"
|
||||
@@ -105,7 +105,7 @@ void RE03DetectorConstruction::SetupGeometry()
|
||||
//
|
||||
// Visualization attributes
|
||||
//
|
||||
// worldLogical->SetVisAttributes(G4VisAttributes::Invisible);
|
||||
// worldLogical->SetVisAttributes(G4VisAttributes::GetInvisible());
|
||||
G4VisAttributes* simpleBoxVisAtt= new G4VisAttributes(G4Colour(1.0,1.0,1.0));
|
||||
simpleBoxVisAtt->SetVisibility(true);
|
||||
phantomLogical->SetVisAttributes(simpleBoxVisAtt);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file runAndEvent/RE03/src/RE03UserScoreWriter.cc
|
||||
/// \brief Implementation of the RE03UserScoreWriter class
|
||||
//
|
||||
// $Id: RE03UserScoreWriter.cc 68026 2013-03-13 13:45:22Z gcosmo $
|
||||
// $Id: RE03UserScoreWriter.cc 99162 2016-09-07 08:14:24Z gcosmo $
|
||||
//
|
||||
|
||||
#include "RE03UserScoreWriter.hh"
|
||||
@@ -88,7 +88,7 @@ void RE03UserScoreWriter::DumpQuantityToFile(const G4String & psName,
|
||||
<< psName << "\"." << G4endl;
|
||||
return;
|
||||
}
|
||||
std::map<G4int, G4double*> * score = msMapItr->second->GetMap();
|
||||
std::map<G4int, G4StatDouble*> * score = msMapItr->second->GetMap();
|
||||
ofile << "# primitive scorer name: " << msMapItr->first << G4endl;
|
||||
|
||||
// write header info
|
||||
@@ -108,8 +108,8 @@ void RE03UserScoreWriter::DumpQuantityToFile(const G4String & psName,
|
||||
|
||||
G4int idx = GetIndex(x, y, z);
|
||||
|
||||
std::map<G4int, G4double*>::iterator value = score->find(idx);
|
||||
if(value != score->end()) projxy[x][y] += *(value->second);
|
||||
std::map<G4int, G4StatDouble*>::iterator value = score->find(idx);
|
||||
if(value != score->end()) projxy[x][y] += value->second->sum_wx();
|
||||
|
||||
} // z
|
||||
} // y
|
||||
|
||||
Reference in New Issue
Block a user