68 lines
2.6 KiB
C++
68 lines
2.6 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: G4VProcessPlacer.hh,v 1.8 2003/11/26 14:51:49 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-06-00-patch-01 $
|
|
//
|
|
// ----------------------------------------------------------------------
|
|
// Class G4VProcessPlacer
|
|
//
|
|
// Class description:
|
|
//
|
|
// Used internally by importance sampling and scoring to place
|
|
// processes as second or last PostStepDoIt processes.
|
|
|
|
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
|
// ----------------------------------------------------------------------
|
|
#ifndef G4VProcessPlacer_hh
|
|
#define G4VProcessPlacer_hh G4VProcessPlacer_hh
|
|
|
|
#include "G4Types.hh"
|
|
|
|
class G4VProcess;
|
|
|
|
class G4VProcessPlacer
|
|
{
|
|
|
|
public: // with description
|
|
|
|
G4VProcessPlacer();
|
|
virtual ~G4VProcessPlacer();
|
|
|
|
virtual void AddProcessAsLastDoIt(G4VProcess *process) = 0;
|
|
// place a post step do it process such that the
|
|
// PostStepDoIt function is called last
|
|
// THE ORDER CHANGES BY SUBSEQUENT CALLS
|
|
|
|
virtual void AddProcessAsSecondDoIt(G4VProcess *process) = 0;
|
|
// place a post step do it process such that the
|
|
// PostStepDoIt function is called second
|
|
// THE ORDER CHANGES BY SUBSEQUENT CALLS
|
|
|
|
virtual void RemoveProcess(G4VProcess *process) = 0;
|
|
// removes a given process
|
|
|
|
};
|
|
|
|
#endif
|