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

Public Member Functions

def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 detector_id = Column(Integer, ForeignKey('detectors.id'), primary_key = True)
 
 anode_id = Column(Integer, ForeignKey('anodes.id'), primary_key = True)
 
 detector = relationship('Detector', back_populates='anode_links')
 
 anode = relationship('Anode', back_populates='detector_links')
 
 row = Column(Integer)
 
 column = Column(Integer)
 
 layer = Column(Integer)
 

Static Private Attributes

string __tablename__ = 'detector_anode_links'
 

Detailed Description

A join table for detector-anode association

Definition at line 651 of file db.py.

Member Function Documentation

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

Definition at line 672 of file db.py.

672  def __repr__(self):
673  return "<DetectorAnodeLink apanum:%s [%s %s]> " % \
674  (self.apanum, self.detecotr, self.anode)
675 

Member Data Documentation

string wirecell.util.wires.db.DetectorAnodeLink.__tablename__ = 'detector_anode_links'
staticprivate

Definition at line 655 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.anode = relationship('Anode', back_populates='detector_links')
static

Definition at line 661 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.anode_id = Column(Integer, ForeignKey('anodes.id'), primary_key = True)
static

Definition at line 658 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.column = Column(Integer)
static

Definition at line 666 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.detector = relationship('Detector', back_populates='anode_links')
static

Definition at line 660 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.detector_id = Column(Integer, ForeignKey('detectors.id'), primary_key = True)
static

Definition at line 657 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.layer = Column(Integer)
static

Definition at line 670 of file db.py.

wirecell.util.wires.db.DetectorAnodeLink.row = Column(Integer)
static

Definition at line 664 of file db.py.


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