/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
DybDbi::test_svc_level::Channels Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 vrec
 svc
 site
 sim
 subsite
 boards
 connectors

Detailed Description

Definition at line 22 of file test_svc_level.py.


Constructor & Destructor Documentation

def DybDbi::test_svc_level::Channels::__init__ (   self,
  vrec,
  svc,
  boards = range(6,18,
  connectors = range(1,17 
)
:param vrec: validity record, used to extract the 
:param svc: ServiceMode instance used to invoke the cable service, which includes the timestamp 

Its ugly that need both the vrec and svc

    ctx = svc.context()
    ctx.site
    ctx.sim

Definition at line 23 of file test_svc_level.py.

00024                                                                                :
00025          """
00026          :param vrec: validity record, used to extract the 
00027          :param svc: ServiceMode instance used to invoke the cable service, which includes the timestamp 
00028 
00029          Its ugly that need both the vrec and svc
00030 
00031              ctx = svc.context()
00032              ctx.site
00033              ctx.sim
00034 
00035          """ 
00036          self.vrec = vrec
00037          self.svc = svc
00038 
00039          ctx = svc.context()
00040          assert vrec.contextrange.sitemask == ctx.site
00041 
00042          self.site = vrec.contextrange.sitemask
00043          self.sim  = vrec.contextrange.simmask
00044          self.subsite = vrec.subsite
00045          self.boards = boards 
00046          self.connectors = connectors 


Member Function Documentation

def DybDbi::test_svc_level::Channels::__call__ (   self)

Definition at line 47 of file test_svc_level.py.

00048                       :
00049         for boa in self.boards:
00050             for con in self.connectors:
00051                 channelId = FeeChannelId(boa,con,self.site,self.subsite)
00052                 if self.subsite in (DetectorId.kOWS, DetectorId.kIWS):
00053                     pmtId = cableSvc.poolPmtSensor(channelId,self.svc)
00054                 else:
00055                     pmtId = cableSvc.adPmtSensor(channelId,self.svc)
00056                 if pmtId.bogus():
00057                     continue
00058                 yield boa, con, channelId, pmtId


Member Data Documentation

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.

Definition at line 33 of file test_svc_level.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:57:24 for DybDbi by doxygen 1.7.4