File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212#include " TPCBase/CalArray.h"
1313#include < TMemberStreamer.h>
1414#include < TBuffer.h>
15- #include < TClass.h>
16- #include < TError.h>
1715#include < DataFormatsTPC/Defs.h>
1816#include < iostream>
19- #include < cstdlib>
20- #include < vector>
2117
2218// to enable assert statements
2319#ifdef NDEBUG
@@ -75,29 +71,9 @@ namespace ROOT
7571{
7672static __attribute__ ((used)) int _R__dummyStreamer_3 =
7773 ([]() {
78- if (getenv (" TPC_PADFLAGS_STREAMER_OFF" )) {
79- return 0 ;
74+ if (! getenv (" TPC_PADFLAGS_STREAMER_OFF" )) {
75+ ROOT::GenerateInitInstance ((o2::tpc::CalArray<o2::tpc::PadFlags> *) nullptr )-> AdoptMemberStreamer ( " mData " , new TMemberStreamer (MemberVectorPadFlagsStreamer)) ;
8076 }
81-
82- auto cl = TClass::GetClass (
83- " o2::tpc::CalArray<o2::tpc::PadFlags>" ,
84- true , // try to autoload dictionary
85- true // silent
86- );
87-
88- if (!cl) {
89- ::Warning (" TPCFlagsMemberCustomStreamer" ,
90- " could not find TClass for "
91- " o2::tpc::CalArray<o2::tpc::PadFlags>; "
92- " PadFlags member streamer was not registered" );
93- return 0 ;
94- }
95-
96- cl->AdoptMemberStreamer (
97- " mData" ,
98- new TMemberStreamer (MemberVectorPadFlagsStreamer)
99- );
100-
10177 return 0 ;
10278 })();
10379} // namespace ROOT
You can’t perform that action at this time.
0 commit comments