]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
debug output changed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Aug 2011 11:56:04 +0000 (11:56 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Aug 2011 11:56:04 +0000 (11:56 +0000)
HLT/TPCLib/HWCFemulator/AliHLTTPCHWCFEmulatorComponent.cxx

index 87ee5c229de3319a8355a4094b5e3b00b8be3f57..36a7b78571f78d7c97d5e894ff12587f636cefa9 100644 (file)
@@ -517,11 +517,11 @@ int AliHLTTPCHWCFEmulatorComponent::DoEvent( const AliHLTComponentEventData& evt
          AliHLTUInt32_t flag = (c[0]>>30);       
          if( flag == 0x3){ //beginning of a cluster
            int padRow  = (c[0]>>24)&0x3f;
-           int q  = (c[0]&0xFFFFFF)>>6; 
-           double p   = *((AliHLTFloat32_t*)&c[1]);
-           double t  = *((AliHLTFloat32_t*)&c[2]);
-           AliHLTFloat32_t p2 = *((AliHLTFloat32_t*)&c[3]);
-           AliHLTFloat32_t t2 = *((AliHLTFloat32_t*)&c[4]);
+           int q  = c[1];
+           double p   = *((AliHLTFloat32_t*)&c[2]);
+           double t  = *((AliHLTFloat32_t*)&c[3]);
+           AliHLTFloat32_t p2 = *((AliHLTFloat32_t*)&c[4]);
+           AliHLTFloat32_t t2 = *((AliHLTFloat32_t*)&c[5]);
            printf("N: %3d    R: %3d    C: %4d    P:  %7.4f    T:  %8.4f    DP: %6.4f    DT: %6.4f\n", 
                   i/elsize+1, padRow, q, p, t, sqrt(fabs(p2-p*p)), sqrt(fabs(t2-t*t)));