Public Member Functions | Public Attributes | List of all members
wirecell.util.wires.apa.Plex Class Reference
Inheritance diagram for wirecell.util.wires.apa.Plex:

Public Member Functions

def __init__ (self, G, P)
 
def channel_plane (self, chanidents)
 

Public Attributes

 G
 
 P
 

Detailed Description

Provide an instance of a Plex that provides some convenient
mappings on the connection graph.

This assumes the given graph was created using conventions
expressed in parent module.

The term "Plex" for this role was invented by MINOS.

Definition at line 453 of file apa.py.

Constructor & Destructor Documentation

def wirecell.util.wires.apa.Plex.__init__ (   self,
  G,
  P 
)

Definition at line 464 of file apa.py.

464  def __init__(self, G, P):
465  self.G = G
466  self.P = P
467 
def __init__(self, G, P)
Definition: apa.py:464

Member Function Documentation

def wirecell.util.wires.apa.Plex.channel_plane (   self,
  chanidents 
)
Return a generator of plane numbers, one for each chanidents.

Definition at line 468 of file apa.py.

468  def channel_plane(self, chanidents):
469  '''
470  Return a generator of plane numbers, one for each chanidents.
471  '''
472  for chid in chanidents:
473  iconn, islot, ichip, iaddr = channel_unhash(chid)
474  yield chip_channel_layer[ichip, iaddr]
475 
476 
def channel_plane(self, chanidents)
Definition: apa.py:468
def channel_unhash(chident)
Definition: apa.py:437

Member Data Documentation

wirecell.util.wires.apa.Plex.G

Definition at line 465 of file apa.py.

wirecell.util.wires.apa.Plex.P

Definition at line 466 of file apa.py.


The documentation for this class was generated from the following file: