Commits

Anonymous committed 48b0954

Adapt to root interface change in 5.28.

Comments (0)

Files changed (3)

+2011-01-28  scott snyder  <snyder@bnl.gov>
+
+	* Tagging RootUtils-00-00-54.
+	* src/ScatterH2.cxx, src/StdHackGenerator.cxx: Adapt to root
+	interface change in 5.28.
+
 2010-12-20  Sebastien Binet  <sebastien.binet@cern.ch>
 
 	* tagging RootUtils-00-00-53

src/ScatterH2.cxx

 
 
 /// Required for ROOT persistency.
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,28,0)
+void ScatterH2::ShowMembers(TMemberInspector &insp)
+{
+  // Inspect the data members of an object of class ScatterH2.
+  TClass *cl = ScatterH2::IsA();
+  insp.Inspect(cl, insp.GetParent(), "m_scatter", &m_scatter);
+  insp.Inspect(cl, insp.GetParent(), "m_shadestep", &m_shadestep);
+  insp.Inspect(cl, insp.GetParent(), "m_vals", &m_vals);
+  TH2F::ShowMembers(insp);
+}
+#else
 void ScatterH2::ShowMembers(TMemberInspector &insp, char *parent)
 {
   // Inspect the data members of an object of class ScatterH2.
   insp.Inspect(cl, parent, "m_vals", &m_vals);
   TH2F::ShowMembers(insp, parent);
 }
+#endif
 
 
 TClass* ScatterH2::Class()

src/StdHackGenerator.cxx

 }
 
 
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,28,0)
+void StdHackGenerator::ShowMembers (TMemberInspector& R__insp)
+{
+  TClassGenerator::ShowMembers (R__insp);
+}
+#else
 void StdHackGenerator::ShowMembers (TMemberInspector& R__insp, char* R__parent)
 {
   TClassGenerator::ShowMembers (R__insp, R__parent);
 }
+#endif
 
 
 void StdHackGenerator::Streamer (TBuffer& b)