Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
Public Member Functions | Private Types
MyPhysicsList< T > Class Template Reference

Customized physics list class. More...

#include <MyPhysicsList.hh>

List of all members.

Public Member Functions

 MyPhysicsList (G4int ver=0)
 Constructor, constructs the physics list.
virtual ~MyPhysicsList ()
 Destructor, destroys the object.
virtual void SetCuts ()
 Sets the cuts.

Private Types

enum  { ok = CompileTimeConstraints::IsA<T, ok = CompileTimeConstraints::IsA<T }

Detailed Description

template<class T>
class MyPhysicsList< T >

Customized physics list class.

Definition at line 26 of file MyPhysicsList.hh.


Constructor & Destructor Documentation

template<class T >
MyPhysicsList< T >::MyPhysicsList ( G4int  ver = 0)

Constructor, constructs the physics list.

Parameters:
verSets the verbosity level. Default is 0.

Definition at line 28 of file MyPhysicsList.icc.

                                                          :  T()
{

  G4DataQuestionaire it(photon);
  G4cout << "APAAPAAPA"<<G4endl;
  G4cout <<G4endl;

  this->defaultCutValue = 0.7*mm;  
  this->SetVerboseLevel(ver);

  // EM Physics
  this->RegisterPhysics( new G4EmStandardPhysics(ver));

  // Synchroton Radiation & GN Physics
  this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));

  // Decays
  this->RegisterPhysics( new G4DecayPhysics("decay",ver) );

   // Hadron Elastic scattering
  this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));

  // Hadron Physics
   G4bool quasiElastic;
  this->RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron",quasiElastic=true));

  // Stopping Physics
  this->RegisterPhysics( new G4QStoppingPhysics("stopping"));

  // Ion Physics
  this->RegisterPhysics( new G4IonPhysics("ion"));
  
  // Neutron tracking cut
  this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));

  // Radioactive decay physics
  this->RegisterPhysics(new G4RadioactiveDecayPhysics(5));

}

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark