Message: Re: No Neutron Interaction with LHEP_PRECO_HP Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: No Neutron Interaction with LHEP_PRECO_HP 

Forum: Hadronic Processes
Re: None No Neutron Interaction with LHEP_PRECO_HP (Davinder Siwal)
Re: None Re: No Neutron Interaction with LHEP_PRECO_HP (sauvestre)
Re: None Re: No Neutron Interaction with LHEP_PRECO_HP (Davinder Siwal)
Date: 05 Aug, 2010
From: Davinder Siwal <Davinder Siwal>

Hiii Sauvester

As i said i am using LHEP_PRECO_HP for simulating a neutron detector with energy <20MeV so i implement LHEP_PRECO_HP into my main as shown in the following lines

  G4VUserPhysicsList* physics = new NdetPhysicsList;
  runManager->SetUserInitialization(physics);
  runManager->SetUserInitialization(new LHEP_PRECO_HP);

And into the user physicslist i am defining the process only for gammas and i have constructed the following particles in my physics list

Bareyons

  G4Proton::ProtonDefinition();
  G4AntiProton::AntiProtonDefinition();
  G4Neutron::NeutronDefinition();
  G4AntiNeutron::AntiNeutronDefinition();

Leptons

  G4Electron::ElectronDefinition();
  G4Positron::PositronDefinition();

Mesons

  G4PionPlus::PionPlusDefinition();
  G4PionMinus::PionMinusDefinition();
  G4PionZero::PionZeroDefinition();
  G4Eta::EtaDefinition();
  G4EtaPrime::EtaPrimeDefinition();
  G4KaonPlus::KaonPlusDefinition();
  G4KaonMinus::KaonMinusDefinition();
  G4KaonZero::KaonZeroDefinition();
  G4AntiKaonZero::AntiKaonZeroDefinition();
  G4KaonZeroLong::KaonZeroLongDefinition();
  G4KaonZeroShort::KaonZeroShortDefinition();

my physicslist processes are as follows

   G4ProcessManager* pManager =0;// particle->GetProcessManager();
   G4cout<<"REGISTER PARTICLES ARE :-"<<G4endl;     
   // gamma
   pManager = G4Gamma::Gamma()->GetProcessManager();
   G4cout<<"Gamma"<<G4endl;
   pManager->AddDiscreteProcess(new G4PhotoElectricEffect);
   pManager->AddDiscreteProcess(new G4ComptonScattering);
   pManager->AddDiscreteProcess(new G4GammaConversion);

   //electron
   pManager = G4Electron::Electron()->GetProcessManager();
   G4cout<<"Electron"<<G4endl;
   G4VProcess* theeminusMultipleScattering = new G4MultipleScattering();
   G4VProcess* theeminusIonisation         = new G4eIonisation();
   G4VProcess* theeminusBremsstrahlung     = new G4eBremsstrahlung();//"eBrem", 10*GeV);

   //  add process
   pManager->AddProcess(theeminusMultipleScattering);//, -1,1,1);
   pManager->AddProcess(theeminusIonisation);//, -1,2,2);
   pManager->AddProcess(theeminusBremsstrahlung);//, -1,3,3);

   // set ordering for AlongStepDoIt

   pManager->SetProcessOrdering(theeminusMultipleScattering, idxAlongStep,1);
   pManager->SetProcessOrdering(theeminusIonisation,         idxAlongStep,2);
   pManager->SetProcessOrdering(theeminusBremsstrahlung,     idxAlongStep,3);

   // set ordering for PostStepDoIt
   pManager->SetProcessOrdering(theeminusMultipleScattering, idxPostStep,1);
   pManager->SetProcessOrdering(theeminusIonisation,         idxPostStep,2);
   pManager->SetProcessOrdering(theeminusBremsstrahlung,     idxPostStep,3);

   //positron
   pManager = G4Positron::Positron()->GetProcessManager();

   G4cout<<"Positron"<<G4endl;
   G4cout<<G4endl;
   G4VProcess* theeplusMultipleScattering = new G4MultipleScattering();
   G4VProcess* theeplusIonisation         = new G4eIonisation();
   G4VProcess* theeplusBremsstrahlung     = new G4eBremsstrahlung("eBrem", 10*GeV);
   G4VProcess* theeplusAnnihilation       = new G4eplusAnnihilation();

   pManager->AddProcess(theeplusMultipleScattering,-1,1,1);
   pManager->AddProcess(theeplusIonisation, -1,2,2);
   pManager->AddProcess(theeplusBremsstrahlung ,-1,3,3);
   pManager->AddProcess(theeplusAnnihilation,0,-1,4);

Can you suggested me what is the solution of this problem

thanks in advance

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

1 None: Re: No Neutron Interaction with LHEP_PRECO_HP   (Davinder Siwal - 05 Aug, 2010)
(_ None: Re: No Neutron Interaction with LHEP_PRECO_HP   (Quentin Cherel - 05 Aug, 2010)
(_ None: Re: No Neutron Interaction with LHEP_PRECO_HP   (Davinder Siwal - 06 Aug, 2010)
(_ None: Re: No Neutron Interaction with LHEP_PRECO_HP   (Davinder Siwal - 06 Aug, 2010)
(_ None: Re: No Neutron Interaction with LHEP_PRECO_HP   (Davinder Siwal - 09 Aug, 2010)
 Add Message Add Message
to: "Re: No Neutron Interaction with LHEP_PRECO_HP"

 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 ]