]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 ed377a62d56bf4ea95138ee15f758d9b032207dd..96fa80b59c25795ef2bf1e13eee121c3e864806a 100644 (file)
@@ -89,6 +89,18 @@ AliTRDCommonParam::AliTRDCommonParam()
 
 }
 
+//_____________________________________________________________________________
+AliTRDCommonParam::AliTRDCommonParam(TRootIoCtor *)
+  :TObject()
+  ,fExBOn(0)
+  ,fSamplingFrequency(0.0)
+{
+  //
+  // IO constructor
+  //
+
+}
+
 //_____________________________________________________________________________
 void AliTRDCommonParam::Init()
 {
index c29c23b4d65088b9613813d150911884f3c64a63..d22a0a252da23cd7e9c561b40fa60e7ceb3f814c 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 99e0211e0a8dd8872d508020fc9b2d36347842ea..b84c567b51a35e478d48a58d19e97103af7d5959 100644 (file)
@@ -37,6 +37,7 @@ are fully debugged.
 #include <TMath.h>
 
 #include "AliLog.h"
+
 #include "AliTRDfeeParam.h"
 #include "AliTRDgeometry.h"
 #include "AliTRDCommonParam.h"
@@ -115,6 +116,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)
index 4d8e07d727d0874bc301faa67e4f598ad67ad5aa..145ba534a048b2e2d491fa882ba99ed386caec54 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 42c4023f6a1489087e8457d2ba1df8e49bd63c7a..f26582ac7eada5187e054a6eeef1ea40507a73a9 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+;