72 lines
2.4 KiB
C++
72 lines
2.4 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: OlapPhysicsList.hh,v 1.1 2002/06/04 07:40:19 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
//
|
|
// --------------------------------------------------------------
|
|
// OlapPhysicsList
|
|
//
|
|
// Author: Martin Liendl - Martin.Liendl@cern.ch
|
|
//
|
|
// --------------------------------------------------------------
|
|
//
|
|
#ifndef OlapPhysicsList_h
|
|
#define OlapPhysicsList_h 1
|
|
|
|
#include "G4VUserPhysicsList.hh"
|
|
#include "globals.hh"
|
|
|
|
class OlapPhysicsList: public G4VUserPhysicsList
|
|
{
|
|
public:
|
|
OlapPhysicsList();
|
|
~OlapPhysicsList();
|
|
|
|
protected:
|
|
// Construct particle and physics
|
|
virtual void ConstructParticle();
|
|
virtual void ConstructProcess();
|
|
|
|
virtual void SetCuts();
|
|
|
|
public:
|
|
// Set/Get cut values
|
|
|
|
protected:
|
|
// these methods Construct particles
|
|
void ConstructBosons();
|
|
|
|
protected:
|
|
// these methods Construct physics processes and register them
|
|
|
|
private:
|
|
G4double cutForGamma;
|
|
G4double cutForElectron;
|
|
G4double cutForProton;
|
|
G4double currentDefaultCut;
|
|
};
|
|
|
|
#endif
|