ATLAS Offline Software
Loading...
Searching...
No Matches
DeadMaterialShowerTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8
9#include "CLHEP/Units/SystemOfUnits.h"
10
11DeadMaterialShowerTool::DeadMaterialShowerTool(const std::string& type, const std::string& name, const IInterface *parent)
12 : FastSimulationBase(type,name,parent)
13{
14 declareProperty( "HighEnergy" , m_highEnergy = 1000.0*CLHEP::GeV , "Kill everything but muons up to this energy" );
15 declareProperty( "LowEnergy" , m_lowEnergy = 0.0*CLHEP::GeV , "Kill only electrons and positrons up to this energy" );
16 declareProperty( "ZCutoff" , m_zcutoff = 5698.*CLHEP::mm , "Z-position to start killing everything but muons" );
17}
18
20{
21 ATH_MSG_DEBUG( "Initializing Fast Sim Model" );
22
23 // Create a fresh Fast Sim Model
25}
#define ATH_MSG_DEBUG(x)
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
double m_zcutoff
!< Kill only electrons and positrons up to this energy
DeadMaterialShowerTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
double m_lowEnergy
!< Kill everything but muons up to this energy
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
G4Region * getRegion() const