49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#ifndef sr1PhysicsList_h
|
|
#define sr1PhysicsList_h 1
|
|
|
|
#include "G4VUserPhysicsList.hh"
|
|
#include "globals.hh"
|
|
//cks Added to have Geant default muon decay with spin
|
|
#include "G4DecayWithSpin.hh"
|
|
//#include "sr1DecayWithSpin.hh"
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
class sr1PhysicsList: public G4VUserPhysicsList
|
|
{
|
|
public:
|
|
sr1PhysicsList();
|
|
~sr1PhysicsList();
|
|
|
|
protected:
|
|
// Construct particle and physics
|
|
void ConstructParticle();
|
|
void ConstructProcess();
|
|
|
|
void SetCuts();
|
|
|
|
|
|
protected:
|
|
// these methods Construct particles
|
|
void ConstructBosons();
|
|
void ConstructLeptons();
|
|
void ConstructMesons();
|
|
void ConstructBaryons();
|
|
|
|
protected:
|
|
// these methods Construct physics processes and register them
|
|
void ConstructGeneral();
|
|
void ConstructEM();
|
|
|
|
// private:
|
|
// char myProcesses[100];
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|
|
|
|
|