Skip to content
Snippets Groups Projects
Commit aebbc157 authored by Alejandro Alonso's avatar Alejandro Alonso
Browse files

Remove LAr Getter. Problematic unused code.

parent 75cee6ea
No related branches found
No related tags found
No related merge requests found
......@@ -74,14 +74,6 @@ class DumpUnassociatedHits(JobProperty):
pass
jobproperties.InDetDxAODJobPropertyContainer.add_JobProperty(DumpUnassociatedHits)
class DumpLArCollisionTime(JobProperty):
"""dump LAr collision time """
statusOn = True
allowedTypes = ["bool"]
StoredValue = True
pass
jobproperties.InDetDxAODJobPropertyContainer.add_JobProperty(DumpLArCollisionTime)
class DumpTruthInfo(JobProperty):
"""dump truth in fo """
statusOn = True
......
......@@ -30,9 +30,6 @@ dumpBytestreamErrors=InDetDxAODFlags.DumpByteStreamErrors() #True
# Unassociated hits decorations
dumpUnassociatedHits= InDetDxAODFlags.DumpUnassociatedHits() #True
# Add LArCollisionTime augmentation tool
dumpLArCollisionTime=InDetDxAODFlags.DumpLArCollisionTime() #True
# Force to do not dump truth info if set to False
# (otherwise determined by autoconf below)
dumpTruthInfo=InDetDxAODFlags.DumpTruthInfo() # True
......@@ -484,25 +481,6 @@ if dumpUnassociatedHits:
print unassociatedHitsDecorator
print unassociatedHitsDecorator.properties()
# Add LArCollisionTime augmentation tool
if dumpLArCollisionTime:
from LArCellRec.LArCollisionTimeGetter import LArCollisionTimeGetter
from RecExConfig.ObjKeyStore import cfgKeyStore
# We can only do this if we have the cell container.
if cfgKeyStore.isInInput ('CaloCellContainer', 'AllCalo'):
LArCollisionTimeGetter (IDDerivationSequence)
from DerivationFrameworkInDet.DerivationFrameworkInDetConf import DerivationFramework__LArCollisionTimeDecorator
lArCollisionTimeDecorator = DerivationFramework__LArCollisionTimeDecorator (name ='lArCollisionTimeDecorator',
ContainerName = "EventInfo",
DecorationPrefix = prefixName+"LArCollTime_",
OutputLevel =INFO)
ToolSvc += lArCollisionTimeDecorator
augmentationTools+=[lArCollisionTimeDecorator]
if (printIdTrkDxAODConf):
print lArCollisionTimeDecorator
print lArCollisionTimeDecorator.properties()
# Add decoration with truth parameters if running on simulation
if isIdTrkDxAODSimulation:
from DerivationFrameworkInDet.DerivationFrameworkInDetConf import DerivationFramework__TrackParametersForTruthParticles
......
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