Adding default constructor (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Dec 2007 23:17:57 +0000 (23:17 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Dec 2007 23:17:57 +0000 (23:17 +0000)
TPC/AliTPCmapper.cxx
TPC/AliTPCmapper.h

index 6e62286..c0b8f69 100644 (file)
 #include "AliDAQ.h"
 
 ClassImp(AliTPCmapper)
+//______________________________________________________________
+AliTPCmapper::AliTPCmapper() :
+  fNside(0),
+  fNsector(0),
+  fNrcu(0),
+  fNbranch(0),
+  fNaltro(0),
+  fNchannel(0),
+  fNpadrow(0),
+  fNpadrowIROC(0),
+  fNpadrowOROC(0),
+  fTpcDdlOffset(0)
+{
+  //
+  // Constructor
+  //
+  for ( Int_t i = 0; i < fNrcu; i++ )  fMapping[i]=0;
+}
 
 //______________________________________________________________
 AliTPCmapper::AliTPCmapper(const char * dirname) :
index 3b4ddf3..b086cd0 100644 (file)
@@ -19,7 +19,8 @@ class AliTPCmapper : public TObject{
 
 public:
 
-  AliTPCmapper(const char * dirname=0);
+  AliTPCmapper();
+  AliTPCmapper(const char * dirname);
   virtual ~AliTPCmapper();
 
   AliTPCmapper& operator = (const AliTPCmapper& mapper);