Wrong correlation between vz and tof.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Mar 2009 10:43:26 +0000 (10:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Mar 2009 10:43:26 +0000 (10:43 +0000)
THijing/AliGenHijing.cxx

index 1ffbd0a..a4ec827 100644 (file)
@@ -367,7 +367,8 @@ void AliGenHijing::Generate()
              origin[0] = origin0[0]+iparticle->Vx()/10;
              origin[1] = origin0[1]+iparticle->Vy()/10;
              origin[2] = origin0[2]+iparticle->Vz()/10;
-             tof = kconv * iparticle->T() + sign * origin0[2] / 3.e10;
+//           tof = kconv * iparticle->T() + sign * origin0[2] / 3.e10;
+             tof = kconv * iparticle->T();
              if (fPileUpTimeWindow > 0.) tof += tInt;
              
              imo = -1;