]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCclustererKr.cxx
Analysis code updated
[u/mrichter/AliRoot.git] / TPC / AliTPCclustererKr.cxx
index 0576374467b0bd99b61c6fee7e3460027c8f614e..8c1eba17d9912718013c13a10eeff96ea4f15db5 100644 (file)
@@ -233,6 +233,10 @@ delete stream;
 #include "AliTPCCalROC.h"\r
 #include "AliRawEventHeaderBase.h"\r
 \r
+using std::cerr;\r
+using std::cout;\r
+using std::endl;\r
+using std::list;\r
 ClassImp(AliTPCclustererKr)\r
 \r
 \r
@@ -339,6 +343,8 @@ AliTPCclustererKr & AliTPCclustererKr::operator = (const AliTPCclustererKr & par
   //\r
   // assignment operator\r
   //\r
+  if (this == &param) return (*this);\r
+  \r
   fParam = param.fParam;\r
   fRecoParam = param.fRecoParam;\r
   fRawData = param.fRawData;\r
@@ -443,8 +449,9 @@ Int_t AliTPCclustererKr::FinderIO(AliRawReader* rawReader)
   // Krypton cluster finder for the TPC raw data\r
   // this method is unsing AliAltroRawStreamV3\r
   // fParam must be defined before\r
-  \r
-  if(rawReader)fRawData=kTRUE; //set flag to data\r
+  if (!rawReader) return 1;\r
+  //\r
+  fRawData=kTRUE; //set flag to data\r
   \r
   if (!fOutput) {\r
     Error("Digits2Clusters", "output tree not initialised");\r