ATLAS Offline Software
Simulation
G4Utilities
G4FastSimulation
src
DeadMaterialShower.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4FASTSIMULATION_DEADMATERIALSHOWER_H
6
#define G4FASTSIMULATION_DEADMATERIALSHOWER_H
7
8
#include "G4VFastSimulationModel.hh"
9
10
#include <G4Region.hh>
11
#include <string>
12
class
G4FastStep;
13
class
G4FastTrack;
14
class
G4ParticleDefinition;
15
16
class
DeadMaterialShower
:
public
G4VFastSimulationModel
17
{
18
public
:
19
20
DeadMaterialShower
(
const
std::string&
name
, G4Region* region,
const
double
& highEnergy,
const
double
& lowEnergy,
const
double
& zcutoff);
21
~DeadMaterialShower
() {}
22
23
G4bool
IsApplicable
(
const
G4ParticleDefinition&)
override
final
;
24
void
DoIt
(
const
G4FastTrack&, G4FastStep&)
override
final
;
25
29
G4bool
ModelTrigger
(
const
G4FastTrack &)
override
final
;
30
31
private
:
32
double
m_highEnergy
;
33
double
m_lowEnergy
;
34
double
m_zcutoff
;
35
36
};
37
38
#endif //G4FASTSIMULATION_DEADMATERIALSHOWER_H
39
DeadMaterialShower::DeadMaterialShower
DeadMaterialShower(const std::string &name, G4Region *region, const double &highEnergy, const double &lowEnergy, const double &zcutoff)
Definition:
DeadMaterialShower.cxx:19
DeadMaterialShower::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition:
DeadMaterialShower.cxx:28
DeadMaterialShower::m_zcutoff
double m_zcutoff
!< Kill only electrons and positrons up to this energy
Definition:
DeadMaterialShower.h:34
DeadMaterialShower::~DeadMaterialShower
~DeadMaterialShower()
Definition:
DeadMaterialShower.h:21
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
DeadMaterialShower::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition:
DeadMaterialShower.cxx:68
DeadMaterialShower::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &) override final
Determines the applicability of the fast sim model to this particular track.
Definition:
DeadMaterialShower.cxx:45
DeadMaterialShower
Definition:
DeadMaterialShower.h:17
DeadMaterialShower::m_highEnergy
double m_highEnergy
Definition:
DeadMaterialShower.h:32
DeadMaterialShower::m_lowEnergy
double m_lowEnergy
!< Kill everything but muons up to this energy
Definition:
DeadMaterialShower.h:33
Generated on Mon Sep 29 2025 21:09:01 for ATLAS Offline Software by
1.8.18