|Message: Problem with spin tracking in Geant4 10.0||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi! I do a simulation with slow muons and their decay electrons and would like to track the muon spin; in 4.9.6.p02 the following worked fine: fpMagField = new G4UniformMagField(G4ThreeVector(0.0,0.0,1.0*tesla)); G4Mag_EqRhs * fEquation = new G4Mag_SpinEqRhs(fpMagField); G4MagIntegratorStepper * pStepper = new G4ClassicalRK4(fEquation,12); G4ChordFinder * pChordFinder = new G4ChordFinder(fpMagField, 1e-2*mm, pStepper); G4TransportationManager::GetTransportationManager()->GetFieldManager()->SetDetectorField(fpMagField); G4TransportationManager::GetTransportationManager()->GetFieldManager()->SetChordFinder(pChordFinder); in Geant4 10.0 however, my particles behave as if they were neutral (or as if there was no magnetic field, hard to tell...). If I replace G4Mag_SpinEqRhs with G4Mag_UsualEqRhs and use 6 variables only for the stepper, I am back to beautiful helices (but loose the spin tracking). Is this a bug or am I doing something wrong? Any help would be appreciated, thanks Nik
|Inline Depth:||Outline Depth:||Add message:|