def __init__(self, **kwargs): super(InDetPhysValDecoratorAlg.InDetPhysValDecoratorAlgDBM,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # custom configuration below: from InDetRecExample.InDetKeys import InDetKeys self.TrackParticleContainerName = InDetKeys.DBMTrackParticles()
def __init__(self, **kwargs): super(InDetTrackSelectionTool.InDetTrackSelectionToolTightPrimary,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # special parameters of the InDetTrackSelectionToolTightPrimary self.CutLevel = "TightPrimary"
def __init__(self, **kwargs): super(InDetPhysValMonitoringTool.InDetPhysValMonitoringToolGSF,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # special parameters of the GSF InDetPhysValMonitoringTool self.TrackParticleContainerName = 'GSFTrackParticles' self.SubFolder = 'GSF/'
def __init__(self, **kwargs): super(InDetPhysHitDecoratorTool.InDetPhysHitDecoratorTool,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # custom configuration here: self.InDetTrackHoleSearchTool = toolFactory( InDetHoleSearchTool.PhysValMonInDetHoleSearchTool)
def __init__(self, **kwargs): super(InDetPhysValMonitoringTool.InDetPhysValMonitoringToolDBM,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # special parameters of the GSF InDetPhysValMonitoringTool from InDetRecExample.InDetKeys import InDetKeys self.TrackParticleContainerName = InDetKeys.DBMTracks() self.SubFolder = 'DBM/'
def __init__(self, **kwargs): super(InDetPhysValMonitoringTool.InDetPhysValMonitoringToolTightPrimary,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # special parameters of the InDetPhysValMonitoringTool for monitoring tight primary tracks self.SubFolder = 'TightPrimary/' self.useTrackSelection = True from InDetPhysValMonitoring.TrackSelectionTool import InDetTrackSelectionTool self.TrackSelectionTool = toolFactory( InDetTrackSelectionTool.InDetTrackSelectionToolTightPrimary)
def __init__(self, **kwargs): super(InDetPhysValDecoratorAlg.InDetPhysValDecoratorAlg,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # custom configurations below: self.InDetPhysHitDecoratorTool = toolFactory( InDetPhysHitDecoratorTool.InDetPhysHitDecoratorTool) # self.InDetPhysHitDecoratorTool.OutputLevel=1 from InDetPhysValMonitoring.InDetPhysValJobProperties import isMC if not isMC(): # disable truth monitoring for data self.TruthParticleContainerName = ''
def __init__(self, **kwargs): from AthenaCommon.AppMgr import ToolSvc, ServiceMgr # If InDetSCT_ConditionsSummarySvc instance configured by InDetRecConditionsAccess.py is available, use it. # Otherwise, the default SCT_ConditionsSummarySvc instance is used. # @TODO find a better to solution to get the correct service for the current job. SctSummarySvc = "InDetSCT_ConditionsSummarySvc" if not hasattr(ServiceMgr, SctSummarySvc): SctSummarySvc = "SCT_ConditionsSummarySvc" from InDetRecExample.InDetJobProperties import InDetFlags super(InDetHoleSearchTool.PhysValMonInDetHoleSearchTool, self).__init__(**_args( kwargs, name=self.__class__.__name__, Extrapolator=ToolSvc.InDetExtrapolator, SctSummarySvc=SctSummarySvc, usePixel=True, useSCT=True, checkBadSCTChip=InDetFlags.checkDeadElementsOnTrack(), # OutputLevel = 1, CountDeadModulesAfterLastHit=True))
def __init__(self, **kwargs): super(InDetPhysValMonitoringTool.InDetPhysValMonitoringTool,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # special parameters of the default InDetPhysValMonitoringTool self.useTrackSelection = False self.EnableLumi = False # create the HistogramDefinitionSvc # at the moment there can only be one HistogramDefinitionSvc from InDetPhysValMonitoring.HistogramDefinitionSvc import HistogramDefinitionSvc #self.HistogramDefinitionSvc = serviceFactory(HistogramDefinitionSvc.HistogramDefinitionSvc) from InDetPhysValMonitoring.InDetPhysValJobProperties import isMC, InDetPhysValFlags if isMC(): self.TruthParticleContainerName = "TruthParticles" if InDetPhysValFlags.doValidateTracksInJets(): self.jetContainerName = 'AntiKt4TruthJets' self.FillTrackInJetPlots = True from InDetPhysValMonitoring.addTruthJets import addTruthJetsIfNotExising addTruthJetsIfNotExising(self.jetContainerName) else: self.jetContainerName = '' self.FillTrackInJetPlots = False else: # disable truth monitoring for data self.TruthParticleContainerName = '' # the jet container is actually meant to be a truth jet container self.jetContainerName = '' # hack to remove example phyval monitor from RecExConfig.AutoConfiguration import IsInInputFile if not IsInInputFile('xAOD::JetContainer', 'AntiKt4EMTopoJets'): from RecExConfig.RecFlags import rec rec.UserExecs += [ 'from InDetPhysValMonitoring.InDetPhysValMonitoringTool import removePhysValExample;removePhysValExample();' ]
def __init__(self, **kwargs): super(InDetPhysValDecoratorAlg.InDetPhysValDecoratorAlgGSF,self)\ .__init__(**_args( kwargs, name = self.__class__.__name__)) # custom configuration below: self.TrackParticleContainerName = InDetPhysValKeys.GSFTrackParticles