◆ __init__()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.__init__ |
( |
|
self, |
|
|
|
FolderType = "T0" |
|
) |
| |
Definition at line 13 of file CalibrationTargetFolderConfig.py.
14 if FolderType
not in [
"T0",
"RT",
"T0BLOB",
"RTBLOB"]:
15 print (
"FATAL Folder type must be 'T0[BLOB]' or 'RT[BLOB]'")
26 self.Folder =
"/MDT/T0"
27 elif FolderType ==
"T0BLOB":
30 self.Folder =
"/MDT/T0BLOB"
34 self.Folder =
"/MDT/RT"
35 elif FolderType ==
"RTBLOB":
38 self.Folder =
"/MDT/RTBLOB"
40 MuonCalib__gCalibrationTargetConfigs.append(self)
◆ AddToCoolInserter()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.AddToCoolInserter |
( |
|
self, |
|
|
|
coolInserter |
|
) |
| |
Definition at line 58 of file CalibrationTargetFolderConfig.py.
58 def AddToCoolInserter(self, coolInserter):
61 coolInserter.T0Folder.append(self.Folder)
62 coolInserter.T0Tag.append(self.Tag)
63 coolInserter.T0FolderCompress.append(self.Compress)
65 coolInserter.RtFolder.append(self.Folder)
66 coolInserter.RtTag.append(self.Tag)
67 coolInserter.RtFolderCompress.append(self.Compress)
◆ ResolveGlobalTag()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.ResolveGlobalTag |
( |
|
self, |
|
|
|
tag, |
|
|
|
dbstring = "COOLOFL_MDT/CONDBR2" |
|
) |
| |
Definition at line 42 of file CalibrationTargetFolderConfig.py.
42 def ResolveGlobalTag(self, tag, dbstring="COOLOFL_MDT/CONDBR2"):
44 print (
"INFO Tag for", self.Folder,
"already set to", self.Tag)
45 print (
"INFO Not resolving global tag")
48 db=AtlCoolLib.indirectOpen(dbstring, readOnly=
True, debug=
True)
49 except Exception
as e:
50 print (
'Problem opening database',e)
52 cool_folder=db.getFolder(self.Folder)
54 print (
"INFO tag '" + tag +
"' resolves to '" + self.Tag +
"' for folder '" + self.Folder +
"'")
◆ __is_t0
CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.__is_t0 |
|
private |
◆ Compress
CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.Compress |
◆ Folder
CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.Folder |
◆ Tag
CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.Tag |
The documentation for this class was generated from the following file: