ATLAS Offline Software
LArTimeVetoAlgConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 from IOVDbSvc.IOVDbSvcConfig import addFolders
6 
7 def LArTimeVetoAlgCfg(flags):
8 
9  result=ComponentAccumulator()
10 
11  result.merge(addFolders(flags,"/LAR/BadChannelsOfl/EventVeto","LAR_OFL",className="AthenaAttributeList"))
12 
13  result.addEventAlgo(CompFactory.LArTimeVetoAlg())
14 
15  return result
16 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArTimeVetoAlgConfig.LArTimeVetoAlgCfg
def LArTimeVetoAlgCfg(flags)
Definition: LArTimeVetoAlgConfig.py:7
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72