99def apply_decorators() -> None:
100 """Apply custom __repr__ methods to ROOT classes.
101
102 Call this function after ROOT libraries are fully loaded to enable
103 enhanced string representations for ROOT objects.
104 """
105 ROOT.FairMCPoint.__repr__ = MCPointPrintOut
106 ROOT.ShipMCTrack.__repr__ = MCTrackPrintOut
107 ROOT.genfit.Track.__repr__ = FitTrackPrintOut
108 ROOT.TClonesArray.Dump = Dump
109 ROOT.TVector3.__repr__ = TVector3PrintOut
110 ROOT.TParticle.__repr__ = TParticlePrintOut
111 ROOT.ShipParticle.__repr__ = ShipParticlePrintOut
112 ROOT.TEvePointSet.__repr__ = TEvePointSetPrintOut
113 ROOT.vetoHit.__repr__ = vetoHitPrintOut
114 ROOT.TimeDetHit.__repr__ = TimeDetHitPrintOut
115 ROOT.TLorentzVector.__repr__ = TLorentzVectorPrintOut