Geant4 VMC
Version 6.6
Loading...
Searching...
No Matches
source
physics
include
TG4ExtDecayer.h
Go to the documentation of this file.
1
#ifndef TG4_EXT_DECAYER_H
2
#define TG4_EXT_DECAYER_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 "
TG4Verbose.h
"
19
20
#include "G4VExtDecayer.hh"
21
#include "globals.hh"
22
23
class
TVirtualMCDecayer;
24
class
TG4ParticlesManager
;
25
26
class
G4Track;
27
class
G4DecayProducts;
28
29
class
TClonesArray;
30
40
41
class
TG4ExtDecayer
:
public
G4VExtDecayer
,
public
TG4Verbose
42
{
43
public
:
44
TG4ExtDecayer
(TVirtualMCDecayer* externalDecayer);
45
virtual
~TG4ExtDecayer
();
46
47
virtual
G4DecayProducts*
ImportDecayProducts
(
const
G4Track& track);
48
49
// set methods
50
void
SetSkipNeutrino
(G4bool skipNeutrino);
51
52
private
:
54
TG4ExtDecayer
(
const
TG4ExtDecayer
& right);
56
TG4ExtDecayer
&
operator=
(
const
TG4ExtDecayer
& right);
57
58
TG4ParticlesManager
*
fParticlesManager
;
59
TVirtualMCDecayer*
fExternalDecayer
;
60
TClonesArray*
fDecayProductsArray
;
61
G4bool
fSkipNeutrino
;
62
};
63
64
// inline functions
65
66
inline
void
TG4ExtDecayer::SetSkipNeutrino
(G4bool skipNeutrino)
67
{
69
fSkipNeutrino
= skipNeutrino;
70
}
71
72
#endif
// TG4_EXT_DECAYER_H
TG4Verbose.h
Definition of the TG4Verbose class.
G4VExtDecayer
TG4ExtDecayer
Implements the G4VExtDecayer abstract class with the TVirtualMCDecayer.
Definition
TG4ExtDecayer.h:42
TG4ExtDecayer::ImportDecayProducts
virtual G4DecayProducts * ImportDecayProducts(const G4Track &track)
Definition
TG4ExtDecayer.cxx:59
TG4ExtDecayer::fDecayProductsArray
TClonesArray * fDecayProductsArray
array of decay products
Definition
TG4ExtDecayer.h:60
TG4ExtDecayer::TG4ExtDecayer
TG4ExtDecayer(const TG4ExtDecayer &right)
Not implemented.
TG4ExtDecayer::SetSkipNeutrino
void SetSkipNeutrino(G4bool skipNeutrino)
Definition
TG4ExtDecayer.h:66
TG4ExtDecayer::fParticlesManager
TG4ParticlesManager * fParticlesManager
particles manager
Definition
TG4ExtDecayer.h:58
TG4ExtDecayer::TG4ExtDecayer
TG4ExtDecayer(TVirtualMCDecayer *externalDecayer)
Definition
TG4ExtDecayer.cxx:33
TG4ExtDecayer::operator=
TG4ExtDecayer & operator=(const TG4ExtDecayer &right)
Not implemented.
TG4ExtDecayer::~TG4ExtDecayer
virtual ~TG4ExtDecayer()
Definition
TG4ExtDecayer.cxx:47
TG4ExtDecayer::fSkipNeutrino
G4bool fSkipNeutrino
option to skip importing neutrinos
Definition
TG4ExtDecayer.h:61
TG4ExtDecayer::fExternalDecayer
TVirtualMCDecayer * fExternalDecayer
the external decayer
Definition
TG4ExtDecayer.h:59
TG4ParticlesManager
Provides mapping between TDatabasePDG and Geant4 particles.
Definition
TG4ParticlesManager.h:48
TG4Verbose
Base class for defining the verbose level and a common messenger.
Definition
TG4Verbose.h:36
Generated on Thu Oct 17 2024 08:29:40 for Geant4 VMC by
1.12.0