ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
LArFastShowerTool Class Reference

NEEDS DOCUMENTATION. More...

#include <LArFastShowerTool.h>

Inheritance diagram for LArFastShowerTool:
Collaboration diagram for LArFastShowerTool:

Public Member Functions

 LArFastShowerTool (const std::string &type, const std::string &name, const IInterface *parent)
 Default constructor. More...
 
virtual ~LArFastShowerTool ()=default
 
StatusCode initialize () override final
 
StatusCode initializeFastSim () override
 Construct and setup the fast simulation model. More...
 
virtual StatusCode BeginOfAthenaEvent () override
 Begin of an athena event - do anything that needs to be done at the beginning of each athena event. More...
 
virtual StatusCode EndOfAthenaEvent () override
 End of an athena event - do any tidying up required at the end of each athena event. More...
 

Protected Member Functions

virtual G4VFastSimulationModel * makeFastSimModel () override final
 Method to make the actual fast simulation model itself, which will be owned by the tool. More...
 
G4VFastSimulationModel * getFastSimModel ()
 Retrieve the current Fast Simulation Model. More...
 
G4Region * getRegion () const
 

Protected Attributes

Gaudi::Property< std::string > m_regionName {this, "RegionName", ""}
 The region to which this fast sim is assigned. More...
 
Gaudi::Property< bool > m_noRegions {this, "NoRegions", false}
 This Fast Simulation has no regions associated with it. More...
 

Private Member Functions

void setFastSimModel (G4VFastSimulationModel *)
 Set the current model. In hive, this gets assigned as the thread-local model. More...
 
void deleteFastSimModel ()
 Delete the current model. More...
 

Private Attributes

Gaudi::Property< std::string > m_fastSimDedicatedSD
 Shower library sensitive detector for this shower. More...
 
ServiceHandle< ILArG4ShowerLibSvcm_showerLibSvc
 Pointer to the shower library service. More...
 
Gaudi::Property< bool > m_e_FlagShowerLib {this, "EFlagToShowerLib", true, "Switch for e+/- frozen showers"}
 
Gaudi::Property< double > m_e_MinEneShowerLib {this, "EMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for e+/- frozen showers"}
 
Gaudi::Property< double > m_e_MaxEneShowerLib {this, "EMaxEneShowerLib", 1.0*CLHEP::GeV, "Maximum energy for e+/- frozen showers"}
 
Gaudi::Property< bool > m_g_FlagShowerLib {this, "GFlagToShowerLib", true, "Switch for photon frozen showers"}
 
Gaudi::Property< double > m_g_MinEneShowerLib {this, "GMinEneShowerLib", 0.*CLHEP::GeV, "Minimum energy for photon frozen showers"}
 
Gaudi::Property< double > m_g_MaxEneShowerLib {this, "GMaxEneShowerLib", 0.010*CLHEP::GeV, "Maximum energy for photon frozen showers"}
 
Gaudi::Property< bool > m_Neut_FlagShowerLib {this, "NeutFlagToShowerLib", true, "Switch for neutron frozen showers"}
 
Gaudi::Property< double > m_Neut_MinEneShowerLib {this, "NeutMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"}
 
Gaudi::Property< double > m_Neut_MaxEneShowerLib {this, "NeutMaxEneShowerLib", 0.1*CLHEP::GeV, "Maximum energy for neutron frozen showers"}
 
Gaudi::Property< bool > m_Pion_FlagShowerLib {this, "PionFlagToShowerLib", true, "Switch for neutron frozen showers"}
 
Gaudi::Property< double > m_Pion_MinEneShowerLib {this, "PionMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"}
 
Gaudi::Property< double > m_Pion_MaxEneShowerLib {this, "PionMaxEneShowerLib", 2.0*CLHEP::GeV, "Maximum energy for neutron frozen showers"}
 
Gaudi::Property< bool > m_containLow {this, "ContainLow", true, "Switch for containment at low eta"}
 
Gaudi::Property< double > m_absLowEta {this, "AbsLowEta", 3.8, ""}
 
Gaudi::Property< bool > m_containHigh {this, "ContainHigh", true, "Switch for containment at high eta"}
 
Gaudi::Property< double > m_absHighEta {this, "AbsHighEta", 4.4, ""}
 
Gaudi::Property< bool > m_containCrack {this, "ContainCrack", true, "Switch for containment in the crack region"}
 
Gaudi::Property< double > m_absCrackEta1 {this, "AbsCrackEta1", 0.5, ""}
 
Gaudi::Property< double > m_absCrackEta2 {this, "AbsCrackEta2", 1.1, ""}
 
Gaudi::Property< std::string > m_generated_starting_points_file
 
Gaudi::Property< float > m_generated_starting_points_ratio
 
Gaudi::Property< int > m_detector_tag {this, "DetectorTag", 0, "Which detector is this?"}
 
Gaudi::Property< bool > m_applyRRWeights
 
FastShowerConfigStruct m_configuration
 
G4VFastSimulationModel * m_FastSimModel {}
 The Fast Simulation Model to which this thing corresponds. More...
 

Detailed Description

NEEDS DOCUMENTATION.

Definition at line 20 of file LArFastShowerTool.h.

Constructor & Destructor Documentation

◆ LArFastShowerTool()

LArFastShowerTool::LArFastShowerTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Default constructor.

Definition at line 12 of file LArFastShowerTool.cxx.

16 {
17 }

◆ ~LArFastShowerTool()

virtual LArFastShowerTool::~LArFastShowerTool ( )
virtualdefault

Member Function Documentation

◆ BeginOfAthenaEvent()

virtual StatusCode FastSimulationBase::BeginOfAthenaEvent ( )
inlineoverridevirtualinherited

Begin of an athena event - do anything that needs to be done at the beginning of each athena event.

Reimplemented in FastCaloSimTool.

Definition at line 42 of file FastSimulationBase.h.

42 { return StatusCode::SUCCESS; }

◆ deleteFastSimModel()

void FastSimulationBase::deleteFastSimModel ( )
privateinherited

Delete the current model.

Definition at line 78 of file FastSimulationBase.cxx.

79 {
80 #ifdef G4MULTITHREADED
81  for(auto& threadMapPair : m_fastsimmodelThreadMap)
82  {
83  auto fastSimModel = threadMapPair.second;
84  if (fastSimModel)
85  delete fastSimModel;
86  }
87  m_fastsimmodelThreadMap.clear();
88 #else
89  if(m_FastSimModel)
90  {
91  delete m_FastSimModel;
92  m_FastSimModel = 0;
93  }
94 #endif
95 }

◆ EndOfAthenaEvent()

virtual StatusCode FastSimulationBase::EndOfAthenaEvent ( )
inlineoverridevirtualinherited

End of an athena event - do any tidying up required at the end of each athena event.

Reimplemented in FastCaloSimTool.

Definition at line 45 of file FastSimulationBase.h.

45 { return StatusCode::SUCCESS; }

◆ getFastSimModel()

G4VFastSimulationModel * FastSimulationBase::getFastSimModel ( )
protectedinherited

Retrieve the current Fast Simulation Model.

In MT, this means the thread-local Fast Simulation Model. Otherwise, it is simply the single Fast Simulation Model.

Definition at line 52 of file FastSimulationBase.cxx.

53 {
54 #ifdef G4MULTITHREADED
55  // Get current thread-ID
56  const auto tid = std::this_thread::get_id();
57  // Retrieve it from the FastSimModel map
58  auto fastsimmodelPair = m_fastsimmodelThreadMap.find(tid);
59  if(fastsimmodelPair == m_fastsimmodelThreadMap.end()) return nullptr;
60  return fastsimmodelPair->second;
61 #else
62  return m_FastSimModel;
63 #endif
64 }

◆ getRegion()

G4Region * FastSimulationBase::getRegion ( ) const
protectedinherited

Definition at line 22 of file FastSimulationBase.cxx.

23 {
24  if (m_regionName.value().empty()) {
25  return nullptr;
26  }
27  return G4RegionStore::GetInstance()->GetRegion(m_regionName.value());
28 }

◆ initialize()

StatusCode LArFastShowerTool::initialize ( )
finaloverride

Definition at line 19 of file LArFastShowerTool.cxx.

20 {
21  ATH_MSG_VERBOSE( name() << "::initialize()" );
22  CHECK( m_showerLibSvc.retrieve() );
23 
25 
29 
33 
37 
41 
49 
54 
56 }

◆ initializeFastSim()

StatusCode FastSimulationBase::initializeFastSim ( )
overrideinherited

Construct and setup the fast simulation model.

This method invokes the makeFastSimModel of the derived concrete tool type and assigns the configured regions. Errors are reported if regions are missing. In multi-threading jobs, this method is called once per worker thread.

Definition at line 32 of file FastSimulationBase.cxx.

32  {
33  ATH_MSG_VERBOSE( name() << "::initializeFastSim()" );
34 
35  // Make sure Fast Simulation Model isn't already registered
36  if(getFastSimModel()){
37  ATH_MSG_ERROR("Trying to create a Fast Simulation Model which already exists!");
38  return StatusCode::FAILURE;
39  }
40 
41  // Make the FastSimModel stored by this tool
42  auto* fastsimmodel = makeFastSimModel();
43  setFastSimModel(fastsimmodel);
44 
45  // Set the verbosity information on this thing - this will have to go into the makeFastSimModel methods...
46  //if(msgLvl(MSG::VERBOSE)) m_FastSimModel->SetVerboseLevel(10);
47  //else if(msgLvl(MSG::DEBUG)) m_FastSimModel->SetVerboseLevel(5);
48 
49  return StatusCode::SUCCESS;
50 }

◆ makeFastSimModel()

G4VFastSimulationModel * LArFastShowerTool::makeFastSimModel ( )
finaloverrideprotectedvirtual

Method to make the actual fast simulation model itself, which will be owned by the tool.

Must be implemented in all concrete base classes.

Definition at line 58 of file LArFastShowerTool.cxx.

59 {
60  ATH_MSG_DEBUG( "Initializing Fast Sim Model" );
61  IFastSimDedicatedSD* fastSD = dynamic_cast<IFastSimDedicatedSD*>(G4SDManager::GetSDMpointer()->FindSensitiveDetector(m_fastSimDedicatedSD.value(), false));
62  if (fastSD) {
63  ATH_MSG_DEBUG( "SD " << m_fastSimDedicatedSD << " already created." );
64  } else if ("BarrelFastSimDedicatedSD" == m_fastSimDedicatedSD){
65  fastSD = new BarrelFastSimDedicatedSD( &*detStore(), msgLevel(MSG::DEBUG) );
66  } else if ("EndcapFastSimDedicatedSD" == m_fastSimDedicatedSD){
67  fastSD = new EndcapFastSimDedicatedSD( &*detStore(), msgLevel(MSG::DEBUG) );
68  } else if ("FCALFastSimDedicatedSD" == m_fastSimDedicatedSD){
69  fastSD = new FCALFastSimDedicatedSD( &*detStore(), msgLevel(MSG::DEBUG) );
70  } else {
71  ATH_MSG_FATAL( "Fast sim SD type " << m_fastSimDedicatedSD << " not found!" );
72  throw std::runtime_error("Bad SD name");
73  }
74  G4SDManager::GetSDMpointer()->AddNewDetector(fastSD);
75 
76  // Create a fresh Fast Sim Model
77  return new LArFastShower(name(), getRegion(), m_configuration, fastSD);
78 }

◆ setFastSimModel()

void FastSimulationBase::setFastSimModel ( G4VFastSimulationModel *  fastsimmodel)
privateinherited

Set the current model. In hive, this gets assigned as the thread-local model.

Definition at line 66 of file FastSimulationBase.cxx.

67 {
68 #ifdef G4MULTITHREADED
69  // Make sure one isn't already assigned
70  const auto tid = std::this_thread::get_id();
71  ATH_MSG_DEBUG("Creating and registering FastSimModel " << fastsimmodel << " in thread " << tid);
72  m_fastsimmodelThreadMap.insert( std::make_pair(tid, fastsimmodel) );
73 #else
74  m_FastSimModel = fastsimmodel;
75 #endif
76 }

Member Data Documentation

◆ m_absCrackEta1

Gaudi::Property<double> LArFastShowerTool::m_absCrackEta1 {this, "AbsCrackEta1", 0.5, ""}
private

Definition at line 63 of file LArFastShowerTool.h.

◆ m_absCrackEta2

Gaudi::Property<double> LArFastShowerTool::m_absCrackEta2 {this, "AbsCrackEta2", 1.1, ""}
private

Definition at line 64 of file LArFastShowerTool.h.

◆ m_absHighEta

Gaudi::Property<double> LArFastShowerTool::m_absHighEta {this, "AbsHighEta", 4.4, ""}
private

Definition at line 61 of file LArFastShowerTool.h.

◆ m_absLowEta

Gaudi::Property<double> LArFastShowerTool::m_absLowEta {this, "AbsLowEta", 3.8, ""}
private

Definition at line 59 of file LArFastShowerTool.h.

◆ m_applyRRWeights

Gaudi::Property<bool> LArFastShowerTool::m_applyRRWeights
private
Initial value:
{this, "ApplyRRWeights", false
, "Should the weights set by NRR/PRR be applied to Frozen Shower Energy deposits?"}

Definition at line 72 of file LArFastShowerTool.h.

◆ m_configuration

FastShowerConfigStruct LArFastShowerTool::m_configuration
private

Definition at line 75 of file LArFastShowerTool.h.

◆ m_containCrack

Gaudi::Property<bool> LArFastShowerTool::m_containCrack {this, "ContainCrack", true, "Switch for containment in the crack region"}
private

Definition at line 62 of file LArFastShowerTool.h.

◆ m_containHigh

Gaudi::Property<bool> LArFastShowerTool::m_containHigh {this, "ContainHigh", true, "Switch for containment at high eta"}
private

Definition at line 60 of file LArFastShowerTool.h.

◆ m_containLow

Gaudi::Property<bool> LArFastShowerTool::m_containLow {this, "ContainLow", true, "Switch for containment at low eta"}
private

Definition at line 58 of file LArFastShowerTool.h.

◆ m_detector_tag

Gaudi::Property<int> LArFastShowerTool::m_detector_tag {this, "DetectorTag", 0, "Which detector is this?"}
private

Definition at line 70 of file LArFastShowerTool.h.

◆ m_e_FlagShowerLib

Gaudi::Property<bool> LArFastShowerTool::m_e_FlagShowerLib {this, "EFlagToShowerLib", true, "Switch for e+/- frozen showers"}
private

Definition at line 42 of file LArFastShowerTool.h.

◆ m_e_MaxEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_e_MaxEneShowerLib {this, "EMaxEneShowerLib", 1.0*CLHEP::GeV, "Maximum energy for e+/- frozen showers"}
private

Definition at line 44 of file LArFastShowerTool.h.

◆ m_e_MinEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_e_MinEneShowerLib {this, "EMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for e+/- frozen showers"}
private

Definition at line 43 of file LArFastShowerTool.h.

◆ m_fastSimDedicatedSD

Gaudi::Property<std::string> LArFastShowerTool::m_fastSimDedicatedSD
private
Initial value:
{this, "SensitiveDetector", ""
, "Fast sim dedicated SD for this setup"}

Shower library sensitive detector for this shower.

Definition at line 37 of file LArFastShowerTool.h.

◆ m_FastSimModel

G4VFastSimulationModel* FastSimulationBase::m_FastSimModel {}
privateinherited

The Fast Simulation Model to which this thing corresponds.

Definition at line 78 of file FastSimulationBase.h.

◆ m_g_FlagShowerLib

Gaudi::Property<bool> LArFastShowerTool::m_g_FlagShowerLib {this, "GFlagToShowerLib", true, "Switch for photon frozen showers"}
private

Definition at line 46 of file LArFastShowerTool.h.

◆ m_g_MaxEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_g_MaxEneShowerLib {this, "GMaxEneShowerLib", 0.010*CLHEP::GeV, "Maximum energy for photon frozen showers"}
private

Definition at line 48 of file LArFastShowerTool.h.

◆ m_g_MinEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_g_MinEneShowerLib {this, "GMinEneShowerLib", 0.*CLHEP::GeV, "Minimum energy for photon frozen showers"}
private

Definition at line 47 of file LArFastShowerTool.h.

◆ m_generated_starting_points_file

Gaudi::Property<std::string> LArFastShowerTool::m_generated_starting_points_file
private
Initial value:
{this, "GeneratedStartingPointsFile", "",
"Name of file for generated SPs. Do not touch until you want to produce a new library"}

Definition at line 66 of file LArFastShowerTool.h.

◆ m_generated_starting_points_ratio

Gaudi::Property<float> LArFastShowerTool::m_generated_starting_points_ratio
private
Initial value:
{this, "GeneratedStartingPointsRatio", 0.02f
, "Ratio of SPs that goes to output"}

Definition at line 68 of file LArFastShowerTool.h.

◆ m_Neut_FlagShowerLib

Gaudi::Property<bool> LArFastShowerTool::m_Neut_FlagShowerLib {this, "NeutFlagToShowerLib", true, "Switch for neutron frozen showers"}
private

Definition at line 50 of file LArFastShowerTool.h.

◆ m_Neut_MaxEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_Neut_MaxEneShowerLib {this, "NeutMaxEneShowerLib", 0.1*CLHEP::GeV, "Maximum energy for neutron frozen showers"}
private

Definition at line 52 of file LArFastShowerTool.h.

◆ m_Neut_MinEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_Neut_MinEneShowerLib {this, "NeutMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"}
private

Definition at line 51 of file LArFastShowerTool.h.

◆ m_noRegions

Gaudi::Property<bool> FastSimulationBase::m_noRegions {this, "NoRegions", false}
protectedinherited

This Fast Simulation has no regions associated with it.

Definition at line 59 of file FastSimulationBase.h.

◆ m_Pion_FlagShowerLib

Gaudi::Property<bool> LArFastShowerTool::m_Pion_FlagShowerLib {this, "PionFlagToShowerLib", true, "Switch for neutron frozen showers"}
private

Definition at line 54 of file LArFastShowerTool.h.

◆ m_Pion_MaxEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_Pion_MaxEneShowerLib {this, "PionMaxEneShowerLib", 2.0*CLHEP::GeV, "Maximum energy for neutron frozen showers"}
private

Definition at line 56 of file LArFastShowerTool.h.

◆ m_Pion_MinEneShowerLib

Gaudi::Property<double> LArFastShowerTool::m_Pion_MinEneShowerLib {this, "PionMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"}
private

Definition at line 55 of file LArFastShowerTool.h.

◆ m_regionName

Gaudi::Property<std::string> FastSimulationBase::m_regionName {this, "RegionName", ""}
protectedinherited

The region to which this fast sim is assigned.

Definition at line 57 of file FastSimulationBase.h.

◆ m_showerLibSvc

ServiceHandle<ILArG4ShowerLibSvc> LArFastShowerTool::m_showerLibSvc
private
Initial value:
{this, "ShowerLibSvc", "LArG4ShowerLibSvc"
, "Handle on the shower library service"}

Pointer to the shower library service.

Definition at line 39 of file LArFastShowerTool.h.


The documentation for this class was generated from the following files:
FastShowerConfigStruct::m_g_MaxEneShowerLib
double m_g_MaxEneShowerLib
lower energy limit for photon frozen showers
Definition: FastShowerConfigStruct.h:18
FastShowerConfigStruct::m_absLowEta
double m_absLowEta
Definition: FastShowerConfigStruct.h:30
LArFastShowerTool::m_containCrack
Gaudi::Property< bool > m_containCrack
Definition: LArFastShowerTool.h:62
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
FastShowerConfigStruct::m_absCrackEta1
double m_absCrackEta1
Definition: FastShowerConfigStruct.h:34
LArFastShowerTool::m_detector_tag
Gaudi::Property< int > m_detector_tag
Definition: LArFastShowerTool.h:70
LArFastShowerTool::m_containLow
Gaudi::Property< bool > m_containLow
Definition: LArFastShowerTool.h:58
LArFastShowerTool::m_configuration
FastShowerConfigStruct m_configuration
Definition: LArFastShowerTool.h:75
LArFastShowerTool::m_generated_starting_points_ratio
Gaudi::Property< float > m_generated_starting_points_ratio
Definition: LArFastShowerTool.h:68
FastShowerConfigStruct::m_detector_tag
int m_detector_tag
name for the detector tag for the ShowerLibSvc
Definition: FastShowerConfigStruct.h:38
EndcapFastSimDedicatedSD
NEEDS DOCUMENTATION.
Definition: EndcapFastSimDedicatedSD.h:24
LArFastShowerTool::m_Neut_MinEneShowerLib
Gaudi::Property< double > m_Neut_MinEneShowerLib
Definition: LArFastShowerTool.h:51
LArFastShowerTool::m_g_FlagShowerLib
Gaudi::Property< bool > m_g_FlagShowerLib
Definition: LArFastShowerTool.h:46
LArFastShowerTool::m_containHigh
Gaudi::Property< bool > m_containHigh
Definition: LArFastShowerTool.h:60
initialize
void initialize()
Definition: run_EoverP.cxx:894
FastShowerConfigStruct::m_Pion_FlagShowerLib
bool m_Pion_FlagShowerLib
switch for pion frozen showers
Definition: FastShowerConfigStruct.h:25
FastSimulationBase::m_regionName
Gaudi::Property< std::string > m_regionName
The region to which this fast sim is assigned.
Definition: FastSimulationBase.h:57
LArFastShowerTool::m_Pion_FlagShowerLib
Gaudi::Property< bool > m_Pion_FlagShowerLib
Definition: LArFastShowerTool.h:54
FastSimulationBase::m_FastSimModel
G4VFastSimulationModel * m_FastSimModel
The Fast Simulation Model to which this thing corresponds.
Definition: FastSimulationBase.h:78
IFastSimDedicatedSD
This is the interface for the fast simulation dedicated sensitive detector.
Definition: IFastSimDedicatedSD.h:13
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
LArFastShowerTool::m_Pion_MinEneShowerLib
Gaudi::Property< double > m_Pion_MinEneShowerLib
Definition: LArFastShowerTool.h:55
LArFastShowerTool::m_e_MinEneShowerLib
Gaudi::Property< double > m_e_MinEneShowerLib
Definition: LArFastShowerTool.h:43
FCALFastSimDedicatedSD
NEEDS DOCUMENTATION.
Definition: FCALFastSimDedicatedSD.h:22
LArFastShowerTool::m_absCrackEta1
Gaudi::Property< double > m_absCrackEta1
Definition: LArFastShowerTool.h:63
LArFastShowerTool::m_g_MinEneShowerLib
Gaudi::Property< double > m_g_MinEneShowerLib
Definition: LArFastShowerTool.h:47
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
LArFastShowerTool::m_Pion_MaxEneShowerLib
Gaudi::Property< double > m_Pion_MaxEneShowerLib
Definition: LArFastShowerTool.h:56
FastShowerConfigStruct::m_applyRRWeights
bool m_applyRRWeights
Definition: FastShowerConfigStruct.h:41
FastShowerConfigStruct::m_Neut_MaxEneShowerLib
double m_Neut_MaxEneShowerLib
upper energy limit for neutron frozen showers
Definition: FastShowerConfigStruct.h:23
LArFastShowerTool::m_absLowEta
Gaudi::Property< double > m_absLowEta
Definition: LArFastShowerTool.h:59
FastShowerConfigStruct::m_Neut_MinEneShowerLib
double m_Neut_MinEneShowerLib
lower energy limit for neutron frozen showers
Definition: FastShowerConfigStruct.h:22
FastSimulationBase::setFastSimModel
void setFastSimModel(G4VFastSimulationModel *)
Set the current model. In hive, this gets assigned as the thread-local model.
Definition: FastSimulationBase.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
FastShowerConfigStruct::m_absHighEta
double m_absHighEta
Definition: FastShowerConfigStruct.h:32
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
FastSimulationBase::FastSimulationBase
FastSimulationBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FastSimulationBase.cxx:12
FastShowerConfigStruct::m_absCrackEta2
double m_absCrackEta2
Definition: FastShowerConfigStruct.h:35
FastShowerConfigStruct::m_showerLibSvcName
std::string m_showerLibSvcName
Definition: FastShowerConfigStruct.h:40
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
LArFastShowerTool::m_fastSimDedicatedSD
Gaudi::Property< std::string > m_fastSimDedicatedSD
Shower library sensitive detector for this shower.
Definition: LArFastShowerTool.h:37
LArFastShowerTool::m_applyRRWeights
Gaudi::Property< bool > m_applyRRWeights
Definition: LArFastShowerTool.h:72
LArFastShower
NEEDS DOCUMENTATION.
Definition: LArFastShower.h:31
FastShowerConfigStruct::m_g_MinEneShowerLib
double m_g_MinEneShowerLib
upper energy limit for photon frozen showers
Definition: FastShowerConfigStruct.h:19
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
FastShowerConfigStruct::m_generated_starting_points_ratio
float m_generated_starting_points_ratio
switch for shower starting point record
Definition: FastShowerConfigStruct.h:37
FastShowerConfigStruct::m_Neut_FlagShowerLib
bool m_Neut_FlagShowerLib
switch for neutron frozen showers
Definition: FastShowerConfigStruct.h:21
FastShowerConfigStruct::m_Pion_MinEneShowerLib
double m_Pion_MinEneShowerLib
lower energy limit for pion frozen showers
Definition: FastShowerConfigStruct.h:26
LArFastShowerTool::m_absHighEta
Gaudi::Property< double > m_absHighEta
Definition: LArFastShowerTool.h:61
FastSimulationBase::getFastSimModel
G4VFastSimulationModel * getFastSimModel()
Retrieve the current Fast Simulation Model.
Definition: FastSimulationBase.cxx:52
FastShowerConfigStruct::m_g_FlagShowerLib
bool m_g_FlagShowerLib
switch for photon frozen showers
Definition: FastShowerConfigStruct.h:17
LArFastShowerTool::m_e_MaxEneShowerLib
Gaudi::Property< double > m_e_MaxEneShowerLib
Definition: LArFastShowerTool.h:44
FastShowerConfigStruct::m_generated_starting_points_file
std::string m_generated_starting_points_file
switch for shower starting point record
Definition: FastShowerConfigStruct.h:36
LArFastShowerTool::m_generated_starting_points_file
Gaudi::Property< std::string > m_generated_starting_points_file
Definition: LArFastShowerTool.h:66
LArFastShowerTool::m_Neut_FlagShowerLib
Gaudi::Property< bool > m_Neut_FlagShowerLib
Definition: LArFastShowerTool.h:50
FastShowerConfigStruct::m_e_FlagShowerLib
bool m_e_FlagShowerLib
switch for electron frozen showers
Definition: FastShowerConfigStruct.h:13
LArFastShowerTool::m_g_MaxEneShowerLib
Gaudi::Property< double > m_g_MaxEneShowerLib
Definition: LArFastShowerTool.h:48
BarrelFastSimDedicatedSD
NEEDS DOCUMENTATION.
Definition: BarrelFastSimDedicatedSD.h:26
FastShowerConfigStruct::m_e_MaxEneShowerLib
double m_e_MaxEneShowerLib
upper energy limit for electron frozen showers
Definition: FastShowerConfigStruct.h:15
LArFastShowerTool::m_showerLibSvc
ServiceHandle< ILArG4ShowerLibSvc > m_showerLibSvc
Pointer to the shower library service.
Definition: LArFastShowerTool.h:39
DEBUG
#define DEBUG
Definition: page_access.h:11
FastShowerConfigStruct::m_containLow
bool m_containLow
switch for containment check at low eta
Definition: FastShowerConfigStruct.h:29
FastShowerConfigStruct::m_containCrack
bool m_containCrack
switch for containment check in crack region
Definition: FastShowerConfigStruct.h:33
FastSimulationBase::getRegion
G4Region * getRegion() const
Definition: FastSimulationBase.cxx:22
FastShowerConfigStruct::m_e_MinEneShowerLib
double m_e_MinEneShowerLib
lower energy limit for electron frozen showers
Definition: FastShowerConfigStruct.h:14
LArFastShowerTool::m_Neut_MaxEneShowerLib
Gaudi::Property< double > m_Neut_MaxEneShowerLib
Definition: LArFastShowerTool.h:52
FastShowerConfigStruct::m_containHigh
bool m_containHigh
switch for containment check at high eta
Definition: FastShowerConfigStruct.h:31
LArFastShowerTool::m_absCrackEta2
Gaudi::Property< double > m_absCrackEta2
Definition: LArFastShowerTool.h:64
FastShowerConfigStruct::m_Pion_MaxEneShowerLib
double m_Pion_MaxEneShowerLib
upper energy limit for pion frozen showers
Definition: FastShowerConfigStruct.h:27
LArFastShowerTool::m_e_FlagShowerLib
Gaudi::Property< bool > m_e_FlagShowerLib
Definition: LArFastShowerTool.h:42