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

Public Member Functions

def add_channel (self, channel, address)
 
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)
 
 boards
 
 board_links
 
 channels
 
 channel_links
 

Static Private Attributes

string __tablename__ = "chips"
 

Detailed Description

A chip is a pair of FE/ADC asics with 16 channels

Definition at line 361 of file db.py.

Member Function Documentation

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

Definition at line 385 of file db.py.

385  def __repr__(self):
386  return "<Chip: %s>" % self.id
def __repr__(self)
Definition: db.py:385
def wirecell.util.wires.db.Chip.add_channel (   self,
  channel,
  address 
)
Add a channel to this chip at the given address.

Definition at line 379 of file db.py.

379  def add_channel(self, channel, address):
380  '''
381  Add a channel to this chip at the given address.
382  '''
383  return ChipChannelLink(chip=self, channel=channel, address=address)
384 
def add_channel(self, channel, address)
Definition: db.py:379

Member Data Documentation

string wirecell.util.wires.db.Chip.__tablename__ = "chips"
staticprivate

Definition at line 365 of file db.py.

wirecell.util.wires.db.Chip.board_links
static
Initial value:
1 = relationship("BoardChipLink",
2  back_populates = "chip")

Definition at line 370 of file db.py.

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

Definition at line 368 of file db.py.

wirecell.util.wires.db.Chip.channel_links
static
Initial value:
1 = relationship("ChipChannelLink",
2  order_by = 'ChipChannelLink.address',
3  back_populates = "chip")

Definition at line 375 of file db.py.

wirecell.util.wires.db.Chip.channels
static
Initial value:
1 = relationship("Channel",
2  secondary = "chip_channel_links")

Definition at line 373 of file db.py.

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

Definition at line 366 of file db.py.


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