◆ __init__()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.__init__ |
( |
|
self, |
|
|
|
FolderType = "T0" |
|
) |
| |
Definition at line 14 of file CalibrationTargetFolderConfig.py.
15 if FolderType
not in [
"T0",
"RT",
"T0BLOB",
"RTBLOB"]:
16 print (
"FATAL Folder type must be 'T0[BLOB]' or 'RT[BLOB]'")
27 self.Folder =
"/MDT/T0"
28 elif FolderType ==
"T0BLOB":
31 self.Folder =
"/MDT/T0BLOB"
35 self.Folder =
"/MDT/RT"
36 elif FolderType ==
"RTBLOB":
39 self.Folder =
"/MDT/RTBLOB"
41 MuonCalib__gCalibrationTargetConfigs.append(self)
◆ AddToCoolInserter()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.AddToCoolInserter |
( |
|
self, |
|
|
|
coolInserter |
|
) |
| |
Definition at line 59 of file CalibrationTargetFolderConfig.py.
59 def AddToCoolInserter(self, coolInserter):
62 coolInserter.T0Folder.append(self.Folder)
63 coolInserter.T0Tag.append(self.Tag)
64 coolInserter.T0FolderCompress.append(self.Compress)
66 coolInserter.RtFolder.append(self.Folder)
67 coolInserter.RtTag.append(self.Tag)
68 coolInserter.RtFolderCompress.append(self.Compress)
◆ ResolveGlobalTag()
def CalibrationTargetFolderConfig.MuonCalib__CalibrationTargetConfig.ResolveGlobalTag |
( |
|
self, |
|
|
|
tag, |
|
|
|
dbstring = "COOLOFL_MDT/CONDBR2" |
|
) |
| |
Definition at line 43 of file CalibrationTargetFolderConfig.py.
43 def ResolveGlobalTag(self, tag, dbstring="COOLOFL_MDT/CONDBR2"):
45 print (
"INFO Tag for", self.Folder,
"already set to", self.Tag)
46 print (
"INFO Not resolving global tag")
49 db=AtlCoolLib.indirectOpen(dbstring, readOnly=
True, debug=
True)
50 except Exception
as e:
51 print (
'Problem opening database',e)
53 cool_folder=db.getFolder(self.Folder)
55 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: