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

Public Member Functions

def add_wire (self, wire, 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)
 
 faces
 
 face_links
 
 wires
 
 wire_links
 

Static Private Attributes

string __tablename__ = 'planes'
 

Detailed Description

A plane is in a face and has wires.

Definition at line 227 of file db.py.

Member Function Documentation

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

Definition at line 253 of file db.py.

253  def __repr__(self):
254  return "<Plane: %s>" % self.id
255 
def wirecell.util.wires.db.Plane.add_wire (   self,
  wire,
  spot 
)
Add a wire in a particular spot in the plane.

Definition at line 245 of file db.py.

245  def add_wire(self, wire, spot):
246  '''
247  Add a wire in a particular spot in the plane.
248  '''
249  return PlaneWireLink(plane=self, wire=wire, spot=spot)
250 
def add_wire(self, wire, spot)
Definition: db.py:245

Member Data Documentation

string wirecell.util.wires.db.Plane.__tablename__ = 'planes'
staticprivate

Definition at line 231 of file db.py.

wirecell.util.wires.db.Plane.face_links
static
Initial value:
1 = relationship('FacePlaneLink',
2  back_populates = "plane")

Definition at line 236 of file db.py.

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

Definition at line 234 of file db.py.

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

Definition at line 232 of file db.py.

wirecell.util.wires.db.Plane.wire_links
static
Initial value:
1 = relationship('PlaneWireLink',
2  order_by = 'PlaneWireLink.spot',
3  back_populates = 'plane')

Definition at line 241 of file db.py.

wirecell.util.wires.db.Plane.wires
static
Initial value:
1 = relationship('Wire',
2  secondary = 'plane_wire_links')

Definition at line 239 of file db.py.


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