Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.21 2007/06/06 14:50:38 gcosmo Exp $
$Id: History,v 1.22 2008/03/02 10:52:55 kurasige Exp $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,9 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
Mar. 2nd, 2008 - H.Kurashige (procuts-V09-01-00)
- Add ProductionCutsMessenger
- Suppress 'too big cut value' messsage for higher verbosity
June 6th, 2007 - L.Urban (procuts-V08-03-01)
- Fix in G4VRangeToEnergyConverter::convert(), range-energu conversion,
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4MCCIndexConversionTable.hh,v 1.3 2006/06/29 19:29:42 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4MaterialCutsCouple.hh,v 1.3 2006/06/29 19:29:44 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4PhysicsTableHelper.hh,v 1.3 2006/06/29 19:29:46 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4ProductionCuts.hh,v 1.4 2006/06/29 19:29:48 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4ProductionCutsTable.hh,v 1.8 2007/03/15 04:06:40 kurasige Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4ProductionCutsTable.hh,v 1.9 2008/03/02 10:52:55 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -45,7 +45,8 @@
// Modified 20 Aug. 2004 H.Kurashige
// Modify RetrieveCutsTable to allow materials and
// couples can be different from one in file (i.e. at storing)
//
// Modified 2 Mar. 2008 H.Kurashige
// add messenger
// ------------------------------------------------------------
#ifndef G4ProductionCutsTable_h
@@ -57,6 +58,8 @@ class G4LogicalVolume;
class G4VPhysicalVolume;
class G4ProductionCuts;
class G4ProductionCutsTableMessenger;
#include "globals.hh"
#include <cmath>
#include "G4ios.hh"
@@ -226,7 +229,8 @@ class G4ProductionCutsTable
// 2: More
private:
G4int verboseLevel;
G4int verboseLevel;
G4ProductionCutsTableMessenger* fMessenger;
};
@@ -338,12 +342,6 @@ G4int G4ProductionCutsTable:: GetCoupleIndex(const G4Material* aMat,
return GetCoupleIndex(aCouple);
}
inline
void G4ProductionCutsTable::SetVerboseLevel(G4int value)
{
verboseLevel = value;
}
inline
G4int G4ProductionCutsTable::GetVerboseLevel() const
{
@@ -0,0 +1,94 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4ProductionCutsTableMessenger.hh,v 1.1 2008/03/02 10:52:55 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
//---------------------------------------------------------------
//
// G4ProcductionCutsTableMessenger.hh
//
// Class Description:
// This is a messenger class to interface to exchange information
// between ProductionCutsTable and UI.
// --
// the List of Directory and Commands
// -
// /run/particle/ Paricle control commands.
// Commands :
// SetCuts * Set default cut value
// dumpList * Dump List of particles in G4VUserPhysicsList.
// verbose * Set the Verbose level of G4VUserPhysicsList.
// ------------------------------------------------------------
// History
// first version 02 Mar. 2008 by H.Kurashige
// ------------------------------------------------------------
#ifndef G4ProcductionCutsTableMessenger_h
#define G4ProcductionCutsTableMessenger_h 1
class G4ProductionCutsTable;
class G4UIdirectory;
class G4UIcmdWithoutParameter;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADoubleAndUnit;
class G4UIcmdWithAString;
class G4UIcommand;
#include "G4UImessenger.hh"
#include "globals.hh"
class G4ProductionCutsTableMessenger: public G4UImessenger
{
private:
// hide default constructor
G4ProductionCutsTableMessenger(){}
public:
G4ProductionCutsTableMessenger(G4ProductionCutsTable* pTable);
virtual ~G4ProductionCutsTableMessenger();
public: // with description
virtual void SetNewValue(G4UIcommand * command,G4String newValues);
virtual G4String GetCurrentValue(G4UIcommand * command);
protected:
G4ProductionCutsTable* theCutsTable;
private: //commands
G4UIdirectory * theDirectory;
G4UIcmdWithAnInteger * verboseCmd;
G4UIcmdWithADoubleAndUnit * setLowEdgeCmd;
G4UIcmdWithADoubleAndUnit * setHighEdgeCmd;
G4UIcmdWithoutParameter * dumpCmd;
};
#endif
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForAntiNeutron.hh,v 1.2 2006/06/29 19:29:52 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForAntiProton.hh,v 1.2 2006/06/29 19:29:54 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForElectron.hh,v 1.2 2006/06/29 19:29:56 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForGamma.hh,v 1.2 2006/06/29 19:29:58 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForNeutron.hh,v 1.2 2006/06/29 19:30:00 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForPositron.hh,v 1.2 2006/06/29 19:30:02 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForProton.hh,v 1.2 2006/06/29 19:30:04 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4VRangeToEnergyConverter.hh,v 1.4 2006/06/29 19:30:06 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4MCCIndexConversionTable.cc,v 1.3 2006/06/29 19:30:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4MaterialCutsCouple.cc,v 1.3 2006/06/29 19:30:10 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4PhysicsTableHelper.cc,v 1.5 2006/06/29 19:30:12 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// ------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4ProductionCuts.cc,v 1.5 2006/06/29 19:30:14 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -24,18 +24,20 @@
// ********************************************************************
//
//
// $Id: G4ProductionCutsTable.cc,v 1.17 2007/05/30 08:22:20 kurasige Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4ProductionCutsTable.cc,v 1.18 2008/03/02 10:52:55 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file/ History:
// 06/Oct. 2002, M.Asai : First implementation
// 02/Mar. 2008, H.Kurashige : Add messenger
// --------------------------------------------------------------
#include "G4ProductionCutsTable.hh"
#include "G4ProductionCuts.hh"
#include "G4MCCIndexConversionTable.hh"
#include "G4ProductionCutsTableMessenger.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4RegionStore.hh"
@@ -65,7 +67,7 @@ G4ProductionCutsTable* G4ProductionCutsTable::GetProductionCutsTable()
}
G4ProductionCutsTable::G4ProductionCutsTable()
: firstUse(true),verboseLevel(1)
: firstUse(true),verboseLevel(1),fMessenger(0)
{
for(size_t i=0;i< NumberOfG4CutIndex;i++)
{
@@ -77,6 +79,9 @@ G4ProductionCutsTable::G4ProductionCutsTable()
}
fG4RegionStore = G4RegionStore::GetInstance();
defaultProductionCuts = new G4ProductionCuts();
// add messenger for UI
fMessenger = new G4ProductionCutsTableMessenger(this);
}
G4ProductionCutsTable::G4ProductionCutsTable(const G4ProductionCutsTable& )
@@ -102,17 +107,26 @@ G4ProductionCutsTable::~G4ProductionCutsTable()
if(energyDoubleVector[i]!=0) delete [] energyDoubleVector[i];
}
fG4ProductionCutsTable =0;
if (fMessenger !=0) delete fMessenger;
fMessenger = 0;
}
void G4ProductionCutsTable::UpdateCoupleTable(G4VPhysicalVolume* currentWorld)
{
if(firstUse){
if(G4ParticleTable::GetParticleTable()->FindParticle("gamma"))
{ converters[0] = new G4RToEConvForGamma(); }
if(G4ParticleTable::GetParticleTable()->FindParticle("e-"))
{ converters[1] = new G4RToEConvForElectron(); }
if(G4ParticleTable::GetParticleTable()->FindParticle("e+"))
{ converters[2] = new G4RToEConvForPositron(); }
if(G4ParticleTable::GetParticleTable()->FindParticle("gamma")){
converters[0] = new G4RToEConvForGamma();
converters[0]->SetVerboseLevel(GetVerboseLevel());
}
if(G4ParticleTable::GetParticleTable()->FindParticle("e-")){
converters[1] = new G4RToEConvForElectron();
converters[1]->SetVerboseLevel(GetVerboseLevel());
}
if(G4ParticleTable::GetParticleTable()->FindParticle("e+")){
converters[2] = new G4RToEConvForPositron();
converters[2]->SetVerboseLevel(GetVerboseLevel());
}
firstUse = false;
}
@@ -375,7 +389,7 @@ G4bool G4ProductionCutsTable::StoreCutsTable(const G4String& dir,
if (!StoreCutsInfo(dir, ascii)) return false;
#ifdef G4VERBOSE
if (verboseLevel >1) {
if (verboseLevel >2) {
G4cout << "G4ProductionCutsTable::StoreCutsTable " ;
G4cout << " Material/Cuts information have been succesfully stored ";
if (ascii) {
@@ -395,7 +409,7 @@ G4bool G4ProductionCutsTable::RetrieveCutsTable(const G4String& dir,
if (!CheckForRetrieveCutsTable(dir, ascii)) return false;
if (!RetrieveCutsInfo(dir, ascii)) return false;
#ifdef G4VERBOSE
if (verboseLevel >1) {
if (verboseLevel >2) {
G4cout << "G4ProductionCutsTable::RetrieveCutsTable " ;
G4cout << " Material/Cuts information have been succesfully retreived ";
if (ascii) {
@@ -419,11 +433,11 @@ G4bool
G4cerr << "G4ProductionCutsTable::CheckForRetrieveCutsTable!!"<< G4endl;
// isNeedForRestoreCoupleInfo = false;
if (!CheckMaterialInfo(directory, ascii)) return false;
if (verboseLevel >1) {
if (verboseLevel >2) {
G4cerr << "G4ProductionCutsTable::CheckMaterialInfo passed !!"<< G4endl;
}
if (!CheckMaterialCutsCoupleInfo(directory, ascii)) return false;
if (verboseLevel >1) {
if (verboseLevel >2) {
G4cerr << "G4ProductionCutsTable::CheckMaterialCutsCoupleInfo passed !!"<< G4endl;
}
return true;
@@ -1079,3 +1093,16 @@ G4bool G4ProductionCutsTable::RetrieveCutsInfo(const G4String& directory,
}
return true;
}
// Set Verbose Level
// set same verbosity to all registered RangeToEnergyConverters
void G4ProductionCutsTable::SetVerboseLevel(G4int value)
{
verboseLevel = value;
for (int ip=0; ip< NumberOfG4CutIndex; ip++) {
if (converters[ip] !=0 ){
converters[ip]->SetVerboseLevel(value);
}
}
}
@@ -0,0 +1,144 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4ProductionCutsTableMessenger.cc,v 1.1 2008/03/02 10:52:55 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
//---------------------------------------------------------------
//
// G4ProductionCutsTableMessenger.cc
// ------------------------------------------------------------
// History
// first version 02 Mar. 2008 by H.Kurashige
//
#include "G4ProductionCutsTableMessenger.hh"
#include "G4ProductionCutsTable.hh"
#include "G4UIdirectory.hh"
#include "G4UIcmdWithoutParameter.hh"
#include "G4UIcmdWithAnInteger.hh"
#include "G4UIcmdWithADoubleAndUnit.hh"
#include "G4UIcmdWithAString.hh"
#include "G4ios.hh"
#include "G4Tokenizer.hh"
#include <sstream>
G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger( G4ProductionCutsTable* pTable)
:theCutsTable(pTable)
{
// /cuts/ directory
theDirectory = new G4UIdirectory("/cuts/");
theDirectory->SetGuidance("Commands for G4VUserPhysicsList.");
// /cuts/verbose command
verboseCmd = new G4UIcmdWithAnInteger("/cuts/verbose",this);
verboseCmd->SetGuidance("Set the Verbose level of G4ProductionCutsTable.");
verboseCmd->SetGuidance(" 0 : Silent (default)");
verboseCmd->SetGuidance(" 1 : Display warning messages");
verboseCmd->SetGuidance(" 2 : Display more info");
verboseCmd->SetGuidance(" 2 : Display debug info");
verboseCmd->SetParameterName("level",true);
verboseCmd->SetDefaultValue(0);
verboseCmd->SetRange("level >=0 && level <=3");
// /cuts/setLowEdge command
setLowEdgeCmd = new G4UIcmdWithADoubleAndUnit("/cuts/setLowEdge",this);
setLowEdgeCmd->SetGuidance("Set low edge energy value ");
setLowEdgeCmd->SetParameterName("edge",false);
setLowEdgeCmd->SetDefaultValue(0.99);
setLowEdgeCmd->SetRange("edge >0.0");
setLowEdgeCmd->SetDefaultUnit("keV");
setLowEdgeCmd->AvailableForStates(G4State_PreInit);
// /cuts/setHighEdge command
setHighEdgeCmd = new G4UIcmdWithADoubleAndUnit("/cuts/setHighEdge",this);
setHighEdgeCmd->SetGuidance("Set high edge energy value ");
setHighEdgeCmd->SetParameterName("edge",false);
setHighEdgeCmd->SetDefaultValue(100.0);
setHighEdgeCmd->SetRange("edge >0.0");
setHighEdgeCmd->SetDefaultUnit("TeV");
setHighEdgeCmd->AvailableForStates(G4State_PreInit);
// /cuts/dump command
dumpCmd = new G4UIcmdWithoutParameter("/cuts/dump",this);
dumpCmd->SetGuidance("Dump cuplues in ProductuinCutsTable. ");
}
G4ProductionCutsTableMessenger::~G4ProductionCutsTableMessenger()
{
delete dumpCmd;
delete setHighEdgeCmd;
delete setLowEdgeCmd;
delete verboseCmd;
delete theDirectory;
}
void G4ProductionCutsTableMessenger::SetNewValue(G4UIcommand * command,
G4String newValue)
{
if( command==verboseCmd ) {
theCutsTable->SetVerboseLevel(verboseCmd->GetNewIntValue(newValue));
} else if( command==dumpCmd ){
theCutsTable-> DumpCouples();
} else if( command==setLowEdgeCmd ){
G4double lowEdge = setLowEdgeCmd->GetNewDoubleValue(newValue);
G4double highEdge = theCutsTable->GetHighEdgeEnergy();
theCutsTable->SetEnergyRange(lowEdge, highEdge);
} else if( command==setHighEdgeCmd ){
G4double highEdge = setHighEdgeCmd->GetNewDoubleValue(newValue);
G4double lowEdge = theCutsTable->GetLowEdgeEnergy();
theCutsTable->SetEnergyRange(lowEdge, highEdge);
}
}
G4String G4ProductionCutsTableMessenger::GetCurrentValue(G4UIcommand * command)
{
G4String cv;
if( command==verboseCmd ){
cv = verboseCmd->ConvertToString(theCutsTable->GetVerboseLevel());
} else if( command==setLowEdgeCmd ){
G4double lowEdge = theCutsTable->GetLowEdgeEnergy();
cv = setLowEdgeCmd->ConvertToString( lowEdge, "keV" );
} else if( command==setHighEdgeCmd ){
G4double highEdge = theCutsTable->GetHighEdgeEnergy();
cv = setHighEdgeCmd->ConvertToString( highEdge, "TeV" );
}
return cv;
}
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForAntiNeutron.cc,v 1.3 2006/06/29 19:30:18 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForAntiProton.cc,v 1.3 2006/06/29 19:30:20 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForElectron.cc,v 1.5 2006/06/29 19:30:22 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForGamma.cc,v 1.4 2006/06/29 19:30:24 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForNeutron.cc,v 1.3 2006/06/29 19:30:26 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForPositron.cc,v 1.5 2006/06/29 19:30:28 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4RToEConvForProton.cc,v 1.3 2006/06/29 19:30:30 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VRangeToEnergyConverter.cc,v 1.8 2007/06/06 05:13:34 urban Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4VRangeToEnergyConverter.cc,v 1.9 2008/03/02 10:52:56 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// --------------------------------------------------------------
@@ -273,7 +273,7 @@ void G4VRangeToEnergyConverter::BuildLossTable()
theLossTable = new G4LossTable();
theLossTable->reserve(G4Element::GetNumberOfElements());
#ifdef G4VERBOSE
if (GetVerboseLevel()>2) {
if (GetVerboseLevel()>3) {
G4cout << "G4VRangeToEnergyConverter::BuildLossTable() ";
G4cout << "Create theLossTable[" << theLossTable << "]";
G4cout << " NumberOfElements=" << NumberOfElements <<G4endl;
@@ -446,7 +446,7 @@ G4double G4VRangeToEnergyConverter::ConvertCutToKineticEnergy(
// check cut in length is smaller than range max
if ( theCutInLength >= rmax ) {
#ifdef G4VERBOSE
if (GetVerboseLevel()>0) {
if (GetVerboseLevel()>2) {
G4cout << "G4VRangeToEnergyConverter::ConvertCutToKineticEnergy ";
G4cout << " for " << theParticle->GetParticleName() << G4endl;
G4cout << "The cut in range [" << theCutInLength/mm << " (mm)] ";