Page History
Table of Contents | ||
---|---|---|
|
...
Package pyana
Module event
Class Event
Construction
Usage: evt = Event(dg)
...
dg
– datagram object of type_pdsdata.xtc.Dgram
Method seq()
Usage: s = evt.seq()
Returns _pdsdata.xtc.Seq
object, equivalent to dg.seq
Method getTime()
Usage: t = evt.getTime()
Returns _pdsdata.xtc.ClockTime
object, equivalent to dg.seq.clock()
Method find()
Usage: objects = evt.find(...)
...
The parameters address
and any of the detector
, detId
, device
, devId
are incompatible, specify only one or another.
Method findFirst()
Usage: object = evt.findFirst(...)
Accepts the same set of arguments as find()
methods but instead of list of objects returns fist object found. If no object is satisfying all selection criteria then None
is returned.
Method getAcqConfig()
Usage: acqConfig = evt.getAcqConfig(address)
...
Ordinary configuration objects are contained in a Configure
type datagrams only. For client code that means that this method can be used in beginjob()
or beginrun()
methods only. Note also that configuration objects are stored in the Pyana environment and preferred way to access configuration information is through the environment. This makes this method of little utility to end users.
Method getOpal1kConfig()
Usage: acqConfig = evt.getOpal1kConfig(address)
...
Same caveats apply as for getAcqConfig()
method.
Method getAcqValue()
Usage: acqData = evt.getAcqValue(address, channel, env)
...
Channel number is an integer number, total number of channels can be extracted from the Acqiris configuration object.
Method getPnCcdValue()
Usage: frame = evt.getPnCcdValue(address, env)
...
- address –
xtc.DetInfo
object or an address string (see User Manual) - env – environment object containing pnCCD configuration object
Method getFeeGasDet()
Usage: array = evt.getFeeGasDet()
Wiki Markup |
---|
Returns the list of 4 numbers {{\[f_11_ENRC, f_12_ENRC, f_21_ENRC, f_22_ENRC\]}} |
Method getPhaseCavity()
Usage: obj = evt.getPhaseCavity()
Returns data object of type bld.BldDataPhaseCavity
.
Method getEBeam()
Usage: obj = evt.getEBeam()
...