check the 2D skim with Tracks StoreArray
Definition at line 24 of file trgcdct3dUnpackerConverter.py.
◆ event()
event function of the is2DSkim class
Definition at line 27 of file trgcdct3dUnpackerConverter.py.
28 """event function of the is2DSkim class"""
29 Tracks = ROOT.Belle2.PyStoreArray(
"Tracks")
30 TRGGRLT3DUnpackerStores = ROOT.Belle2.PyStoreArray(
"TRGCDCT3DUnpackerStores")
38 trackResult = track.getTrackFitResultWithClosestMass(ROOT.Belle2.Const.pion)
39 if trackResult.getPValue() > 0.1:
40 areTracksClean =
False
44 trackResult = track.getTrackFitResultWithClosestMass(ROOT.Belle2.Const.pion)
48 if (trackResult.getHitPatternCDC().getSLayerNHits(2 * iAx) > 3):
51 if (trackResult.getHitPatternCDC().getSLayerNHits(2 * iSt + 1) > 3):
59 for iClk, data
in enumerate(TRGGRLT3DUnpackerStores):
60 if (data.m_t2d_fnf != 0):
63 self.return_value(isTwoTrack
and is2D
and areTracksClean
and enoughHits)
The documentation for this class was generated from the following file: