Field conversion factor added.
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Oct 2002 12:55:03 +0000 (12:55 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Oct 2002 12:55:03 +0000 (12:55 +0000)
TPC/AliTPCComparison.C
TPC/AliTPCFindTracks.C

index 00d5c15..6a3e2cb 100644 (file)
@@ -21,6 +21,8 @@ struct GoodTrackTPC {
 };
 
 Int_t AliTPCComparison(Int_t event=0) {
+
+AliKalmanTrack::SetConvConst(1000/0.299792458/gAlice->Field()->SolenoidField());
    cerr<<"Doing comparison...\n";
 
    const Int_t MAX=20000;
index c636c54..1c9f771 100644 (file)
@@ -11,7 +11,9 @@
   #include "TStopwatch.h"
 #endif
 
-Int_t AliTPCFindTracks(Int_t eventn=1) { 
+Int_t AliTPCFindTracks(Int_t eventn=1) {
+
+AliKalmanTrack::SetConvConst(1000/0.299792458/gAlice->Field()->SolenoidField()); 
    cerr<<"Looking for tracks...\n";
 
    TFile *out=TFile::Open("AliTPCtracks.root","new");