|
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"
110 if ( &
particleType == G4Electron::ElectronDefinition() ||
113 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
115 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
117 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
124 if ( &
particleType == G4Electron::ElectronDefinition() ||
127 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
129 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
131 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
139 if ( &
particleType == G4Electron::ElectronDefinition() ||
142 }
else if ( &
particleType == G4Gamma::GammaDefinition() ) {
144 }
else if ( &
particleType == G4Neutron::NeutronDefinition() ) {
146 }
else if ( &
particleType == G4PionPlus::PionPlusDefinition() ||
159 #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.
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
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