ATLAS Offline Software
Loading...
Searching...
No Matches
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>
12class G4FastStep;
13class G4FastTrack;
14class G4ParticleDefinition;
15
16class DeadMaterialShower: public G4VFastSimulationModel
17{
18 public:
19
20 DeadMaterialShower(const std::string& name, G4Region* region, const double& highEnergy, const double& lowEnergy, const double& zcutoff);
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(const std::string &name, G4Region *region, const double &highEnergy, const double &lowEnergy, const double &zcutoff)
double m_zcutoff
!< Kill only electrons and positrons up to this energy
G4bool ModelTrigger(const G4FastTrack &) override final
Determines the applicability of the fast sim model to this particular track.
void DoIt(const G4FastTrack &, G4FastStep &) override final
G4bool IsApplicable(const G4ParticleDefinition &) override final
double m_lowEnergy
!< Kill everything but muons up to this energy