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

Public Member Functions

def add_face (self, face, side)
 
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)
 
 detectors
 
 detector_links
 
 faces
 
 face_links
 

Static Private Attributes

string __tablename__ = 'anodes'
 

Detailed Description

An anode (APA, anode plane assembly) is in a detector and has two faces.

Definition at line 153 of file db.py.

Member Function Documentation

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

Definition at line 182 of file db.py.

182  def __repr__(self):
183  return "<Anode: %s>" % self.id
184 
185 
def wirecell.util.wires.db.Anode.add_face (   self,
  face,
  side 
)
Add a face to this anode on the given side.

Definition at line 174 of file db.py.

174  def add_face(self, face, side):
175  '''
176  Add a face to this anode on the given side.
177  '''
178  return AnodeFaceLink(anode=self, face=face, side=side)
179 
def add_face(self, face, side)
Definition: db.py:174

Member Data Documentation

string wirecell.util.wires.db.Anode.__tablename__ = 'anodes'
staticprivate

Definition at line 157 of file db.py.

wirecell.util.wires.db.Anode.detector_links
static
Initial value:
1 = relationship('DetectorAnodeLink',
2  back_populates = "anode")

Definition at line 165 of file db.py.

wirecell.util.wires.db.Anode.detectors
static
Initial value:
1 = relationship('Detector',
2  secondary='detector_anode_links')

Definition at line 163 of file db.py.

wirecell.util.wires.db.Anode.face_links
static
Initial value:
1 = relationship('AnodeFaceLink',
2  order_by='AnodeFaceLink.side',
3  back_populates = 'anode')

Definition at line 170 of file db.py.

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

Definition at line 168 of file db.py.

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

Definition at line 158 of file db.py.


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