Skip to content
Snippets Groups Projects
Commit f9b145c6 authored by Noemi Calace's avatar Noemi Calace Committed by Graeme Stewart
Browse files

python/DigiAlgConfig.py: hook for SiSmearedDigitizationTool (Digitization-02-00-12-00)

	* python/DigiAlgConfig.py: hook for SiSmearedDigitizationTool
	* Tagging Digitization-02-00-12-00

2016-09-07  John Chapman  <John.Chapman@cern.ch>

	* python/DigitizationWriteMetaData.py (writeDigitizationMetadata):
	downgrade warning message to info.
	* Tagging Digitization-02-00-12

2016-09-07  John Chapman  <John.Chapman@cern.ch>

	* python/DigitizationFlags.py: add doBichselSimulation
	digitization flag - False by default. ATLPHYSVAL-430
	* Tagging Digitization-02-00-11

	* Tagging Digitization-02-00-10
parent 3b7baf9c
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,8 @@ def getStandardInDetPileUpTools():
PileUpToolsList += [ "PixelFastDigitizationTool" ]
elif 'doLightPixelDigi' in digitizationFlags.experimentalDigi():
PileUpToolsList += [ "PixelLightDigitizationTool" ]
elif 'doSmearedPixelDigi' in digitizationFlags.experimentalDigi():
PileUpToolsList += [ "PixelSmearedDigitizationTool" ]
else:
PileUpToolsList += [ "PixelDigitizationTool" ]
if DetFlags.digitize.SCT_on():
......
......@@ -418,6 +418,15 @@ class doXingByXingPileUp(JobProperty):
allowedTypes=['bool']
StoredValue=False
#
class doBichselSimulation(JobProperty):
""" Should the Bichsel model be used in Pixel and SCT
Digitization.
"""
statusOn=False
allowedTypes=['bool']
StoredValue=False
class IOVDbGlobalTag(JobProperty):
""" This overrides the default IOVDbGlobalTag which
corresponds to the detector description in
......@@ -781,8 +790,8 @@ jobproperties.add_Container(Digitization)
# We want always the following flags in the container
list_jobproperties=[doInDetNoise,doCaloNoise,doMuonNoise,doFwdNoise,doRadiationDamage,\
rndmSvc,rndmSeedList,rndmSeedOffset1,rndmSeedOffset2,readSeedsFromFile,\
rndmSeedInputFile,physicsList,overrideMetadata,IOVDbGlobalTag,SimG4VersionUsed,\
numberOfCollisions,\
rndmSeedInputFile,physicsList,overrideMetadata,doBichselSimulation,\
IOVDbGlobalTag,SimG4VersionUsed,numberOfCollisions,\
doLowPtMinBias,numberOfLowPtMinBias,LowPtMinBiasInputCols,\
doHighPtMinBias,numberOfHighPtMinBias,HighPtMinBiasInputCols,\
doCavern,numberOfCavern,cavernInputCols,\
......
......@@ -190,7 +190,7 @@ def writeDigitizationMetadata():
attrname = det+"_on"
checkfn = getattr(DetFlags.digitize, attrname, None)
if checkfn is None:
logDigitizationWriteMetadata.warning("No attribute '%s' found on DetFlags.digitize" % attrname)
logDigitizationWriteMetadata.info("No attribute '%s' found on DetFlags.digitize" % attrname)
continue
if checkfn():
digiDets.append(det)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment