Message: MuonRadiativeDecayChannelWithSpin Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question MuonRadiativeDecayChannelWithSpin 

Forum: Particles
Date: 28 May, 2010
From: Oleg Kiselev <Oleg Kiselev>

I would like to add the muon decay channels: G4MuonDecayChannelWithSpin and MuonRadiativeDecayChannelWithSpin I added them to the MuonPlusDecayTable. Now I would like to add the processes. I added up to now the following:

void PhysicsList::ConstructProcess()

    for (PhysicsListVector::iterator p  = fEMPhysics->begin();
                                     p != fEMPhysics->end(); ++p) {


    G4DecayWithSpin* decayWithSpin = new G4DecayWithSpin();

    G4ProcessTable* processTable = G4ProcessTable::GetProcessTable();

    G4VProcess* decay;
    decay = processTable->FindProcess("Decay",G4MuonPlus::MuonPlus());

    G4ProcessManager* fManager;
    fManager = G4MuonPlus::MuonPlus()->GetProcessManager();

    if (fManager) {
      if (decay) fManager->RemoveProcess(decay);
      // set ordering for PostStepDoIt and AtRestDoIt
      fManager ->SetProcessOrdering(decayWithSpin, idxPostStep);
      fManager ->SetProcessOrdering(decayWithSpin, idxAtRest);

This is probably correct but how to add RadiativeDecay?

Oleg Kiselev.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: MuonRadiativeDecayChannelWithSpin   (Gumplinger Peter - 28 May, 2010)
(_ Ok: Re: MuonRadiativeDecayChannelWithSpin   (Oleg Kiselev - 31 May, 2010)
 Add Message Add Message
to: "MuonRadiativeDecayChannelWithSpin"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]