From 967a2a25f36607c6ae72f122e0bf10578cf5c464 Mon Sep 17 00:00:00 2001 From: martinez Date: Tue, 16 Mar 2004 10:01:02 +0000 Subject: [PATCH 1/1] Adding MUON output to the TrackRefs files. To be used for the evaluation/comparisons and in the reconstruction without chamber reponse function --- MUON/AliMUONv1.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MUON/AliMUONv1.cxx b/MUON/AliMUONv1.cxx index d27a48ab516..39f2cf57ba5 100644 --- a/MUON/AliMUONv1.cxx +++ b/MUON/AliMUONv1.cxx @@ -547,6 +547,10 @@ void AliMUONv1::StepManager() if (idvol == -1) return; + // Filling TrackRefs file for MUON. Our Track references are the active volume of the chambers + if ( (gMC->IsTrackEntering() || gMC->IsTrackExiting() ) ) + AddTrackReference(gAlice->GetMCApp()->GetCurrentTrackNumber()); + if( gMC->IsTrackEntering() ) { Float_t theta = fTrackMomentum.Theta(); if ((TMath::Pi()-theta)*kRaddeg>=15.) gMC->SetMaxStep(fStepMaxInActiveGas); // We use Pi-theta because z is negative -- 2.31.1