87 x, y, z = c_double(), c_double(), c_double()
90 txt =
"<ROOT.TEvePointSet object>"
91 for n
in range(self.GetN()):
92 self.GetPoint(n, x, y, z)
93 txt += f
"{n:6d} {x.value:7.1f}, {y.value:7.1f}, {z.value:9.1f} x, y, z cm\n"
99 """Apply custom __repr__ methods to ROOT classes.
101 Call this function after ROOT libraries are fully loaded to enable
102 enhanced string representations for ROOT objects.
106 ROOT.FairMCPoint.__repr__ = MCPointPrintOut
107 ROOT.ShipMCTrack.__repr__ = MCTrackPrintOut
108 ROOT.genfit.Track.__repr__ = FitTrackPrintOut
109 ROOT.TClonesArray.Dump = Dump
110 ROOT.TVector3.__repr__ = TVector3PrintOut
111 ROOT.TParticle.__repr__ = TParticlePrintOut
112 ROOT.ShipParticle.__repr__ = ShipParticlePrintOut
113 ROOT.TEvePointSet.__repr__ = TEvePointSetPrintOut
114 ROOT.vetoHit.__repr__ = vetoHitPrintOut
115 ROOT.TimeDetHit.__repr__ = TimeDetHitPrintOut
116 ROOT.TLorentzVector.__repr__ = TLorentzVectorPrintOut