From e704c7d4f60d7014e3a858678e9caf5dc0ffc4c8 Mon Sep 17 00:00:00 2001 From: markus Date: Wed, 8 Aug 2007 11:48:58 +0000 Subject: [PATCH] Fix filling of ITSClusterMap. --- STEER/AliReconstruction.cxx | 10 +++++++++- STEER/CreateAODfromESD.C | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index 828f84017a3..9b406f9e5c4 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -2375,13 +2375,21 @@ void AliReconstruction::ESDFile2AODFile(TFile* esdFile, TFile* aodFile) kFALSE, NULL, // no covariance matrix provided esdMuTrack->Charge(), - 0, // no ITSMuonClusterMap + 0, // ITSClusterMap is set below pid, primary, kFALSE, // muon tracks are not used to fit the primary vtx kFALSE, // not used for vertex fit AliAODTrack::kPrimary) ); + + aodTrack->SetHitsPatternInTrigCh(esdMuTrack->GetHitsPatternInTrigCh()); + Int_t track2Trigger = esdMuTrack->GetMatchTrigger(); + aodTrack->SetMatchTrigger(track2Trigger); + if (track2Trigger) + aodTrack->SetChi2MatchTrigger(esdMuTrack->GetChi2MatchTrigger()); + else + aodTrack->SetChi2MatchTrigger(0.); } // Access to the AOD container of clusters diff --git a/STEER/CreateAODfromESD.C b/STEER/CreateAODfromESD.C index 53539ff2394..26c5fa93387 100644 --- a/STEER/CreateAODfromESD.C +++ b/STEER/CreateAODfromESD.C @@ -632,7 +632,7 @@ void CreateAODfromESD(const char *inFileName = "AliESDs.root", kFALSE, NULL, // no covariance matrix provided esdMuTrack->Charge(), - 0, // no ITSMuonClusterMap + 0, // ITSClusterMap is set below pid, primary, kFALSE, // muon tracks are not used to fit the primary vtx -- 2.43.0