@@ -646,6 +646,10 @@ type tntuple struct {
646
646
nvars int
647
647
}
648
648
649
+ func (* tntuple ) RVersion () int16 {
650
+ return rvers .Ntuple
651
+ }
652
+
649
653
func (* tntuple ) Class () string {
650
654
return "TNtuple"
651
655
}
@@ -668,6 +672,37 @@ func (nt *tntuple) UnmarshalROOT(r *rbytes.RBuffer) error {
668
672
return r .Err ()
669
673
}
670
674
675
+ type tntupleD struct {
676
+ ttree
677
+ nvars int
678
+ }
679
+
680
+ func (* tntupleD ) RVersion () int16 {
681
+ return rvers .NtupleD
682
+ }
683
+
684
+ func (* tntupleD ) Class () string {
685
+ return "TNtupleD"
686
+ }
687
+
688
+ func (nt * tntupleD ) UnmarshalROOT (r * rbytes.RBuffer ) error {
689
+ if r .Err () != nil {
690
+ return r .Err ()
691
+ }
692
+
693
+ beg := r .Pos ()
694
+ /*vers*/ _ , pos , bcnt := r .ReadVersion (nt .Class ())
695
+
696
+ if err := nt .ttree .UnmarshalROOT (r ); err != nil {
697
+ return err
698
+ }
699
+
700
+ nt .nvars = int (r .ReadI32 ())
701
+
702
+ r .CheckByteCount (pos , bcnt , beg , nt .Class ())
703
+ return r .Err ()
704
+ }
705
+
671
706
type tioFeatures uint8
672
707
673
708
func (* tioFeatures ) Class () string { return "TIOFeatures" }
@@ -739,6 +774,13 @@ func init() {
739
774
}
740
775
rtypes .Factory .Add ("TNtuple" , f )
741
776
}
777
+ {
778
+ f := func () reflect.Value {
779
+ o := & tntupleD {}
780
+ return reflect .ValueOf (o )
781
+ }
782
+ rtypes .Factory .Add ("TNtupleD" , f )
783
+ }
742
784
}
743
785
744
786
var (
@@ -753,6 +795,11 @@ var (
753
795
_ Tree = (* tntuple )(nil )
754
796
_ rbytes.Unmarshaler = (* tntuple )(nil )
755
797
798
+ _ root.Object = (* tntupleD )(nil )
799
+ _ root.Named = (* tntupleD )(nil )
800
+ _ Tree = (* tntupleD )(nil )
801
+ _ rbytes.Unmarshaler = (* tntupleD )(nil )
802
+
756
803
_ root.Object = (* tioFeatures )(nil )
757
804
_ rbytes.Marshaler = (* tioFeatures )(nil )
758
805
_ rbytes.Unmarshaler = (* tioFeatures )(nil )
0 commit comments