]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
(Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Jul 2006 12:31:17 +0000 (12:31 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 12 Jul 2006 12:31:17 +0000 (12:31 +0000)
TPC/recTPC.C

index 4441832dc2c0fae08df4d6ddd60eb616968d4657..d0f987a8023d89da9bd88c35b105edd4df567dae 100644 (file)
@@ -22,9 +22,9 @@ void recTPC(Int_t type, const char *filename="data.root")
   //
   AliLog::SetClassDebugLevel("AliTPCclustererMI",2);
   AliTPCRecoParam * tpcRecoParam = 0;
-  if (type=0) AliTPCRecoParam::GetCosmicTestParam(kTRUE);
-  if (type>0)  AliTPCRecoParam::GetLaserTestParam(kTRUE);
-
+  if (type==0)  tpcRecoParam = AliTPCRecoParam::GetCosmicTestParam(kTRUE);
+  if (type>0)  tpcRecoParam = AliTPCRecoParam::GetLaserTestParam(kTRUE);
+  tpcRecoParam->Dump();
   AliTPCReconstructor::SetRecoParam(tpcRecoParam);
   AliTPCReconstructor::SetStreamLevel(1);
   //
@@ -64,8 +64,8 @@ void recTracking(Int_t type, const char *filename="data.root", Int_t nevents=1)
   AliLog::SetClassDebugLevel("AliTPCclustererMI",2);
 
   AliTPCRecoParam * tpcRecoParam = 0;
-  if (type=0) AliTPCRecoParam::GetCosmicTestParam(kTRUE);
-  if (type>0)  AliTPCRecoParam::GetLaserTestParam(kTRUE);
+  if (type==0)  tpcRecoParam = AliTPCRecoParam::GetCosmicTestParam(kTRUE);
+  if (type>0)  tpcRecoParam = AliTPCRecoParam::GetLaserTestParam(kTRUE);
 
   AliTPCReconstructor::SetRecoParam(tpcRecoParam);
   AliTPCReconstructor::SetStreamLevel(1);