Belle II Software development
SearchForHits Class Reference
Inheritance diagram for SearchForHits:

Public Member Functions

def event (self)
 

Detailed Description

Module used to define the position and direction of the 'virtual' bremsstrahlung photon
generated by the particle gun
Not used at the moment (only for fit location)

Definition at line 57 of file eclTrackBremFinderTest.py.

Member Function Documentation

◆ event()

def event (   self)
Process event

Definition at line 64 of file eclTrackBremFinderTest.py.

64 def event(self):
65 """Process event"""
66
67 reco_tracks = Belle2.PyStoreArray("RecoTracks")
68
69 for recoTrack in reco_tracks:
70 # hit = recoTrack.getMeasuredStateOnPlaneFromFirstHit()
71 print("!!!!!!!!!!!!!!!!!!!!!!!!!Position!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
72 hit = recoTrack.getMeasuredStateOnPlaneClosestTo(TVector3(10, 5, -2))
73 hit_pos = hit.getPos()
74 print(hit_pos.X())
75 print(hit_pos.Y())
76 print(hit_pos.Z())
77 print(hit.getMom().Phi())
78 print(hit.getMom().Theta())
79
80
81# to run the framework the used modules need to be registered
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

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