Geant4 VMC
Version 6.8
Toggle main menu visibility
Loading...
Searching...
No Matches
source
physics_list
include
TG4ExtDecayerPhysics.h
Go to the documentation of this file.
1
#ifndef TG4_EXT_DECAYER_PHYSICS_H
2
#define TG4_EXT_DECAYER_PHYSICS_H
3
4
//------------------------------------------------
5
// The Geant4 Virtual Monte Carlo package
6
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
7
// All rights reserved.
8
//
9
// For the licensing terms see geant4_vmc/LICENSE.
10
// Contact: root-vmc@cern.ch
11
//-------------------------------------------------
12
17
18
#include "
TG4ExtDecayerMessenger.h
"
19
#include "
TG4VPhysicsConstructor.h
"
20
#include <globals.hh>
21
22
class
G4Decay;
23
31
32
class
TG4ExtDecayerPhysics
:
public
TG4VPhysicsConstructor
33
{
34
public
:
35
TG4ExtDecayerPhysics
(
const
G4String& name =
"ExtDecayer"
);
36
TG4ExtDecayerPhysics
(
37
G4int theVerboseLevel,
const
G4String& name =
"ExtDecayer"
);
38
virtual
~TG4ExtDecayerPhysics
();
39
40
// set methods
41
void
SetSelection
(
const
G4String& selection);
42
void
SetSkipNeutrino
(G4bool skipNeutrino);
43
44
protected
:
45
// methods
46
// construct particle and physics
47
virtual
void
ConstructParticle
();
48
virtual
void
ConstructProcess
();
49
50
private
:
52
TG4ExtDecayerPhysics
(
const
TG4ExtDecayerPhysics
& right);
54
TG4ExtDecayerPhysics
&
operator=
(
const
TG4ExtDecayerPhysics
& right);
55
56
// data members
57
TG4ExtDecayerMessenger
fMessenger
;
58
G4Decay*
fDecayProcess
;
59
G4String
fSelection
;
60
G4bool
fSkipNeutrino
;
61
};
62
63
// inline functions
64
65
inline
void
TG4ExtDecayerPhysics::SetSelection
(
const
G4String& selection)
66
{
69
fSelection
= selection;
70
}
71
72
inline
void
TG4ExtDecayerPhysics::SetSkipNeutrino
(G4bool skipNeutrino)
73
{
75
fSkipNeutrino
= skipNeutrino;
76
}
77
78
#endif
// TG4_EXT_DECAYER_PHYSICS_H
TG4ExtDecayerMessenger.h
Definition of the TG4ExtDecayerMessenger class.
TG4VPhysicsConstructor.h
Definition of the TG4VPhysicsConstructor class.
TG4ExtDecayerMessenger
Messenger class that defines commands for the stack popper special process.
Definition
TG4ExtDecayerMessenger.h:37
TG4ExtDecayerPhysics::SetSelection
void SetSelection(const G4String &selection)
Definition
TG4ExtDecayerPhysics.h:65
TG4ExtDecayerPhysics::operator=
TG4ExtDecayerPhysics & operator=(const TG4ExtDecayerPhysics &right)
Not implemented.
TG4ExtDecayerPhysics::fSkipNeutrino
G4bool fSkipNeutrino
option to skip importing neutrinos
Definition
TG4ExtDecayerPhysics.h:60
TG4ExtDecayerPhysics::fMessenger
TG4ExtDecayerMessenger fMessenger
messenger
Definition
TG4ExtDecayerPhysics.h:57
TG4ExtDecayerPhysics::TG4ExtDecayerPhysics
TG4ExtDecayerPhysics(const G4String &name="ExtDecayer")
Definition
TG4ExtDecayerPhysics.cxx:27
TG4ExtDecayerPhysics::TG4ExtDecayerPhysics
TG4ExtDecayerPhysics(const TG4ExtDecayerPhysics &right)
Not implemented.
TG4ExtDecayerPhysics::fDecayProcess
G4Decay * fDecayProcess
decay process
Definition
TG4ExtDecayerPhysics.h:58
TG4ExtDecayerPhysics::SetSkipNeutrino
void SetSkipNeutrino(G4bool skipNeutrino)
Definition
TG4ExtDecayerPhysics.h:72
TG4ExtDecayerPhysics::~TG4ExtDecayerPhysics
virtual ~TG4ExtDecayerPhysics()
Definition
TG4ExtDecayerPhysics.cxx:50
TG4ExtDecayerPhysics::ConstructParticle
virtual void ConstructParticle()
Construct particles.
Definition
TG4ExtDecayerPhysics.cxx:62
TG4ExtDecayerPhysics::fSelection
G4String fSelection
particles selection
Definition
TG4ExtDecayerPhysics.h:59
TG4ExtDecayerPhysics::ConstructProcess
virtual void ConstructProcess()
Construct physics processes.
Definition
TG4ExtDecayerPhysics.cxx:68
TG4VPhysicsConstructor::TG4VPhysicsConstructor
TG4VPhysicsConstructor(const G4String &name)
Definition
TG4VPhysicsConstructor.cxx:22
Generated on
for Geant4 VMC by
1.17.0