11 from ctypes
import POINTER
12 from SQLamarr
import clib, c_TransformerPtr
16 clib.new_PVFinder.argtypes = (ctypes.c_void_p, ctypes.c_int)
17 clib.new_PVFinder.restype = c_TransformerPtr
20 """Identify the primary vertex of each GenEvent (collision process)
22 Python binding of `SQLamarr::PVFinder`.
24 def __init__ (self, db: SQLite3DB, signal_status_code: int = 889):
26 Acquires the reference to an open connection to the DB.
28 @param db: SQLite3DB reference to an open connection
29 @param signal_status_code: HepMC status code identifying a signal canidate
31 self.
_self_self = clib.new_PVFinder(db.get(), signal_status_code)
34 """@private: Release the bound class instance"""
35 clib.del_Transformer(self.
_self_self)
38 def raw_pointer(self):
39 """@private: Return the raw pointer to the algorithm."""
40 return self.
_self_self
Identify the primary vertex of each GenEvent (collision process)
def __init__(self, SQLite3DB db, int signal_status_code=889)
Acquires the reference to an open connection to the DB.