ATLAS Offline Software
Classes | Functions
python.AtlCoolSchemaLib Namespace Reference

Classes

class  coolSchema
 

Functions

def instanceList (instanceSel="", schemaSel="")
 
def addSchema (ilist, schema, instance, schemaSel, extra=0)
 

Function Documentation

◆ addSchema()

def python.AtlCoolSchemaLib.addSchema (   ilist,
  schema,
  instance,
  schemaSel,
  extra = 0 
)

Definition at line 149 of file AtlCoolSchemaLib.py.

149 def addSchema(ilist,schema,instance,schemaSel,extra=0):
150  if (schemaSel=='' or schema.find(schemaSel)>=0):
151  ilist+=[coolSchema(schema,instance,extra)]

◆ instanceList()

def python.AtlCoolSchemaLib.instanceList (   instanceSel = "",
  schemaSel = "" 
)

Definition at line 41 of file AtlCoolSchemaLib.py.

41 def instanceList(instanceSel="",schemaSel=""):
42  "Define all instances in use, optionally only selected instances/schemas"
43  ilist=[]
44  # list of all the active databases
45  if (instanceSel=='OFLP200' or instanceSel==''):
46  addSchema(ilist,'ATLAS_COOLOFL_INDET','OFLP200',schemaSel)
47  addSchema(ilist,'ATLAS_COOLONL_INDET','OFLP200',schemaSel)
48  addSchema(ilist,'ATLAS_COOLOFL_PIXEL','OFLP200',schemaSel)
49  addSchema(ilist,'ATLAS_COOLONL_PIXEL','OFLP200',schemaSel)
50  addSchema(ilist,'ATLAS_COOLOFL_SCT','OFLP200',schemaSel)
51  addSchema(ilist,'ATLAS_COOLONL_SCT','OFLP200',schemaSel)
52  addSchema(ilist,'ATLAS_COOLOFL_TRT','OFLP200',schemaSel)
53  addSchema(ilist,'ATLAS_COOLONL_TRT','OFLP200',schemaSel)
54  addSchema(ilist,'ATLAS_COOLOFL_LAR','OFLP200',schemaSel)
55  addSchema(ilist,'ATLAS_COOLONL_LAR','OFLP200',schemaSel)
56  addSchema(ilist,'ATLAS_COOLOFL_TILE','OFLP200',schemaSel)
57  addSchema(ilist,'ATLAS_COOLONL_TILE','OFLP200',schemaSel)
58  addSchema(ilist,'ATLAS_COOLOFL_CALO','OFLP200',schemaSel)
59  addSchema(ilist,'ATLAS_COOLONL_CALO','OFLP200',schemaSel)
60  addSchema(ilist,'ATLAS_COOLOFL_MDT','OFLP200',schemaSel)
61  addSchema(ilist,'ATLAS_COOLONL_MDT','OFLP200',schemaSel)
62  addSchema(ilist,'ATLAS_COOLOFL_MUONALIGN','OFLP200',schemaSel,2)
63  addSchema(ilist,'ATLAS_COOLONL_MUONALIGN','OFLP200',schemaSel,2)
64  addSchema(ilist,'ATLAS_COOLOFL_CSC','OFLP200',schemaSel)
65  addSchema(ilist,'ATLAS_COOLONL_CSC','OFLP200',schemaSel)
66  addSchema(ilist,'ATLAS_COOLONL_TRIGGER','OFLP200',schemaSel,1)
67  addSchema(ilist,'ATLAS_COOLOFL_RPC','OFLP200',schemaSel)
68  addSchema(ilist,'ATLAS_COOLOFL_TGC','OFLP200',schemaSel)
69  addSchema(ilist,'ATLAS_COOLONL_GLOBAL','OFLP200',schemaSel)
70  addSchema(ilist,'ATLAS_COOLOFL_GLOBAL','OFLP200',schemaSel)
71  addSchema(ilist,'ATLAS_COOLOFL_DCS','OFLP200',schemaSel)
72  if (instanceSel=='COMP200' or instanceSel==''):
73  addSchema(ilist,'ATLAS_COOLOFL_INDET','COMP200',schemaSel)
74  addSchema(ilist,'ATLAS_COOLONL_INDET','COMP200',schemaSel)
75  addSchema(ilist,'ATLAS_COOLOFL_PIXEL','COMP200',schemaSel)
76  addSchema(ilist,'ATLAS_COOLONL_PIXEL','COMP200',schemaSel)
77  addSchema(ilist,'ATLAS_COOLOFL_SCT','COMP200',schemaSel)
78  addSchema(ilist,'ATLAS_COOLONL_SCT','COMP200',schemaSel)
79  addSchema(ilist,'ATLAS_COOLOFL_TRT','COMP200',schemaSel)
80  addSchema(ilist,'ATLAS_COOLONL_TRT','COMP200',schemaSel)
81  addSchema(ilist,'ATLAS_COOLOFL_LAR','COMP200',schemaSel)
82  addSchema(ilist,'ATLAS_COOLONL_LAR','COMP200',schemaSel)
83  addSchema(ilist,'ATLAS_COOLOFL_TILE','COMP200',schemaSel)
84  addSchema(ilist,'ATLAS_COOLONL_TILE','COMP200',schemaSel)
85  addSchema(ilist,'ATLAS_COOLOFL_CALO','COMP200',schemaSel)
86  addSchema(ilist,'ATLAS_COOLONL_CALO','COMP200',schemaSel)
87  addSchema(ilist,'ATLAS_COOLOFL_MDT','COMP200',schemaSel)
88  addSchema(ilist,'ATLAS_COOLONL_MDT','COMP200',schemaSel)
89  addSchema(ilist,'ATLAS_COOLOFL_MUONALIGN','COMP200',schemaSel)
90  addSchema(ilist,'ATLAS_COOLONL_MUONALIGN','COMP200',schemaSel)
91  addSchema(ilist,'ATLAS_COOLONL_TDAQ','COMP200',schemaSel,1)
92  addSchema(ilist,'ATLAS_COOLONL_TRIGGER','COMP200',schemaSel,3)
93  addSchema(ilist,'ATLAS_COOLOFL_TRIGGER','COMP200',schemaSel,3)
94  addSchema(ilist,'ATLAS_COOLOFL_CSC','COMP200',schemaSel)
95  addSchema(ilist,'ATLAS_COOLONL_CSC','COMP200',schemaSel)
96  addSchema(ilist,'ATLAS_COOLONL_RPC','COMP200',schemaSel)
97  addSchema(ilist,'ATLAS_COOLOFL_RPC','COMP200',schemaSel)
98  addSchema(ilist,'ATLAS_COOLONL_TGC','COMP200',schemaSel)
99  addSchema(ilist,'ATLAS_COOLOFL_GLOBAL','COMP200',schemaSel)
100  addSchema(ilist,'ATLAS_COOLONL_GLOBAL','COMP200',schemaSel)
101  addSchema(ilist,'ATLAS_COOLOFL_DCS','COMP200',schemaSel,3)
102  addSchema(ilist,'ATLAS_COOLONL_FWD','COMP200',schemaSel)
103  if (instanceSel=='CONDBR2' or instanceSel==''):
104  addSchema(ilist,'ATLAS_COOLOFL_INDET','CONDBR2',schemaSel)
105  addSchema(ilist,'ATLAS_COOLONL_INDET','CONDBR2',schemaSel)
106  addSchema(ilist,'ATLAS_COOLOFL_PIXEL','CONDBR2',schemaSel)
107  addSchema(ilist,'ATLAS_COOLONL_PIXEL','CONDBR2',schemaSel)
108  addSchema(ilist,'ATLAS_COOLOFL_SCT','CONDBR2',schemaSel)
109  addSchema(ilist,'ATLAS_COOLONL_SCT','CONDBR2',schemaSel)
110  addSchema(ilist,'ATLAS_COOLOFL_TRT','CONDBR2',schemaSel)
111  addSchema(ilist,'ATLAS_COOLONL_TRT','CONDBR2',schemaSel)
112  addSchema(ilist,'ATLAS_COOLOFL_LAR','CONDBR2',schemaSel)
113  addSchema(ilist,'ATLAS_COOLONL_LAR','CONDBR2',schemaSel)
114  addSchema(ilist,'ATLAS_COOLOFL_TILE','CONDBR2',schemaSel)
115  addSchema(ilist,'ATLAS_COOLONL_TILE','CONDBR2',schemaSel)
116  addSchema(ilist,'ATLAS_COOLOFL_CALO','CONDBR2',schemaSel)
117  addSchema(ilist,'ATLAS_COOLONL_CALO','CONDBR2',schemaSel)
118  addSchema(ilist,'ATLAS_COOLOFL_MDT','CONDBR2',schemaSel)
119  addSchema(ilist,'ATLAS_COOLONL_MDT','CONDBR2',schemaSel)
120  addSchema(ilist,'ATLAS_COOLOFL_MUONALIGN','CONDBR2',schemaSel)
121  addSchema(ilist,'ATLAS_COOLONL_MUONALIGN','CONDBR2',schemaSel)
122  addSchema(ilist,'ATLAS_COOLONL_TDAQ','CONDBR2',schemaSel,1)
123  addSchema(ilist,'ATLAS_COOLONL_TRIGGER','CONDBR2',schemaSel,3)
124  addSchema(ilist,'ATLAS_COOLOFL_TRIGGER','CONDBR2',schemaSel,3)
125  addSchema(ilist,'ATLAS_COOLOFL_CSC','CONDBR2',schemaSel)
126  addSchema(ilist,'ATLAS_COOLONL_CSC','CONDBR2',schemaSel)
127  addSchema(ilist,'ATLAS_COOLONL_RPC','CONDBR2',schemaSel)
128  addSchema(ilist,'ATLAS_COOLOFL_RPC','CONDBR2',schemaSel)
129  addSchema(ilist,'ATLAS_COOLONL_TGC','CONDBR2',schemaSel)
130  addSchema(ilist,'ATLAS_COOLOFL_GLOBAL','CONDBR2',schemaSel)
131  addSchema(ilist,'ATLAS_COOLONL_GLOBAL','CONDBR2',schemaSel)
132  addSchema(ilist,'ATLAS_COOLOFL_DCS','CONDBR2',schemaSel,3)
133  addSchema(ilist,'ATLAS_COOLONL_FWD','CONDBR2',schemaSel)
134  if (instanceSel=='CMCP200' or instanceSel==''):
135  addSchema(ilist,'ATLAS_COOLONL_INDET','CMCP200',schemaSel)
136  addSchema(ilist,'ATLAS_COOLONL_PIXEL','CMCP200',schemaSel)
137  addSchema(ilist,'ATLAS_COOLONL_SCT','CMCP200',schemaSel)
138  addSchema(ilist,'ATLAS_COOLONL_TRT','CMCP200',schemaSel)
139  addSchema(ilist,'ATLAS_COOLONL_LAR','CMCP200',schemaSel)
140  addSchema(ilist,'ATLAS_COOLONL_TILE','CMCP200',schemaSel)
141  addSchema(ilist,'ATLAS_COOLONL_CALO','CMCP200',schemaSel)
142  addSchema(ilist,'ATLAS_COOLONL_CSC','CMCP200',schemaSel)
143  addSchema(ilist,'ATLAS_COOLONL_GLOBAL','CMCP200',schemaSel)
144  if (instanceSel=='TMCP200' or instanceSel==''):
145  addSchema(ilist,'ATLAS_COOLONL_LAR','TMCP200',schemaSel)
146  addSchema(ilist,'ATLAS_COOLONL_CALO','TMCP200',schemaSel)
147  return ilist
148 
python.AtlCoolSchemaLib.instanceList
def instanceList(instanceSel="", schemaSel="")
Definition: AtlCoolSchemaLib.py:41
python.AtlCoolSchemaLib.addSchema
def addSchema(ilist, schema, instance, schemaSel, extra=0)
Definition: AtlCoolSchemaLib.py:149