ATLAS Offline Software
Functions | Variables
python.LArMissingFeb2Ascii Namespace Reference

Functions

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

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

◆ LArMissingFeb2AsciiCfg()

def python.LArMissingFeb2Ascii.LArMissingFeb2AsciiCfg (   flags,
  OutputFile,
  dbname = "LAR_OFL",
  folder = None,
  tag = None,
  summaryfile = "" 
)

Definition at line 5 of file LArMissingFeb2Ascii.py.

5 def LArMissingFeb2AsciiCfg(flags,OutputFile,dbname="LAR_OFL",folder=None,tag=None,summaryfile=""):
6  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
7  result=LArGMCfg(flags)
8 
9  #Setup regular cabling
10  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg
11  result.merge(LArOnOffIdMappingCfg(flags))
12 
13 
14  if folder is None:
15  if dbname in ("LAR","LAR_ONL"):
16  folder="/LAR/BadChannels/MissingFEBs"
17  else:
18  folder="/LAR/BadChannelsOfl/MissingFEBs"
19 
20  if tag is not None:
21  if not tag.startswith("LAR"):
22  if not tag.startswith("-"): tag= "-"+tag
23  tag="".join(folder.split("/"))+tag
24 
25  print("Tag=",tag)
26 
27  if 'MissingFEBs' in folder:
28  from LArBadChannelTool.LArBadChannelConfig import LArBadFebCfg
29  result.merge(LArBadFebCfg(flags))
30  ReadKey='LArBadFeb'
31  elif 'KnownBADFEBs' in folder:
32  from LArBadChannelTool.LArBadFebsConfig import LArKnownBadFebCfg
33  result.merge(LArKnownBadFebCfg(flags))
34  ReadKey='LArKnownBadFEBs'
35  elif 'KnownMNBFEBs' in folder:
36  from LArBadChannelTool.LArBadFebsConfig import LArKnownMNBFebCfg
37  result.merge(LArKnownMNBFebCfg(flags))
38  ReadKey='LArKnownMNBFEBs'
39  else:
40  print('Unknown folder: ',folder,' exiting !!!')
41  import sys
42  sys.exit(-1)
43 
44  theLArMF2Ascii=CompFactory.LArBadFeb2Ascii(FileName=OutputFile,BFKey=ReadKey)
45  result.addEventAlgo(theLArMF2Ascii)
46 
47  return result
48 
49 
50 

Variable Documentation

◆ args

python.LArMissingFeb2Ascii.args

Definition at line 63 of file LArMissingFeb2Ascii.py.

◆ AtlasVersion

python.LArMissingFeb2Ascii.AtlasVersion

Definition at line 80 of file LArMissingFeb2Ascii.py.

◆ cfg

python.LArMissingFeb2Ascii.cfg = MainServicesCfg(flags)

Definition at line 92 of file LArMissingFeb2Ascii.py.

◆ DatabaseInstance

python.LArMissingFeb2Ascii.DatabaseInstance

Definition at line 75 of file LArMissingFeb2Ascii.py.

◆ default

python.LArMissingFeb2Ascii.default

Definition at line 54 of file LArMissingFeb2Ascii.py.

◆ doAlign

python.LArMissingFeb2Ascii.doAlign

Definition at line 76 of file LArMissingFeb2Ascii.py.

◆ flags

python.LArMissingFeb2Ascii.flags = initConfigFlags()

Definition at line 71 of file LArMissingFeb2Ascii.py.

◆ GlobalTag

python.LArMissingFeb2Ascii.GlobalTag

Definition at line 78 of file LArMissingFeb2Ascii.py.

◆ help

python.LArMissingFeb2Ascii.help

Definition at line 54 of file LArMissingFeb2Ascii.py.

◆ int

python.LArMissingFeb2Ascii.int

Definition at line 55 of file LArMissingFeb2Ascii.py.

◆ isMC

python.LArMissingFeb2Ascii.isMC

Definition at line 74 of file LArMissingFeb2Ascii.py.

◆ leftover

python.LArMissingFeb2Ascii.leftover

Definition at line 63 of file LArMissingFeb2Ascii.py.

◆ None

python.LArMissingFeb2Ascii.None

Definition at line 54 of file LArMissingFeb2Ascii.py.

◆ OutputLevel

python.LArMissingFeb2Ascii.OutputLevel

Definition at line 85 of file LArMissingFeb2Ascii.py.

◆ parser

python.LArMissingFeb2Ascii.parser = argparse.ArgumentParser()

Definition at line 53 of file LArMissingFeb2Ascii.py.

◆ RunNumbers

python.LArMissingFeb2Ascii.RunNumbers

Definition at line 77 of file LArMissingFeb2Ascii.py.

◆ sc

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

Definition at line 110 of file LArMissingFeb2Ascii.py.

◆ type

python.LArMissingFeb2Ascii.type

Definition at line 55 of file LArMissingFeb2Ascii.py.

◆ x7fffffff

python.LArMissingFeb2Ascii.x7fffffff

Definition at line 55 of file LArMissingFeb2Ascii.py.

python.LArBadFebsConfig.LArKnownMNBFebCfg
def LArKnownMNBFebCfg(configFlags, tag=None)
Definition: LArBadFebsConfig.py:25
python.LArMissingFeb2Ascii.LArMissingFeb2AsciiCfg
def LArMissingFeb2AsciiCfg(flags, OutputFile, dbname="LAR_OFL", folder=None, tag=None, summaryfile="")
Definition: LArMissingFeb2Ascii.py:5
python.LArBadChannelConfig.LArBadFebCfg
def LArBadFebCfg(configFlags, tag=None)
Definition: LArBadChannelConfig.py:45
python.LArBadFebsConfig.LArKnownBadFebCfg
def LArKnownBadFebCfg(configFlags, tag=None)
Definition: LArBadFebsConfig.py:11
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
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28