ATLAS Offline Software
Functions | Variables
python.LArMissingFebDbAlg Namespace Reference

Functions

def LArMissingFebDBAlgCfg (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
 
 args
 
 leftover
 
 flags = initConfigFlags()
 
 isMC
 
 DatabaseInstance
 
 doAlign
 
 RunNumbers
 
 GlobalTag
 
 AtlasVersion
 
 DBConnection
 
 OutputLevel
 
 cfg = MainServicesCfg(flags)
 
 sc = cfg.run(1)
 

Function Documentation

◆ LArMissingFebDBAlgCfg()

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

Definition at line 6 of file LArMissingFebDbAlg.py.

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

Variable Documentation

◆ args

python.LArMissingFebDbAlg.args

Definition at line 64 of file LArMissingFebDbAlg.py.

◆ AtlasVersion

python.LArMissingFebDbAlg.AtlasVersion

Definition at line 81 of file LArMissingFebDbAlg.py.

◆ cfg

python.LArMissingFebDbAlg.cfg = MainServicesCfg(flags)

Definition at line 95 of file LArMissingFebDbAlg.py.

◆ DatabaseInstance

python.LArMissingFebDbAlg.DatabaseInstance

Definition at line 76 of file LArMissingFebDbAlg.py.

◆ DBConnection

python.LArMissingFebDbAlg.DBConnection

Definition at line 83 of file LArMissingFebDbAlg.py.

◆ default

python.LArMissingFebDbAlg.default

Definition at line 54 of file LArMissingFebDbAlg.py.

◆ doAlign

python.LArMissingFebDbAlg.doAlign

Definition at line 77 of file LArMissingFebDbAlg.py.

◆ flags

python.LArMissingFebDbAlg.flags = initConfigFlags()

Definition at line 72 of file LArMissingFebDbAlg.py.

◆ GlobalTag

python.LArMissingFebDbAlg.GlobalTag

Definition at line 79 of file LArMissingFebDbAlg.py.

◆ help

python.LArMissingFebDbAlg.help

Definition at line 54 of file LArMissingFebDbAlg.py.

◆ int

python.LArMissingFebDbAlg.int

Definition at line 55 of file LArMissingFebDbAlg.py.

◆ isMC

python.LArMissingFebDbAlg.isMC

Definition at line 75 of file LArMissingFebDbAlg.py.

◆ leftover

python.LArMissingFebDbAlg.leftover

Definition at line 64 of file LArMissingFebDbAlg.py.

◆ None

python.LArMissingFebDbAlg.None

Definition at line 54 of file LArMissingFebDbAlg.py.

◆ OutputLevel

python.LArMissingFebDbAlg.OutputLevel

Definition at line 88 of file LArMissingFebDbAlg.py.

◆ parser

python.LArMissingFebDbAlg.parser = argparse.ArgumentParser()

Definition at line 52 of file LArMissingFebDbAlg.py.

◆ RunNumbers

python.LArMissingFebDbAlg.RunNumbers

Definition at line 78 of file LArMissingFebDbAlg.py.

◆ sc

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

Definition at line 115 of file LArMissingFebDbAlg.py.

◆ type

python.LArMissingFebDbAlg.type

Definition at line 55 of file LArMissingFebDbAlg.py.

◆ x7FFFFFFF

python.LArMissingFebDbAlg.x7FFFFFFF

Definition at line 57 of file LArMissingFebDbAlg.py.

◆ xFFFFFFFF

python.LArMissingFebDbAlg.xFFFFFFFF

Definition at line 58 of file LArMissingFebDbAlg.py.

python.LArMissingFebDbAlg.LArMissingFebDBAlgCfg
def LArMissingFebDBAlgCfg(flags, InputFile, dbname="LAR_OFL", folder=None, tag=None, IOVStart=[0, 0], IOVEnd=[0x7FFFFFFF, 0xFFFFFFFF])
Definition: LArMissingFebDbAlg.py:6
OutputConditionsAlgConfig.OutputConditionsAlgCfg
def OutputConditionsAlgCfg(flags, name="OutputConditionsAlg", outputFile='condobjs.root', **kwargs)
Definition: OutputConditionsAlgConfig.py:5
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