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

Public Member Functions

def add_conductor (self, conductor, spot, layer)
 
def add_chip (self, chip, spot)
 
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)
 
 wibs
 
 wib_links
 
 faces
 
 face_links
 
 conductors
 
 conductor_links
 
 chips
 
 chip_links
 

Static Private Attributes

string __tablename__ = "boards"
 

Detailed Description

An (electronics wire) board sits on top (or bottom) of an APA
frame and holds 8 pairs of FE/ADC ASIC chips and connects to three
rows of 40, 40 and 48 conductors.

Definition at line 312 of file db.py.

Member Function Documentation

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

Definition at line 357 of file db.py.

357  def __repr__(self):
358  return "<Board: %s>" % self.id
359 
360 
def wirecell.util.wires.db.Board.add_chip (   self,
  chip,
  spot 
)
Add a chip to this board at the given spot.

Definition at line 351 of file db.py.

351  def add_chip(self, chip, spot):
352  '''
353  Add a chip to this board at the given spot.
354  '''
355  return BoardChipLink(board=self, chip=chip, spot=spot)
356 
def add_chip(self, chip, spot)
Definition: db.py:351
def wirecell.util.wires.db.Board.add_conductor (   self,
  conductor,
  spot,
  layer 
)
Add a conductor to this board at the given spot of a layer.

Definition at line 345 of file db.py.

345  def add_conductor(self, conductor, spot, layer):
346  '''
347  Add a conductor to this board at the given spot of a layer.
348  '''
349  return BoardConductorLink(board=self, conductor=conductor, spot=spot, layer=layer)
350 
def add_conductor(self, conductor, spot, layer)
Definition: db.py:345

Member Data Documentation

string wirecell.util.wires.db.Board.__tablename__ = "boards"
staticprivate

Definition at line 318 of file db.py.

wirecell.util.wires.db.Board.chip_links
static
Initial value:
1 = relationship("BoardChipLink",
2  order_by = 'BoardChipLink.spot',
3  back_populates = "board")

Definition at line 341 of file db.py.

wirecell.util.wires.db.Board.chips
static
Initial value:
1 = relationship("Chip",
2  secondary = "board_chip_links")

Definition at line 339 of file db.py.

wirecell.util.wires.db.Board.conductor_links
static
Initial value:
1 = relationship("BoardConductorLink",
2  order_by = 'BoardConductorLink.layer, '
3  'BoardConductorLink.spot',
4  back_populates = "board")

Definition at line 335 of file db.py.

wirecell.util.wires.db.Board.conductors
static
Initial value:
1 = relationship("Conductor",
2  secondary = "board_conductor_links")

Definition at line 333 of file db.py.

wirecell.util.wires.db.Board.face_links
static
Initial value:
1 = relationship("FaceBoardLink",
2  back_populates = "board")

Definition at line 329 of file db.py.

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

Definition at line 327 of file db.py.

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

Definition at line 319 of file db.py.

wirecell.util.wires.db.Board.wib_links
static
Initial value:
1 = relationship("WibBoardLink",
2  back_populates = "board")

Definition at line 324 of file db.py.

wirecell.util.wires.db.Board.wibs
static
Initial value:
1 = relationship("Wib",
2  secondary = "wib_board_links")

Definition at line 322 of file db.py.


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