// MUON includes
#include "AliMUONTrackParam.h"
+#include "AliMUONTrackExtrap.h"
#include "AliESDMuonTrack.h"
#endif
// set mag field
// waiting for mag field in CDB
printf("Loading field map...\n");
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k4kG);
+ AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k5kG);
AliTracker::SetFieldMap(field, kFALSE);
// open run loader and load gAlice, kinematics and header
cout << " number of tracks: " << nTracks <<endl;
}
+ // set the magnetic field for track extrapolations
+ AliMUONTrackExtrap::SetField(AliTracker::GetFieldMap());
// loop over all reconstructed tracks (also first track of combination)
for (Int_t iTrack = 0; iTrack < nTracks; iTrack++) {
if (!Vertex->GetNContributors()) {
//re-extrapolate to vertex, if not kown before.
trackParam.GetParamFrom(*muonTrack);
- trackParam.ExtrapToVertex(fXVertex, fYVertex, fZVertex);
+ AliMUONTrackExtrap::ExtrapToVertex(&trackParam, fXVertex, fYVertex, fZVertex);
trackParam.SetParamFor(*muonTrack);
}
if (!Vertex->GetNContributors()) {
trackParam.GetParamFrom(*muonTrack);
- trackParam.ExtrapToVertex(fXVertex, fYVertex, fZVertex);
+ AliMUONTrackExtrap::ExtrapToVertex(&trackParam, fXVertex, fYVertex, fZVertex);
trackParam.SetParamFor(*muonTrack);
}
//trigger info
if (ResType == 553)
- ptTrig = 0x400;// mask for Hpt unlike sign pair
+ ptTrig = 0x20;// mask for Hpt unlike sign pair
else if (ResType == 443)
- ptTrig = 0x800;// mask for Apt unlike sign pair
- else
- ptTrig = 0x200;// mask for Lpt unlike sign pair
+ ptTrig = 0x10;// mask for Lpt unlike sign pair
if (esd->GetTriggerMask() & ptTrig) NbTrigger++;