]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCclusterMI.cxx
additional control histograms
[u/mrichter/AliRoot.git] / TPC / AliTPCclusterMI.cxx
index b5d69f075bff648f1c4c7030538931f4551c55ad..17f0438c86c795e29bcca9c8f0c4c0b9f3135c9b 100644 (file)
@@ -34,7 +34,7 @@
 ClassImp(AliTPCclusterMI)
 
 
-AliTPCclusterMI::AliTPCclusterMI(Bool_t withInfo):
+AliTPCclusterMI::AliTPCclusterMI():
   AliCluster(),
   fInfo(0),
   fTimeBin(0),  //time bin coordinate
@@ -49,7 +49,6 @@ AliTPCclusterMI::AliTPCclusterMI(Bool_t withInfo):
   //
   // default constructor
   //
-  if (withInfo) fInfo = new AliTPCclusterInfo;
 }
 
 AliTPCclusterMI::AliTPCclusterMI(const AliTPCclusterMI & cluster):
@@ -77,6 +76,7 @@ AliTPCclusterMI & AliTPCclusterMI::operator = (const AliTPCclusterMI & cluster)
   // assignment operator
   // 
   //  AliInfo("Asignment operator\n");
+  if (this == &cluster) return (*this);
 
   (AliCluster&)(*this) = (AliCluster&)cluster;
   fQ    = cluster.fQ;