Provide a special IO ctor for the parameter singleton classes
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Oct 2007 18:29:47 +0000 (18:29 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Oct 2007 18:29:47 +0000 (18:29 +0000)
TRD/AliTRDCommonParam.cxx
TRD/AliTRDCommonParam.h
TRD/AliTRDfeeParam.cxx
TRD/AliTRDfeeParam.h
TRD/TRDbaseLinkDef.h

index ed377a6..96fa80b 100644 (file)
@@ -90,6 +90,18 @@ AliTRDCommonParam::AliTRDCommonParam()
 }
 
 //_____________________________________________________________________________
+AliTRDCommonParam::AliTRDCommonParam(TRootIoCtor *)
+  :TObject()
+  ,fExBOn(0)
+  ,fSamplingFrequency(0.0)
+{
+  //
+  // IO constructor
+  //
+
+}
+
+//_____________________________________________________________________________
 void AliTRDCommonParam::Init()
 {
   //
index c29c23b..d22a0a2 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "TObject.h"
 
+class TRootIoCtor;
+
 class AliTRDpadPlane;
 
 class AliTRDCommonParam : public TObject
@@ -22,6 +24,7 @@ class AliTRDCommonParam : public TObject
   
     enum { kNplan = 6, kNcham = 5, kNsect = 18, kNdet = 540 };
     
+    AliTRDCommonParam(TRootIoCtor *);
     AliTRDCommonParam(const AliTRDCommonParam &p);   
     AliTRDCommonParam &operator=(const AliTRDCommonParam &p); 
     virtual        ~AliTRDCommonParam();
index 99e0211..b84c567 100644 (file)
@@ -37,6 +37,7 @@ are fully debugged.
 #include <TMath.h>
 
 #include "AliLog.h"
+
 #include "AliTRDfeeParam.h"
 #include "AliTRDgeometry.h"
 #include "AliTRDCommonParam.h"
@@ -116,6 +117,27 @@ AliTRDfeeParam::AliTRDfeeParam()
 }
 
 //_____________________________________________________________________________
+AliTRDfeeParam::AliTRDfeeParam(TRootIoCtor *)
+  :TObject()
+  ,fCP(0)
+  ,fTFr1(0)
+  ,fTFr2(0)
+  ,fTFc1(0)
+  ,fTFc2(0)
+  ,fEBsglIndThr(0)
+  ,fEBsumIndThr(0)
+  ,fEBindLUT(0)
+  ,fEBignoreNeighbour(0)
+  ,fRAWversion(0)
+  ,fRAWstoreRaw(0)
+{
+  //
+  // IO constructor
+  //
+
+}
+
+//_____________________________________________________________________________
 AliTRDfeeParam::AliTRDfeeParam(const AliTRDfeeParam &p)
   :TObject(p)
   //  ,fGeo(p.fGeo)
index 4d8e07d..145ba53 100644 (file)
@@ -15,6 +15,8 @@
 
 #include <TObject.h>
 
+class TRootIoCtor;
+
 class AliTRDCommonParam;
 class AliTRDpadPlane;
 class AliTRDgeometry;
@@ -25,6 +27,7 @@ class AliTRDfeeParam : public TObject
 
  public:
 
+  AliTRDfeeParam(TRootIoCtor *);
   AliTRDfeeParam(const AliTRDfeeParam &p);
   virtual           ~AliTRDfeeParam();
   AliTRDfeeParam    &operator=(const AliTRDfeeParam &p);
index 42c4023..f26582a 100644 (file)
@@ -7,6 +7,8 @@
 #pragma link off all globals;
 #pragma link off all classes;
 #pragma link off all functions;
+
+#pragma link C++ ioctortype TRootIoCtor;
  
 #pragma link C++ class  AliTRDarrayI+;
 #pragma link C++ class  AliTRDarrayF+;