Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
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
20#include <globals.hh>
21
22class G4Decay;
23
31
33{
34 public:
35 TG4ExtDecayerPhysics(const G4String& name = "ExtDecayer");
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:
55
56 // data members
58 G4Decay* fDecayProcess;
59 G4String fSelection;
61};
62
63// inline functions
64
65inline void TG4ExtDecayerPhysics::SetSelection(const G4String& selection)
66{
69 fSelection = selection;
70}
71
72inline void TG4ExtDecayerPhysics::SetSkipNeutrino(G4bool skipNeutrino)
73{
75 fSkipNeutrino = skipNeutrino;
76}
77
78#endif // TG4_EXT_DECAYER_PHYSICS_H
Definition of the TG4ExtDecayerMessenger class.
Definition of the TG4VPhysicsConstructor class.
Messenger class that defines commands for the stack popper special process.
The builder for external decayer.
void SetSelection(const G4String &selection)
TG4ExtDecayerPhysics & operator=(const TG4ExtDecayerPhysics &right)
Not implemented.
G4bool fSkipNeutrino
option to skip importing neutrinos
TG4ExtDecayerMessenger fMessenger
messenger
TG4ExtDecayerPhysics(const G4String &name="ExtDecayer")
TG4ExtDecayerPhysics(const TG4ExtDecayerPhysics &right)
Not implemented.
G4Decay * fDecayProcess
decay process
void SetSkipNeutrino(G4bool skipNeutrino)
virtual void ConstructParticle()
Construct particles.
G4String fSelection
particles selection
virtual void ConstructProcess()
Construct physics processes.
Abstract base class for physics constructors with verbose.