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 6e62286543b3c5a22c3d2cdccfc84c1fee0aad4e..c0b8f6912adcedba7e6bf169c033358207f6f4c7 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 3b4ddf3db6bcad92edbcd4993923c82a695d1ca8..b086cd0a7eb8cd665561e154c8aece1c05a4d3dc 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);