![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Class for fast simulation option service.
More...
#include <LArG4FastSimSvc.h>
Class for fast simulation option service.
- Author
- Wolfgang Ehrenfeld, University of Hamburg, Germany
-
Zachary Marshal
Definition at line 42 of file LArG4FastSimSvc.h.
◆ LArG4FastSimSvc()
LArG4FastSimSvc::LArG4FastSimSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
sl |
|
) |
| |
◆ ~LArG4FastSimSvc()
LArG4FastSimSvc::~LArG4FastSimSvc |
( |
| ) |
|
|
virtual |
◆ ContainCrack()
bool LArG4FastSimSvc::ContainCrack |
( |
| ) |
const |
|
inlinevirtual |
◆ ContainHigh()
bool LArG4FastSimSvc::ContainHigh |
( |
| ) |
const |
|
inlinevirtual |
◆ ContainLow()
bool LArG4FastSimSvc::ContainLow |
( |
| ) |
const |
|
inlinevirtual |
◆ DetectorTag()
int LArG4FastSimSvc::DetectorTag |
( |
| ) |
const |
|
inlinevirtual |
◆ finalize()
StatusCode LArG4FastSimSvc::finalize |
( |
| ) |
|
|
virtual |
Definition at line 104 of file LArG4FastSimSvc.cxx.
106 msg(MSG::INFO) <<
"Finalizing fast simulation service. " <<
endmsg;
111 return StatusCode::SUCCESS;
◆ flagToShowerLib()
bool LArG4FastSimSvc::flagToShowerLib |
( |
const G4ParticleDefinition & |
particleType | ) |
const |
|
inlinevirtual |
◆ generateFSStartingPoint()
bool LArG4FastSimSvc::generateFSStartingPoint |
( |
const HepMC::GenEvent * |
ge | ) |
|
|
virtual |
◆ generateFSStartingPoints()
bool LArG4FastSimSvc::generateFSStartingPoints |
( |
| ) |
const |
|
inlinevirtual |
◆ generateFSStartingPointsRatio()
float LArG4FastSimSvc::generateFSStartingPointsRatio |
( |
| ) |
const |
|
inlinevirtual |
◆ initialize()
StatusCode LArG4FastSimSvc::initialize |
( |
| ) |
|
|
virtual |
Definition at line 69 of file LArG4FastSimSvc.cxx.
71 msg(MSG::INFO) <<
"Initializing" <<
endmsg;
73 if (
name().
find(
"EMB") != std::string::npos) {
75 }
else if (
name().
find(
"EMEC") != std::string::npos) {
77 }
else if (
name().
find(
"FCAL2") != std::string::npos) {
79 }
else if (
name().
find(
"FCAL") != std::string::npos) {
81 }
else if (
name().
find(
"HEC") != std::string::npos) {
83 }
else if (
name().
find(
"DeadMaterial") != std::string::npos) {
100 return StatusCode::SUCCESS;
◆ interfaceID()
static const InterfaceID& LArG4FastSimSvc::interfaceID |
( |
| ) |
|
|
inlinestatic |
Retrieve interface ID.
Definition at line 47 of file LArG4FastSimSvc.h.
47 {
return IID_ILArG4FastSimSvc; }
◆ maxEneToShowerLib()
double LArG4FastSimSvc::maxEneToShowerLib |
( |
const G4ParticleDefinition & |
particleType | ) |
const |
|
inlinevirtual |
◆ minEneToShowerLib()
double LArG4FastSimSvc::minEneToShowerLib |
( |
const G4ParticleDefinition & |
particleType | ) |
const |
|
inlinevirtual |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ print()
void LArG4FastSimSvc::print |
( |
| ) |
const |
|
private |
dump object content
Definition at line 130 of file LArG4FastSimSvc.cxx.
132 msg(MSG::INFO) <<
"List of Frozen Shower options:" <<
endmsg;
139 msg(MSG::INFO) <<
"Electrons energy range [MeV] for Frozen Showers ["
142 msg(MSG::INFO) <<
"Electrons wont be parameterized" <<
endmsg;
146 msg(MSG::INFO) <<
"Photons energy range [MeV] for Frozen Showers ["
149 msg(MSG::INFO) <<
"Photons wont be parameterized" <<
endmsg;
153 msg(MSG::INFO) <<
"Neutrons energy range [MeV] for Frozen Showers ["
156 msg(MSG::INFO) <<
"Neutrons wont be parameterized" <<
endmsg;
160 msg(MSG::INFO) <<
"Containment check at low eta: " << (this->
m_containLow ?
"YES" :
"NO") << endmsg;
161 msg(MSG::INFO) <<
"Containment check at crack eta: " << (this->
m_containCrack ?
"YES" :
"NO") << endmsg;
162 msg(MSG::INFO) <<
"Containment check at high eta: " << (this->
m_containHigh ?
"YES" :
"NO") << endmsg;
◆ queryInterface()
StatusCode LArG4FastSimSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvIF |
|
) |
| |
Query interface.
Definition at line 116 of file LArG4FastSimSvc.cxx.
118 if ( IID_ILArG4FastSimSvc == riid ) {
123 return AthService::queryInterface(riid, ppvInterface);
126 return StatusCode::SUCCESS;
◆ SvcFactory< LArG4FastSimSvc >
◆ m_containCrack
bool LArG4FastSimSvc::m_containCrack |
|
private |
◆ m_containHigh
bool LArG4FastSimSvc::m_containHigh |
|
private |
◆ m_containLow
bool LArG4FastSimSvc::m_containLow |
|
private |
◆ m_detector_tag
int LArG4FastSimSvc::m_detector_tag |
|
private |
◆ m_detector_tag_str
std::string LArG4FastSimSvc::m_detector_tag_str |
|
private |
◆ m_detmap
std::map<std::string,int> LArG4FastSimSvc::m_detmap |
|
private |
◆ m_e_FlagShowerLib
bool LArG4FastSimSvc::m_e_FlagShowerLib |
|
private |
◆ m_e_MaxEneShowerLib
double LArG4FastSimSvc::m_e_MaxEneShowerLib |
|
private |
upper energy limit for electron frozen showers
Definition at line 84 of file LArG4FastSimSvc.h.
◆ m_e_MinEneShowerLib
double LArG4FastSimSvc::m_e_MinEneShowerLib |
|
private |
lower energy limit for electron frozen showers
Definition at line 83 of file LArG4FastSimSvc.h.
◆ m_g_FlagShowerLib
bool LArG4FastSimSvc::m_g_FlagShowerLib |
|
private |
◆ m_g_MaxEneShowerLib
double LArG4FastSimSvc::m_g_MaxEneShowerLib |
|
private |
◆ m_g_MinEneShowerLib
double LArG4FastSimSvc::m_g_MinEneShowerLib |
|
private |
◆ m_generate_starting_points
bool LArG4FastSimSvc::m_generate_starting_points |
|
private |
◆ m_generated_starting_points_file
StringProperty LArG4FastSimSvc::m_generated_starting_points_file |
|
private |
◆ m_generated_starting_points_ratio
float LArG4FastSimSvc::m_generated_starting_points_ratio |
|
private |
◆ m_Neut_FlagShowerLib
bool LArG4FastSimSvc::m_Neut_FlagShowerLib |
|
private |
◆ m_Neut_MaxEneShowerLib
double LArG4FastSimSvc::m_Neut_MaxEneShowerLib |
|
private |
◆ m_Neut_MinEneShowerLib
double LArG4FastSimSvc::m_Neut_MinEneShowerLib |
|
private |
◆ m_Pion_FlagShowerLib
bool LArG4FastSimSvc::m_Pion_FlagShowerLib |
|
private |
◆ m_Pion_MaxEneShowerLib
double LArG4FastSimSvc::m_Pion_MaxEneShowerLib |
|
private |
◆ m_Pion_MinEneShowerLib
double LArG4FastSimSvc::m_Pion_MinEneShowerLib |
|
private |
◆ m_starting_points_file
HepMC::IO_GenEvent* LArG4FastSimSvc::m_starting_points_file |
|
private |
The documentation for this class was generated from the following files:
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
std::string find(const std::string &s)
return a remapped string
int m_detector_tag
name for the detector tag for the ShowerLibSvc
double m_Neut_MinEneShowerLib
lower energy limit for neutron frozen showers
void print() const
dump object content
std::map< std::string, int > m_detmap
bool m_containHigh
switch for containment check at high eta
HepMC::IO_GenEvent * m_starting_points_file
bool m_containCrack
switch for containment check in crack region
double m_Pion_MinEneShowerLib
lower energy limit for pion frozen showers
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
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
double m_Neut_MaxEneShowerLib
upper energy limit for neutron frozen showers
double m_e_MaxEneShowerLib
upper energy limit for electron frozen showers