ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArMissingFeb2Ascii Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ LArMissingFeb2AsciiCfg()

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

Definition at line 5 of file LArMissingFeb2Ascii.py.

5def 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") or flags.Input.isMC:
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, tag=tag, dbname=dbname))
30 ReadKey='LArBadFeb'
31 elif 'KnownBADFEBs' in folder:
32 from LArBadChannelTool.LArBadFebsConfig import LArKnownBadFebCfg
33 result.merge(LArKnownBadFebCfg(flags,tag=tag, dbname=dbname))
34 ReadKey='LArKnownBadFEBs'
35 elif 'KnownMNBFEBs' in folder:
36 from LArBadChannelTool.LArBadFebsConfig import LArKnownMNBFebCfg
37 result.merge(LArKnownMNBFebCfg(flags,tag=tag, dbname=dbname))
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
void print(char *figname, TCanvas *c1)

Variable Documentation

◆ action

python.LArMissingFeb2Ascii.action

Definition at line 62 of file LArMissingFeb2Ascii.py.

◆ args

python.LArMissingFeb2Ascii.args

Definition at line 64 of file LArMissingFeb2Ascii.py.

◆ AtlasVersion

python.LArMissingFeb2Ascii.AtlasVersion

Definition at line 84 of file LArMissingFeb2Ascii.py.

◆ cfg

python.LArMissingFeb2Ascii.cfg = MainServicesCfg(flags)

Definition at line 102 of file LArMissingFeb2Ascii.py.

◆ DatabaseInstance

python.LArMissingFeb2Ascii.DatabaseInstance

Definition at line 76 of file LArMissingFeb2Ascii.py.

◆ default

python.LArMissingFeb2Ascii.default

Definition at line 54 of file LArMissingFeb2Ascii.py.

◆ doAlign

python.LArMissingFeb2Ascii.doAlign

Definition at line 77 of file LArMissingFeb2Ascii.py.

◆ False

python.LArMissingFeb2Ascii.False

Definition at line 62 of file LArMissingFeb2Ascii.py.

◆ Files

python.LArMissingFeb2Ascii.Files

Definition at line 74 of file LArMissingFeb2Ascii.py.

◆ flags

python.LArMissingFeb2Ascii.flags = initConfigFlags()

Definition at line 72 of file LArMissingFeb2Ascii.py.

◆ GlobalTag

python.LArMissingFeb2Ascii.GlobalTag

Definition at line 79 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 75 of file LArMissingFeb2Ascii.py.

◆ leftover

python.LArMissingFeb2Ascii.leftover

Definition at line 64 of file LArMissingFeb2Ascii.py.

◆ MCCampaign

python.LArMissingFeb2Ascii.MCCampaign

Definition at line 82 of file LArMissingFeb2Ascii.py.

◆ None

python.LArMissingFeb2Ascii.None

Definition at line 54 of file LArMissingFeb2Ascii.py.

◆ OutputLevel

python.LArMissingFeb2Ascii.OutputLevel

Definition at line 89 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 78 of file LArMissingFeb2Ascii.py.

◆ sc

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

Definition at line 120 of file LArMissingFeb2Ascii.py.

◆ SqliteFolders

python.LArMissingFeb2Ascii.SqliteFolders

Definition at line 96 of file LArMissingFeb2Ascii.py.

◆ SqliteInput

python.LArMissingFeb2Ascii.SqliteInput

Definition at line 94 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.