Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wirecell.util.wires.db.Face Class Reference
Inheritance diagram for wirecell.util.wires.db.Face:
Base

Public Member Functions

def add_board (self, board, spot)
 
def add_plane (self, plane, layer)
 
def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 id = Column(Integer, primary_key=True)
 
 anodes
 
 anode_links
 
 boards
 
 board_links
 
 planes
 
 plane_links
 

Static Private Attributes

string __tablename__ = 'faces'
 

Detailed Description

An anode face contains boards and planes.

Definition at line 186 of file db.py.

Member Function Documentation

def wirecell.util.wires.db.Face.__repr__ (   self)

Definition at line 223 of file db.py.

223  def __repr__(self):
224  return "<Face: %s>" % self.id
225 
226 
def __repr__(self)
Definition: db.py:223
def wirecell.util.wires.db.Face.add_board (   self,
  board,
  spot 
)
Add a board at a spot into this face.

Definition at line 210 of file db.py.

210  def add_board(self, board, spot):
211  '''
212  Add a board at a spot into this face.
213  '''
214  return FaceBoardLink(face=self, board=board, spot=spot)
215 
def add_board(self, board, spot)
Definition: db.py:210
def wirecell.util.wires.db.Face.add_plane (   self,
  plane,
  layer 
)
Add a plane at a layer into this face.

Definition at line 216 of file db.py.

216  def add_plane(self, plane, layer):
217  '''
218  Add a plane at a layer into this face.
219  '''
220  return FacePlaneLink(face=self, board=board, layer=layer)
221 
def add_plane(self, plane, layer)
Definition: db.py:216

Member Data Documentation

string wirecell.util.wires.db.Face.__tablename__ = 'faces'
staticprivate

Definition at line 190 of file db.py.

wirecell.util.wires.db.Face.anode_links
static
Initial value:
1 = relationship('AnodeFaceLink',
2  back_populates = "face")

Definition at line 195 of file db.py.

wirecell.util.wires.db.Face.anodes
static
Initial value:
1 = relationship('Anode',
2  secondary='anode_face_links')

Definition at line 193 of file db.py.

wirecell.util.wires.db.Face.board_links
static
Initial value:
1 = relationship('FaceBoardLink',
2  order_by = 'FaceBoardLink.spot',
3  back_populates = 'face')

Definition at line 200 of file db.py.

wirecell.util.wires.db.Face.boards
static
Initial value:
1 = relationship('Board',
2  secondary = 'face_board_links')

Definition at line 198 of file db.py.

wirecell.util.wires.db.Face.id = Column(Integer, primary_key=True)
static

Definition at line 191 of file db.py.

wirecell.util.wires.db.Face.plane_links
static
Initial value:
1 = relationship('FacePlaneLink',
2  order_by = 'FacePlaneLink.layer',
3  back_populates = 'face')

Definition at line 206 of file db.py.

wirecell.util.wires.db.Face.planes
static
Initial value:
1 = relationship('Plane',
2  secondary = 'face_plane_links')

Definition at line 204 of file db.py.


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