Geant4 VMC
Version 6.6
Loading...
Searching...
No Matches
source
physics
src
TG4VPhysicsConstructor.cxx
Go to the documentation of this file.
1
//------------------------------------------------
2
// The Geant4 Virtual Monte Carlo package
3
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4
// All rights reserved.
5
//
6
// For the licensing terms see geant4_vmc/LICENSE.
7
// Contact: root-vmc@cern.ch
8
//-------------------------------------------------
9
17
18
#include "
TG4VPhysicsConstructor.h
"
19
#include "
TG4Globals.h
"
20
21
//_____________________________________________________________________________
22
TG4VPhysicsConstructor::TG4VPhysicsConstructor
(
const
G4String& name)
23
:
G4VPhysicsConstructor
(name),
TG4Verbose
(G4String(
"physics"
+ name))
24
{
26
27
VerboseLevel
(1);
28
}
29
30
//_____________________________________________________________________________
31
TG4VPhysicsConstructor::TG4VPhysicsConstructor
(
32
const
G4String& name, G4int theVerboseLevel)
33
:
G4VPhysicsConstructor
(name),
TG4Verbose
(G4String(
"physics"
+ name))
34
{
36
37
VerboseLevel
(theVerboseLevel);
38
}
39
40
//_____________________________________________________________________________
41
TG4VPhysicsConstructor::~TG4VPhysicsConstructor
()
42
{
44
}
45
46
//
47
// public methods
48
//
49
50
//_____________________________________________________________________________
51
void
TG4VPhysicsConstructor::VerboseLevel
(G4int level)
52
{
55
56
TG4Verbose::VerboseLevel
(level);
57
58
// verbose in G4VPhysicsConstructor
59
SetVerboseLevel(level);
60
}
61
62
//_____________________________________________________________________________
63
G4int
TG4VPhysicsConstructor::VerboseLevel
()
const
64
{
66
67
return
TG4Verbose::VerboseLevel
();
68
}
TG4Globals.h
Definition of the TG4Globals class and basic container types.
TG4VPhysicsConstructor.h
Definition of the TG4VPhysicsConstructor class.
G4VPhysicsConstructor
TG4VPhysicsConstructor::~TG4VPhysicsConstructor
virtual ~TG4VPhysicsConstructor()
Definition
TG4VPhysicsConstructor.cxx:41
TG4VPhysicsConstructor::TG4VPhysicsConstructor
TG4VPhysicsConstructor()
Not implemented.
TG4VPhysicsConstructor::VerboseLevel
virtual G4int VerboseLevel() const
Definition
TG4VPhysicsConstructor.cxx:63
TG4Verbose
Base class for defining the verbose level and a common messenger.
Definition
TG4Verbose.h:36
TG4Verbose::VerboseLevel
virtual G4int VerboseLevel() const
Definition
TG4Verbose.h:78
Generated on Thu Oct 17 2024 08:29:40 for Geant4 VMC by
1.12.0