ATLAS Offline Software
Functions | Variables
python.LArMissingFebs2Ascii Namespace Reference

Functions

def LArBadFebs2AsciiCfg (flags, OutputFile, dbname="LAR_OFL", folder=None, tag=None)
 

Variables

 parser = argparse.ArgumentParser()
 
 default
 
 None
 
 help
 
 x7fffffff
 
 type
 
 int
 
 args
 
 leftover
 
 flags = initConfigFlags()
 
 isMC
 
 DatabaseInstance
 
 doAlign
 
 RunNumbers
 
 GlobalTag
 
 AtlasVersion
 
 OutputLevel
 
 cfg = MainServicesCfg(flags)
 
 sc = cfg.run(1)
 

Function Documentation

◆ LArBadFebs2AsciiCfg()

def python.LArMissingFebs2Ascii.LArBadFebs2AsciiCfg (   flags,
  OutputFile,
  dbname = "LAR_OFL",
  folder = None,
  tag = None 
)

Definition at line 6 of file LArMissingFebs2Ascii.py.

6 def LArBadFebs2AsciiCfg(flags,OutputFile,dbname="LAR_OFL",folder=None,tag=None):
7  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
8  result=LArGMCfg(flags)
9 
10  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg
11  result.merge(LArOnOffIdMappingCfg(flags))
12 
13  if folder is None:
14  if dbname == "LAR_ONL":
15  folder="/LAR/BadChannels/KnownBADFEBs"
16  else:
17  folder="/LAR/BadChannelsOfl/KnownBADFEBs"
18 
19  if tag is not None:
20  if not tag.startswith("LAR"):
21  if not tag.startswith("-"): tag= "-"+tag
22  tag="".join(folder.split("/"))+tag
23 
24  print("Tag=",tag)
25 
26  result.merge(addFolders(flags,folder,dbname,tag=tag,
27  className="AthenaAttributeList"))
28 
29  result.addCondAlgo(CompFactory.LArBadFebCondAlg("LArKnownBadFebAlg",ReadKey=folder,WriteKey="LArBadFeb"))
30 
31  result.addEventAlgo(CompFactory.LArBadFeb2Ascii(FileName=OutputFile))
32 
33  return result
34 
35 
36 

Variable Documentation

◆ args

python.LArMissingFebs2Ascii.args

Definition at line 48 of file LArMissingFebs2Ascii.py.

◆ AtlasVersion

python.LArMissingFebs2Ascii.AtlasVersion

Definition at line 65 of file LArMissingFebs2Ascii.py.

◆ cfg

python.LArMissingFebs2Ascii.cfg = MainServicesCfg(flags)

Definition at line 77 of file LArMissingFebs2Ascii.py.

◆ DatabaseInstance

python.LArMissingFebs2Ascii.DatabaseInstance

Definition at line 60 of file LArMissingFebs2Ascii.py.

◆ default

python.LArMissingFebs2Ascii.default

Definition at line 40 of file LArMissingFebs2Ascii.py.

◆ doAlign

python.LArMissingFebs2Ascii.doAlign

Definition at line 61 of file LArMissingFebs2Ascii.py.

◆ flags

python.LArMissingFebs2Ascii.flags = initConfigFlags()

Definition at line 56 of file LArMissingFebs2Ascii.py.

◆ GlobalTag

python.LArMissingFebs2Ascii.GlobalTag

Definition at line 63 of file LArMissingFebs2Ascii.py.

◆ help

python.LArMissingFebs2Ascii.help

Definition at line 40 of file LArMissingFebs2Ascii.py.

◆ int

python.LArMissingFebs2Ascii.int

Definition at line 41 of file LArMissingFebs2Ascii.py.

◆ isMC

python.LArMissingFebs2Ascii.isMC

Definition at line 59 of file LArMissingFebs2Ascii.py.

◆ leftover

python.LArMissingFebs2Ascii.leftover

Definition at line 48 of file LArMissingFebs2Ascii.py.

◆ None

python.LArMissingFebs2Ascii.None

Definition at line 40 of file LArMissingFebs2Ascii.py.

◆ OutputLevel

python.LArMissingFebs2Ascii.OutputLevel

Definition at line 70 of file LArMissingFebs2Ascii.py.

◆ parser

python.LArMissingFebs2Ascii.parser = argparse.ArgumentParser()

Definition at line 39 of file LArMissingFebs2Ascii.py.

◆ RunNumbers

python.LArMissingFebs2Ascii.RunNumbers

Definition at line 62 of file LArMissingFebs2Ascii.py.

◆ sc

python.LArMissingFebs2Ascii.sc = cfg.run(1)

Definition at line 94 of file LArMissingFebs2Ascii.py.

◆ type

python.LArMissingFebs2Ascii.type

Definition at line 41 of file LArMissingFebs2Ascii.py.

◆ x7fffffff

python.LArMissingFebs2Ascii.x7fffffff

Definition at line 41 of file LArMissingFebs2Ascii.py.

python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.LArMissingFebs2Ascii.LArBadFebs2AsciiCfg
def LArBadFebs2AsciiCfg(flags, OutputFile, dbname="LAR_OFL", folder=None, tag=None)
Definition: LArMissingFebs2Ascii.py:6
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70