From: martinez Date: Tue, 16 Mar 2004 13:38:31 +0000 (+0000) Subject: Implementing MUON in AliSimulation framework. For the moment Hits2Digits is empty... X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=ae31c826ecb279f289e1823773d389454cc3e812 Implementing MUON in AliSimulation framework. For the moment Hits2Digits is empty and AliMUONDigitizerv1 is used. Solving segmentation fault during MUON simulation in head version --- diff --git a/MUON/AliMUON.cxx b/MUON/AliMUON.cxx index 0ee4b5cd40e..06da5b30fd2 100644 --- a/MUON/AliMUON.cxx +++ b/MUON/AliMUON.cxx @@ -243,9 +243,9 @@ void AliMUON::SetTreeAddress() // GetMUONData()->MakeBranch("D,S,RC"); // GetMUONData()->SetTreeAddress("H,D,S,RC"); GetMUONData()->SetTreeAddress("H"); - if (fHits != GetMUONData()->Hits()) { - if (gAlice->GetMCApp()) + if ( gAlice->GetMCApp() ) + if ( gAlice->GetMCApp()->GetHitLists() ) gAlice->GetMCApp()->AddHitList (fHits); // For purifyKine, only necessary when Hit list is created in AliMUONData } fHits = GetMUONData()->Hits(); // Added by Ivana to use the methods FisrtHit, NextHit of AliDetector @@ -443,9 +443,8 @@ void AliMUON::SDigits2Digits() //_____________________________________________________________________ void AliMUON::Hits2SDigits() { - // make SDigits from hits - AliMUONSDigitizerv1 SDigitizer = AliMUONSDigitizerv1(); - SDigitizer.Exec(); // make SDigits for current event + // Empty for the moment which means that AliSimulation is + // using AliMUONDigitalisationv1 and SDigits are not created. MErging is done at the Hit level } //_______________________________________________________________________ AliLoader* AliMUON::MakeLoader(const char* topfoldername)