Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Lawrence Davou Christopher
athena
Commits
3864b6ad
Commit
3864b6ad
authored
7 years ago
by
Petr Jacka
Browse files
Options
Downloads
Patches
Plain Diff
reverted changes
Former-commit-id: 302e52c25d95e7f8bdf7221559804b97e63fdbc5
parent
85c831c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/python/AdditionalConfig.py
+54
-11
54 additions, 11 deletions
...aloSim/ISF_FastCaloSimServices/python/AdditionalConfig.py
with
54 additions
and
11 deletions
Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/python/AdditionalConfig.py
+
54
−
11
View file @
3864b6ad
...
...
@@ -12,10 +12,12 @@ from AthenaCommon import CfgMgr
from
AthenaCommon.Constants
import
*
# FATAL,ERROR etc.
from
AthenaCommon.SystemOfUnits
import
*
from
AthenaCommon.DetFlags
import
DetFlags
from
ISF_Algorithms.collection_merger_helpers
import
generate_mergeable_collection_name
from
ISF_Config.ISF_jobProperties
import
ISF_Flags
# IMPORTANT: Flags must be set before tools are retrieved
from
ISF_FastCaloSimServices.ISF_FastCaloSimJobProperties
import
ISF_FastCaloSimFlags
def
getAdditionalParticleParametrizationFileNames
():
return
[
"
DB=/GLOBAL/AtlfastII/FastCaloSimParam:2:EnergyResults/pdgid_211/EN_1000/eta_central
"
,
...
...
@@ -672,7 +674,7 @@ def getPunchThroughTool(name="ISF_PunchThroughTool", **kwargs):
kwargs
.
setdefault
(
"
MinEnergy
"
,
[
938.3
,
135.6
,
50.
,
50.
,
105.7
]
)
kwargs
.
setdefault
(
"
MaxNumParticles
"
,
[
-
1
,
-
1
,
-
1
,
-
1
,
-
1
]
)
kwargs
.
setdefault
(
"
EnergyFactor
"
,
[
1.
,
1.
,
1.
,
1.
,
1.
]
)
kwargs
.
setdefault
(
"
BarcodeSvc
"
,
ISF_
Flags
.
BarcodeService
()
)
kwargs
.
setdefault
(
"
BarcodeSvc
"
,
sim
Flags
.
TruthStrategy
.
BarcodeService
Name
()
)
kwargs
.
setdefault
(
"
EnvelopeDefSvc
"
,
getService
(
'
AtlasGeometry_EnvelopeDefSvc
'
)
)
kwargs
.
setdefault
(
"
BeamPipeRadius
"
,
500.
)
...
...
@@ -701,15 +703,13 @@ def getNITimedExtrapolator(name="ISF_NITimedExtrapolator", **kwargs):
from
TrkExTools.TrkExToolsConf
import
Trk__TimedExtrapolator
as
TimedExtrapolator
return
TimedExtrapolator
(
name
,
**
kwargs
)
def
getTimedExtrapolator
(
name
=
"
TimedExtrapolator
"
,
**
kwargs
):
kwargs
.
setdefault
(
"
MaterialEffectsUpdators
"
,
[
'
ISF_NIMatEffUpdator
'
])
kwargs
.
setdefault
(
"
ApplyMaterialEffects
"
,
False
)
kwargs
.
setdefault
(
"
STEP_Propagator
"
,
'
ISF_NIPropagator
'
)
def
getTimedExtrapolator
(
name
=
"
TimedExtrapolator
"
,
**
kwargs
):
kwargs
.
setdefault
(
"
MaterialEffectsUpdators
"
,
[
'
ISF_NIMatEffUpdator
'
])
kwargs
.
setdefault
(
"
ApplyMaterialEffects
"
,
False
)
kwargs
.
setdefault
(
"
STEP_Propagator
"
,
'
ISF_NIPropagator
'
)
from
TrkExTools.TrkExToolsConf
import
Trk__TimedExtrapolator
as
TimedExtrapolator
return
TimedExtrapolator
(
name
,
**
kwargs
)
from
TrkExTools.TrkExToolsConf
import
Trk__TimedExtrapolator
as
TimedExtrapolator
return
TimedExtrapolator
(
name
,
**
kwargs
)
## FastShowerCellBuilderTool
...
...
@@ -799,7 +799,50 @@ def getPileupFastShowerCellBuilderTool(name="ISF_PileupFastShowerCellBuilderTool
kwargs
.
setdefault
(
"
sampling_energy_reweighting
"
,
weightsfcs
)
return
getFastShowerCellBuilderTool
(
name
,
**
kwargs
)
def
getFastHitConvertTool
(
name
=
"
ISF_FastHitConvertTool
"
,
**
kwargs
):
def
getFastHitConvertTool
(
name
=
"
ISF_FastHitConvertTool
"
,
**
kwargs
):
mergeable_collection_suffix
=
"
_FastCaloSim
"
EMB_hits_bare_collection_name
=
"
LArHitEMB
"
EMB_hits_merger_input_property
=
"
LArEMBHits
"
EMB_hits_collection_name
=
generate_mergeable_collection_name
(
EMB_hits_bare_collection_name
,
mergeable_collection_suffix
,
EMB_hits_merger_input_property
)
EMEC_hits_bare_collection_name
=
"
LArHitEMEC
"
EMEC_hits_merger_input_property
=
"
LArEMECHits
"
EMEC_hits_collection_name
=
generate_mergeable_collection_name
(
EMEC_hits_bare_collection_name
,
mergeable_collection_suffix
,
EMEC_hits_merger_input_property
)
FCAL_hits_bare_collection_name
=
"
LArHitFCAL
"
FCAL_hits_merger_input_property
=
"
LArFCALHits
"
FCAL_hits_collection_name
=
generate_mergeable_collection_name
(
FCAL_hits_bare_collection_name
,
mergeable_collection_suffix
,
FCAL_hits_merger_input_property
)
HEC_hits_bare_collection_name
=
"
LArHitHEC
"
HEC_hits_merger_input_property
=
"
LArHECHits
"
HEC_hits_collection_name
=
generate_mergeable_collection_name
(
HEC_hits_bare_collection_name
,
mergeable_collection_suffix
,
HEC_hits_merger_input_property
)
tile_hits_bare_collection_name
=
"
TileHitVec
"
tile_hits_merger_input_property
=
"
TileHits
"
tile_hits_collection_name
=
generate_mergeable_collection_name
(
tile_hits_bare_collection_name
,
mergeable_collection_suffix
,
tile_hits_merger_input_property
)
kwargs
.
setdefault
(
'
embHitContainername
'
,
EMB_hits_collection_name
)
kwargs
.
setdefault
(
'
emecHitContainername
'
,
EMEC_hits_collection_name
)
kwargs
.
setdefault
(
'
fcalHitContainername
'
,
FCAL_hits_collection_name
)
kwargs
.
setdefault
(
'
hecHitContainername
'
,
HEC_hits_collection_name
)
kwargs
.
setdefault
(
'
tileHitContainername
'
,
tile_hits_collection_name
)
from
FastCaloSimHit.FastCaloSimHitConf
import
FastHitConvertTool
return
FastHitConvertTool
(
name
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment