/search.css" rel="stylesheet" type="text/css"/> /search.js">
Functions | |
def | volumes |
def | vec2str |
def | v2v |
def | d2d |
Variables | |
string | site_de_pat = '/dd/Structure/DayaBay/%(site)s-rock' |
string | det_de_pat = '/dd/Structure/%(det)s/%(site)s-%(vol)s' |
tuple | zero = gbl.ROOT.Math.XYZPoint(0,0,0) |
tuple | xaxis = gbl.ROOT.Math.XYZPoint(1,0,0) |
tuple | yaxis = gbl.ROOT.Math.XYZPoint(0,1,0) |
tuple | zaxis = gbl.ROOT.Math.XYZPoint(0,0,1) |
last_site = None | |
site_name = site_de_pat%d | |
det_name = det_de_pat%d | |
tuple | site_de = gaudiutil.deify(site_name) |
tuple | det_de = gaudiutil.deify(det_name) |
tuple | site_short_name = os.path.split(site_name) |
tuple | det_short_name = os.path.split(det_name) |
tuple | lorig = v2v(zero,det_de,site_de) |
tuple | lxaxis = d2d(zero,xaxis,det_de,site_de) |
tuple | lyaxis = d2d(zero,yaxis,det_de,site_de) |
tuple | lzaxis = d2d(zero,zaxis,det_de,site_de) |
def python::XmlDetDescChecks::coordsysdump::volumes | ( | ) |
Iterate over possible volumes. for v in volumes(): ...
Definition at line 19 of file coordsysdump.py.
00020 : 00021 ''' 00022 Iterate over possible volumes. 00023 00024 for v in volumes(): ... 00025 ''' 00026 for site in ['db', 'la', 'far']: 00027 det = 'Pool' 00028 for vol in ['iws','ows']: 00029 yield locals() 00030 continue # vol 00031 00032 numads = 2 00033 if site is 'far': numads = 4 00034 det = 'AD' 00035 for adnum in range(numads): 00036 adnum += 1 00037 for vol in ['%s%d'%(x,adnum) for x in ['ade','sst','oil','lso','gds']]: 00038 yield locals() 00039 continue # vol 00040 continue # adnum 00041 00042 continue # site 00043 raise StopIteration
def python::XmlDetDescChecks::coordsysdump::vec2str | ( | vec, | |
unit_conv = 1 |
|||
) |
Definition at line 44 of file coordsysdump.py.
def python::XmlDetDescChecks::coordsysdump::v2v | ( | vec, | |
de1, | |||
de2 | |||
) |
Definition at line 48 of file coordsysdump.py.
def python::XmlDetDescChecks::coordsysdump::d2d | ( | vec1, | |
vec2, | |||
de1, | |||
de2 | |||
) |
Definition at line 53 of file coordsysdump.py.
string python::XmlDetDescChecks::coordsysdump::site_de_pat = '/dd/Structure/DayaBay/%(site)s-rock' |
Definition at line 15 of file coordsysdump.py.
string python::XmlDetDescChecks::coordsysdump::det_de_pat = '/dd/Structure/%(det)s/%(site)s-%(vol)s' |
Definition at line 16 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::zero = gbl.ROOT.Math.XYZPoint(0,0,0) |
Definition at line 61 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::xaxis = gbl.ROOT.Math.XYZPoint(1,0,0) |
Definition at line 62 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::yaxis = gbl.ROOT.Math.XYZPoint(0,1,0) |
Definition at line 63 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::zaxis = gbl.ROOT.Math.XYZPoint(0,0,1) |
Definition at line 64 of file coordsysdump.py.
Definition at line 69 of file coordsysdump.py.
Definition at line 71 of file coordsysdump.py.
Definition at line 72 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::site_de = gaudiutil.deify(site_name) |
Definition at line 73 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::det_de = gaudiutil.deify(det_name) |
Definition at line 74 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::site_short_name = os.path.split(site_name) |
Definition at line 76 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::det_short_name = os.path.split(det_name) |
Definition at line 77 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::lorig = v2v(zero,det_de,site_de) |
Definition at line 84 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::lxaxis = d2d(zero,xaxis,det_de,site_de) |
Definition at line 85 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::lyaxis = d2d(zero,yaxis,det_de,site_de) |
Definition at line 86 of file coordsysdump.py.
tuple python::XmlDetDescChecks::coordsysdump::lzaxis = d2d(zero,zaxis,det_de,site_de) |
Definition at line 87 of file coordsysdump.py.