Geant4 VMC
Version 6.8
Toggle main menu visibility
Loading...
Searching...
No Matches
source
physics_list
include
TG4StackPopperPhysics.h
Go to the documentation of this file.
1
#ifndef TG4_STACK_POPPER_PHYSICS_H
2
#define TG4_STACK_POPPER_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 "
TG4StackPopperMessenger.h
"
19
#include "
TG4VPhysicsConstructor.h
"
20
21
#include <globals.hh>
22
23
class
TG4StackPopper
;
24
29
30
class
TG4StackPopperPhysics
:
public
TG4VPhysicsConstructor
31
{
32
public
:
33
TG4StackPopperPhysics
(
const
G4String& name =
"StackPopper"
);
34
TG4StackPopperPhysics
(
35
G4int theVerboseLevel,
const
G4String& name =
"StackPopper"
);
36
virtual
~TG4StackPopperPhysics
();
37
38
// set methods
39
void
SetSelection
(
const
G4String& selection);
40
41
protected
:
42
// methods
43
// construct particle and physics
44
virtual
void
ConstructParticle
();
45
virtual
void
ConstructProcess
();
46
47
private
:
49
TG4StackPopperPhysics
(
const
TG4StackPopperPhysics
& right);
51
TG4StackPopperPhysics
&
operator=
(
const
TG4StackPopperPhysics
& right);
52
53
// data members
54
TG4StackPopperMessenger
fMessenger
;
55
TG4StackPopper
*
fStackPopperProcess
;
56
G4String
fSelection
;
57
};
58
59
// inline functions
60
61
inline
void
TG4StackPopperPhysics::SetSelection
(
const
G4String& selection)
62
{
64
fSelection
= selection;
65
}
66
67
#endif
// TG4_STACK_POPPER_PHYSICS_H
TG4StackPopperMessenger.h
Definition of the TG4StackPopperMessenger class.
TG4VPhysicsConstructor.h
Definition of the TG4VPhysicsConstructor class.
TG4StackPopperMessenger
Messenger class that defines commands for the stack popper special process.
Definition
TG4StackPopperMessenger.h:35
TG4StackPopperPhysics::fStackPopperProcess
TG4StackPopper * fStackPopperProcess
stack popper process
Definition
TG4StackPopperPhysics.h:55
TG4StackPopperPhysics::fMessenger
TG4StackPopperMessenger fMessenger
messenger
Definition
TG4StackPopperPhysics.h:54
TG4StackPopperPhysics::fSelection
G4String fSelection
particles selection
Definition
TG4StackPopperPhysics.h:56
TG4StackPopperPhysics::SetSelection
void SetSelection(const G4String &selection)
Definition
TG4StackPopperPhysics.h:61
TG4StackPopperPhysics::ConstructProcess
virtual void ConstructProcess()
Construct physics processes.
Definition
TG4StackPopperPhysics.cxx:61
TG4StackPopperPhysics::TG4StackPopperPhysics
TG4StackPopperPhysics(const G4String &name="StackPopper")
Definition
TG4StackPopperPhysics.cxx:22
TG4StackPopperPhysics::operator=
TG4StackPopperPhysics & operator=(const TG4StackPopperPhysics &right)
Not implemented.
TG4StackPopperPhysics::TG4StackPopperPhysics
TG4StackPopperPhysics(const TG4StackPopperPhysics &right)
Not implemented.
TG4StackPopperPhysics::~TG4StackPopperPhysics
virtual ~TG4StackPopperPhysics()
Definition
TG4StackPopperPhysics.cxx:43
TG4StackPopperPhysics::ConstructParticle
virtual void ConstructParticle()
Construct particles.
Definition
TG4StackPopperPhysics.cxx:55
TG4StackPopper
The process which pops particles defined by user from the VMC stack and passes them to tracking.
Definition
TG4StackPopper.h:41
TG4VPhysicsConstructor::TG4VPhysicsConstructor
TG4VPhysicsConstructor(const G4String &name)
Definition
TG4VPhysicsConstructor.cxx:22
Generated on
for Geant4 VMC by
1.17.0