Import Geant4 6.0.0 source tree
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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: G4ParallelWWnTransportProcess.hh,v 1.4 2003/11/26 14:51:48 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4ParallelWWnTransportProcess
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// Used internally by weight window technique in a "parallel" geometry.
|
||||
// This is a G4ParallelTransport that also does weight window
|
||||
// sampling in the "parallel" geometry. It is used in case
|
||||
// the ww is applied only on the paralle boundaries.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
#ifndef G4ParallelWWnTransportProcess_hh
|
||||
#define G4ParallelWWnTransportProcess_hh G4ParallelWWnTransportProcess_hh
|
||||
|
||||
#include "G4ParallelTransport.hh"
|
||||
#include "G4VTrackTerminator.hh"
|
||||
|
||||
class G4SamplingPostStepAction;
|
||||
class G4VWeightWindowExaminer;
|
||||
class G4Nsplit_Weight;
|
||||
|
||||
class G4ParallelWWnTransportProcess : public G4ParallelTransport,
|
||||
public G4VTrackTerminator
|
||||
{
|
||||
|
||||
public: // with description
|
||||
|
||||
G4ParallelWWnTransportProcess(const G4VWeightWindowExaminer
|
||||
&aWeightWindowExaminer,
|
||||
G4VPGeoDriver &pgeodriver,
|
||||
G4VParallelStepper &aStepper,
|
||||
const G4VTrackTerminator *TrackTerminator,
|
||||
const G4String &aName =
|
||||
"ParallelWWnTransportProcess");
|
||||
// initialise G4ParallelTransport and members
|
||||
|
||||
virtual ~G4ParallelWWnTransportProcess();
|
||||
|
||||
|
||||
virtual G4VParticleChange *PostStepDoIt(const G4Track&,
|
||||
const G4Step&);
|
||||
// do the "parallel transport" and weight window sampling
|
||||
|
||||
virtual void KillTrack() const;
|
||||
// used in case no scoring process follows that does the killing
|
||||
|
||||
virtual const G4String &GetName() const;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
G4ParallelWWnTransportProcess(const G4ParallelWWnTransportProcess &);
|
||||
G4ParallelWWnTransportProcess &operator=(const G4ParallelWWnTransportProcess &);
|
||||
|
||||
virtual void Error(const G4String &m);
|
||||
|
||||
private:
|
||||
|
||||
G4ParticleChange *fParticleChange;
|
||||
const G4VWeightWindowExaminer &fWeightWindowExaminer;
|
||||
G4SamplingPostStepAction *fPostStepAction;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user