#include "TG4G3PhysicsManager.h"
#include "TG4G3ControlVector.h"
#include "TG4ProcessControlMap.h"
-#include "TG4ExtDecayer.h"
-#include "AliDecayer.h"
-#include "AliMC.h"
#include <G4ParticleDefinition.hh>
#include <G4ProcessManager.hh>
#include <G4IonConstructor.hh>
#include <G4ShortLivedConstructor.hh>
#include <G4ProcessTable.hh>
-#include <G4Decay.hh>
const G4double TG4ModularPhysicsList::fgkDefaultCutValue = 1.0 * mm;
//_____________________________________________________________________________
TG4ModularPhysicsList::TG4ModularPhysicsList()
- : G4VModularPhysicsList() {
+ : G4VModularPhysicsList(),
+ TG4Verbose("physicsList") {
//
defaultCutValue = fgkDefaultCutValue;
- SetVerboseLevel(2);
+ SetVerboseLevel(VerboseLevel());
}
//_____________________________________________________________________________
TG4ModularPhysicsList::TG4ModularPhysicsList(const TG4ModularPhysicsList& right)
-{
+ : TG4Verbose("physicsList") {
//
TG4Globals::Exception("TG4ModularPhysicsList is protected from copying.");
}
G4String strActivation = "activation";
if (!activation) strActivation = "inactivation";
- if (verboseLevel>1) {
+ if (VerboseLevel() > 1) {
G4cout << "Set process " << strActivation << " for "
<< (*processManager->GetProcessList())[processId]->GetProcessName()
<< G4endl;
G4double ecut = cut;
#ifdef G4VERBOSE
- if (verboseLevel >1){
+ if (VerboseLevel() > 1) {
G4cout << "TG4ModularPhysicsList::SetCutsWithDefault:";
G4cout << "CutLength : " << cut/mm << " (mm)" << G4endl;
}
= TG4GeometryServices::Instance()->IsSpecialControls();
if (!specialControls)
- G4cout << G4endl
- << "### No special controls in user limits are set." << G4endl;
+ if (VerboseLevel() > 0) {
+ G4cout << G4endl
+ << "### No special controls in user limits are set." << G4endl;
+ }
if (!controlVector) {
G4String text = "TG4ModularPhysicsList::SetProcessActivation: \n";
G4cout << G4endl;
}
}
-