ATLAS Offline Software
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 
7 #include "DeadMaterialShower.h"
8 
9 #include "CLHEP/Units/SystemOfUnits.h"
10 
11 DeadMaterialShowerTool::DeadMaterialShowerTool(const std::string& type, const std::string& name, const IInterface *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 }
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
DeadMaterialShowerTool::m_lowEnergy
double m_lowEnergy
!< Kill everything but muons up to this energy
Definition: DeadMaterialShowerTool.h:26
FastSimulationBase
Definition: FastSimulationBase.h:26
DeadMaterialShowerTool::m_zcutoff
double m_zcutoff
!< Kill only electrons and positrons up to this energy
Definition: DeadMaterialShowerTool.h:27
DeadMaterialShowerTool::DeadMaterialShowerTool
DeadMaterialShowerTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: DeadMaterialShowerTool.cxx:11
DeadMaterialShowerTool.h
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DeadMaterialShowerTool::m_highEnergy
double m_highEnergy
Definition: DeadMaterialShowerTool.h:25
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DeadMaterialShowerTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition: DeadMaterialShowerTool.cxx:19
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
DeadMaterialShower
Definition: DeadMaterialShower.h:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DeadMaterialShower.h