![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef LARG4FASTSIMSVC_LARG4FASTSIMSVC_H
5 #define LARG4FASTSIMSVC_LARG4FASTSIMSVC_H
12 #include "GaudiKernel/StatusCode.h"
14 #include "Gaudi/Property.h"
16 #include "G4Electron.hh"
17 #include "G4Positron.hh"
19 #include "G4Neutron.hh"
20 #include "G4PionPlus.hh"
21 #include "G4PionMinus.hh"
47 static const InterfaceID&
interfaceID() {
return IID_ILArG4FastSimSvc; }
116 if ( &
particleType == G4Electron::ElectronDefinition() ||
119 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
121 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
123 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
130 if ( &
particleType == G4Electron::ElectronDefinition() ||
133 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
135 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
137 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
145 if ( &
particleType == G4Electron::ElectronDefinition() ||
148 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
150 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
152 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
165 #endif // LARG4FASTSIMSVC_LARG4FASTSIMSVC_H
bool m_containLow
switch for containment check at low eta
std::string m_detector_tag_str
double m_e_MinEneShowerLib
lower energy limit for electron frozen showers
StringProperty m_generated_starting_points_file
switch for shower starting point record
int m_detector_tag
name for the detector tag for the ShowerLibSvc
virtual float generateFSStartingPointsRatio() const
double m_Neut_MinEneShowerLib
lower energy limit for neutron frozen showers
void print() const
dump object content
virtual StatusCode initialize()
std::map< std::string, int > m_detmap
Class for fast simulation option service.
static const InterfaceID & interfaceID()
Retrieve interface ID.
virtual bool ContainLow() const
Apply check containment at low eta.
bool m_containHigh
switch for containment check at high eta
HepMC::IO_GenEvent * m_starting_points_file
virtual StatusCode finalize()
virtual double maxEneToShowerLib(const G4ParticleDefinition &particleType) const
get lower energy limit for frozen showers
bool m_containCrack
switch for containment check in crack region
virtual bool ContainCrack() const
Apply check containment in crack region.
virtual int DetectorTag() const
double m_Pion_MinEneShowerLib
lower energy limit for pion frozen showers
virtual bool generateFSStartingPoints() const
LArG4FastSimSvc(const std::string &name, ISvcLocator *sl)
Standard Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool ContainHigh() const
Apply check containment at high eta.
virtual bool generateFSStartingPoint(const HepMC::GenEvent *ge)
double m_g_MaxEneShowerLib
lower energy limit for photon frozen showers
double m_Pion_MaxEneShowerLib
upper energy limit for pion frozen showers
float m_generated_starting_points_ratio
switch for shower starting point record
bool m_Neut_FlagShowerLib
switch for neutron frozen showers
virtual ~LArG4FastSimSvc()
Standard Destructor.
virtual double minEneToShowerLib(const G4ParticleDefinition &particleType) const
get upper energy limit for frozen showers
bool m_Pion_FlagShowerLib
switch for pion frozen showers
bool m_generate_starting_points
bool m_g_FlagShowerLib
switch for photon frozen showers
StatusCode queryInterface(const InterfaceID &riid, void **ppvIF)
Query interface.
bool m_e_FlagShowerLib
switch for electron frozen showers
double m_g_MinEneShowerLib
upper energy limit for photon frozen showers
virtual bool flagToShowerLib(const G4ParticleDefinition &particleType) const
get switch for frozen showers
double m_Neut_MaxEneShowerLib
upper energy limit for neutron frozen showers
double m_e_MaxEneShowerLib
upper energy limit for electron frozen showers