]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
dedx stored directly w/o use of TPCseed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Oct 2009 07:31:01 +0000 (07:31 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Oct 2009 07:31:01 +0000 (07:31 +0000)
HLT/global/AliHLTGlobalEsdConverterComponent.cxx

index 785b6b7a52602c2afc18863f703ca5c44388fe11..19bc1cb2fc5afee8f7089c3f15e4942860ba2f37 100644 (file)
@@ -46,7 +46,7 @@
 #include "AliHLTCaloClusterReader.h"
 #include "AliESDCaloCluster.h"
 #include "AliHLTVertexer.h"
-#include "AliTPCseed.h"
+//#include "AliTPCseed.h"
 
 /** ROOT macro for the implementation of ROOT specific class methods */
 ClassImp(AliHLTGlobalEsdConverterComponent)
@@ -353,12 +353,13 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent*
        iotrack.UpdateTrackParams(&(*element),AliESDtrack::kTPCout);
        iotrack.SetTPCPoints(points);
        if( element->TrackID()<ndEdxTPC ){
-         AliTPCseed s;
-         s.Set( element->GetX(), element->GetAlpha(),
-                element->GetParameter(), element->GetCovariance() );
-         s.SetdEdx( dEdxTPC[element->TrackID()] );
-         s.CookPID();
-         iotrack.SetTPCpid(s.TPCrPIDs() );
+         iotrack.SetTPCsignal( dEdxTPC[element->TrackID()], 0, 0 ); 
+         //AliTPCseed s;
+         //s.Set( element->GetX(), element->GetAlpha(),
+         //element->GetParameter(), element->GetCovariance() );
+         //s.SetdEdx( dEdxTPC[element->TrackID()] );
+         //s.CookPID();
+         //iotrack.SetTPCpid(s.TPCrPIDs() );
        } else {
          if( dEdxTPC ) HLTWarning("Wrong number of dEdx TPC labels");
        }