Test to read relations in the input files.
 
Definition at line 31 of file seqroot_input.py.
◆ event()
reimplementation of Module::event().
prints PXD true and simhit indices, using relations
 
Definition at line 35 of file seqroot_input.py.
   35    def event(self):
   36        """reimplementation of Module::event().
   37 
   38        prints PXD true and simhit indices, using relations
   39        """
   40 
   42        for truehit in truehits:
   43            relations = truehit.getRelationsTo("PXDSimHits")
   44            print(f"truehit {truehit.getArrayIndex()} => hits ", end="")
   45            for hit in relations:
   46                print(hit.getArrayIndex(), end=", ")
   47            print()
   48 
   49 
   50
   51
   52 
A (simplified) python wrapper for StoreArray.
 
 
The documentation for this class was generated from the following file: