Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
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
20
21#include <globals.hh>
22
23class TG4StackPopper;
24
29
31{
32 public:
33 TG4StackPopperPhysics(const G4String& name = "StackPopper");
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:
52
53 // data members
56 G4String fSelection;
57};
58
59// inline functions
60
61inline void TG4StackPopperPhysics::SetSelection(const G4String& selection)
62{
64 fSelection = selection;
65}
66
67#endif // TG4_STACK_POPPER_PHYSICS_H
Definition of the TG4StackPopperMessenger class.
Definition of the TG4VPhysicsConstructor class.
Messenger class that defines commands for the stack popper special process.
The builder for stack popper process.
TG4StackPopper * fStackPopperProcess
stack popper process
TG4StackPopperMessenger fMessenger
messenger
G4String fSelection
particles selection
void SetSelection(const G4String &selection)
virtual void ConstructProcess()
Construct physics processes.
TG4StackPopperPhysics(const G4String &name="StackPopper")
TG4StackPopperPhysics & operator=(const TG4StackPopperPhysics &right)
Not implemented.
TG4StackPopperPhysics(const TG4StackPopperPhysics &right)
Not implemented.
virtual void ConstructParticle()
Construct particles.
The process which pops particles defined by user from the VMC stack and passes them to tracking.
Abstract base class for physics constructors with verbose.