check the 2D skim with Tracks StoreArray
Definition at line 15 of file trgcdct3dUnpackerConverter.py.
◆ event()
event function of the is2DSkim class
Definition at line 18 of file trgcdct3dUnpackerConverter.py.
19 """event function of the is2DSkim class"""
20 Tracks = ROOT.Belle2.PyStoreArray(
"Tracks")
21 TRGGRLT3DUnpackerStores = ROOT.Belle2.PyStoreArray(
"TRGCDCT3DUnpackerStores")
29 trackResult = track.getTrackFitResultWithClosestMass(ROOT.Belle2.Const.pion)
30 if trackResult.getPValue() > 0.1:
31 areTracksClean =
False
35 trackResult = track.getTrackFitResultWithClosestMass(ROOT.Belle2.Const.pion)
39 if (trackResult.getHitPatternCDC().getSLayerNHits(2 * iAx) > 3):
42 if (trackResult.getHitPatternCDC().getSLayerNHits(2 * iSt + 1) > 3):
50 for iClk, data
in enumerate(TRGGRLT3DUnpackerStores):
51 if (data.m_t2d_fnf != 0):
54 self.return_value(isTwoTrack
and is2D
and areTracksClean
and enoughHits)
The documentation for this class was generated from the following file: