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

Functions

 LArBadFebDBAlgCfg (flags, InputFile, dbname="LAR_OFL", folder=None, tag=None, IOVStart=[0, 0], IOVEnd=[0x7FFFFFFF, 0xFFFFFFFF])

Variables

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

Function Documentation

◆ LArBadFebDBAlgCfg()

python.LArMissingFebsDBAlg.LArBadFebDBAlgCfg ( flags,
InputFile,
dbname = "LAR_OFL",
folder = None,
tag = None,
IOVStart = [0,0],
IOVEnd = [0x7FFFFFFF,0xFFFFFFFF] )

Definition at line 6 of file LArMissingFebsDBAlg.py.

7 IOVStart=[0,0],IOVEnd=[0x7FFFFFFF,0xFFFFFFFF]):
8
9 logger = logging.getLogger( "LArBadFebDBAlgCfg" )
10 from LArGeoAlgsNV.LArGMConfig import LArGMCfg
11 result=LArGMCfg(flags)
12
13 from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg
14 result.merge(LArOnOffIdMappingCfg(flags))
15
16 if folder is None:
17 if dbname == "LAR_ONL":
18 folder="/LAR/BadChannels/KnownBADFEBs"
19 else:
20 folder="/LAR/BadChannelsOfl/KnownBADFEBs"
21
22 if tag is not None:
23 if not tag.startswith("LAR"):
24 if not tag.startswith("-"): tag= "-"+tag
25 tag="".join(folder.split("/"))+tag
26
27 print("Tag=",tag)
28
29
30 logger.info("Writing to folder %s, tag %s",folder,tag)
31 result.addCondAlgo(CompFactory.LArBadFebCondAlg("LArKnownBadFebAlg",ReadKey="",InputFileName=InputFile,WriteKey="LArBadFeb"))
32
33 #Thats the registration algo
34 theLArDBAlg=CompFactory.LArBadChannelDBAlg()
35 theLArDBAlg.WritingMode = 1
36 theLArDBAlg.FEBFolder=folder
37 result.addEventAlgo(theLArDBAlg)
38
39 from RegistrationServices.OutputConditionsAlgConfig import OutputConditionsAlgCfg
40 result.merge(OutputConditionsAlgCfg(flags,"dummy.pool.root",
41 ObjectList=["AthenaAttributeList#"+folder],
42 IOVTagList=[tag],
43 Run1=IOVStart[0],LB1=IOVStart[1],
44 Run2=IOVEnd[0],LB2=IOVEnd[1]))
45
46 return result
47
48
void print(char *figname, TCanvas *c1)

Variable Documentation

◆ action

python.LArMissingFebsDBAlg.action

Definition at line 61 of file LArMissingFebsDBAlg.py.

◆ args

python.LArMissingFebsDBAlg.args

Definition at line 64 of file LArMissingFebsDBAlg.py.

◆ AtlasVersion

python.LArMissingFebsDBAlg.AtlasVersion

Definition at line 85 of file LArMissingFebsDBAlg.py.

◆ cfg

python.LArMissingFebsDBAlg.cfg = MainServicesCfg(flags)

Definition at line 99 of file LArMissingFebsDBAlg.py.

◆ DatabaseInstance

python.LArMissingFebsDBAlg.DatabaseInstance

Definition at line 77 of file LArMissingFebsDBAlg.py.

◆ DBConnection

python.LArMissingFebsDBAlg.DBConnection

Definition at line 87 of file LArMissingFebsDBAlg.py.

◆ default

python.LArMissingFebsDBAlg.default

Definition at line 53 of file LArMissingFebsDBAlg.py.

◆ doAlign

python.LArMissingFebsDBAlg.doAlign

Definition at line 78 of file LArMissingFebsDBAlg.py.

◆ False

python.LArMissingFebsDBAlg.False

Definition at line 61 of file LArMissingFebsDBAlg.py.

◆ Files

python.LArMissingFebsDBAlg.Files

Definition at line 75 of file LArMissingFebsDBAlg.py.

◆ flags

python.LArMissingFebsDBAlg.flags = initConfigFlags()

Definition at line 72 of file LArMissingFebsDBAlg.py.

◆ GlobalTag

python.LArMissingFebsDBAlg.GlobalTag

Definition at line 80 of file LArMissingFebsDBAlg.py.

◆ help

python.LArMissingFebsDBAlg.help

Definition at line 53 of file LArMissingFebsDBAlg.py.

◆ int

python.LArMissingFebsDBAlg.int

Definition at line 54 of file LArMissingFebsDBAlg.py.

◆ isMC

python.LArMissingFebsDBAlg.isMC

Definition at line 76 of file LArMissingFebsDBAlg.py.

◆ leftover

python.LArMissingFebsDBAlg.leftover

Definition at line 64 of file LArMissingFebsDBAlg.py.

◆ MCCampaign

python.LArMissingFebsDBAlg.MCCampaign

Definition at line 83 of file LArMissingFebsDBAlg.py.

◆ None

python.LArMissingFebsDBAlg.None

Definition at line 53 of file LArMissingFebsDBAlg.py.

◆ OutputLevel

python.LArMissingFebsDBAlg.OutputLevel

Definition at line 92 of file LArMissingFebsDBAlg.py.

◆ parser

python.LArMissingFebsDBAlg.parser = argparse.ArgumentParser()

Definition at line 51 of file LArMissingFebsDBAlg.py.

◆ RunNumbers

python.LArMissingFebsDBAlg.RunNumbers

Definition at line 79 of file LArMissingFebsDBAlg.py.

◆ sc

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

Definition at line 119 of file LArMissingFebsDBAlg.py.

◆ type

python.LArMissingFebsDBAlg.type

Definition at line 54 of file LArMissingFebsDBAlg.py.

◆ x7FFFFFFF

python.LArMissingFebsDBAlg.x7FFFFFFF

Definition at line 56 of file LArMissingFebsDBAlg.py.

◆ xFFFFFFFF

python.LArMissingFebsDBAlg.xFFFFFFFF

Definition at line 57 of file LArMissingFebsDBAlg.py.