Classes | |
| class | Point |
| class | Ray |
| class | Rectangle |
Functions | |
| def | wrap_one (start_ray, rect) |
| def | wrapped_from_top (offset, angle, pitch, rect) |
| def | wrapped_from_top_oneside (offset, angle, pitch, rect) |
| def | onesided_wrapped (params=protodune_params) |
| def | celltree_geometry () |
Variables | |
| microboone_params | |
| protodune_params | |
Wires and Channels
| def wirecell.util.wires.generator.celltree_geometry | ( | ) |
Spit out contents of a file like: https://github.com/BNLIF/wire-cell-celltree/blob/master/geometry/ChannelWireGeometry_v2.txt columns of: # channel plane wire sx sy sz ex ey ez
Definition at line 411 of file generator.py.
| def wirecell.util.wires.generator.onesided_wrapped | ( | params = protodune_params | ) |
Generate a schema.store of wires for a onesided but wrapped face. This does not populate electronics.
Definition at line 341 of file generator.py.
| def wirecell.util.wires.generator.wrap_one | ( | start_ray, | |
| rect | |||
| ) |
| def wirecell.util.wires.generator.wrapped_from_top | ( | offset, | |
| angle, | |||
| pitch, | |||
| rect | |||
| ) |
Wrap a rectangle with a plane of wires starting along the top of
the given rectangle and starting at given offset from upper-left
corner of the rectangle and with angle measured from the vertical
to the wire direction. Positive angle means the wire starts going
down-left from the top of the rectangle.
Return list of "wires" (wire segments) as tuple:
- return :: (along_pitch, side, channel, seg, p1, p2)
- channel :: counts the attachment point at the top of the
rectangle from left to right starting from 0
- side :: identify which side the wire is on, (this value is
redundant with "seg").
- seg :: the segment number, ie, how many times the wire's
conductor has wrapped around the rectangle.
- p1 and p2 :: end points of wire assuming the original
rectangle is centered on the origin.
Definition at line 188 of file generator.py.
| def wirecell.util.wires.generator.wrapped_from_top_oneside | ( | offset, | |
| angle, | |||
| pitch, | |||
| rect | |||
| ) |
Wrap a rectangle with a plane of wires starting along the top of
the given rectangle and starting at given offset from upper-left
corner of the rectangle and with angle measured from the vertical
to the wire direction. Positive angle means the wire starts going
down-left from the top of the rectangle.
Return list of "wires" (wire segments) as tuple:
- return :: (along_pitch, side, channel, seg, p1, p2)
- channel :: counts the attachment point at the top of the
rectangle from left to right starting from 0
- side :: identify which side the wire is on, (this value is
redundant with "seg").
- seg :: the segment number, ie, how many times the wire's
conductor has wrapped around the rectangle.
- p1 and p2 :: end points of wire assuming the original
rectangle is centered on the origin.
Definition at line 243 of file generator.py.
| wirecell.util.wires.generator.microboone_params |
Definition at line 313 of file generator.py.
| wirecell.util.wires.generator.protodune_params |
Definition at line 327 of file generator.py.
1.8.11