Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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: G4ParallelImportanceProcess.hh,v 1.5 2002/05/31 10:16:01 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4ParallelImportanceProcess
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// Used internally by importance sampling in a "parallel" geometry.
|
||||
// This is a G4ParallelTransport that also does importance
|
||||
// sampling in the "parallel" geometry.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
#ifndef G4ParallelImportanceProcess_hh
|
||||
#define G4ParallelImportanceProcess_hh G4ParallelImportanceProcess_hh
|
||||
|
||||
#include "G4ParallelTransport.hh"
|
||||
#include "G4ImportancePostStepDoIt.hh"
|
||||
|
||||
class G4VImportanceSplitExaminer;
|
||||
class G4Nsplit_Weight;
|
||||
|
||||
class G4ParallelImportanceProcess : public G4ParallelTransport
|
||||
{
|
||||
|
||||
public: // with description
|
||||
|
||||
G4ParallelImportanceProcess(const G4VImportanceSplitExaminer &aImportanceSplitExaminer,
|
||||
G4VPGeoDriver &pgeodriver,
|
||||
G4VParallelStepper &aStepper,
|
||||
const G4String &aName = "ParallelImportanceProcess");
|
||||
// initialise G4ParallelTransport and members
|
||||
|
||||
G4VParticleChange *PostStepDoIt(const G4Track&,
|
||||
const G4Step&);
|
||||
// do the "parallel transport" and importance sampling.
|
||||
|
||||
private:
|
||||
|
||||
G4ParallelImportanceProcess(const G4ParallelImportanceProcess &);
|
||||
G4ParallelImportanceProcess &operator=(const G4ParallelImportanceProcess &);
|
||||
|
||||
void Error(const G4String &m);
|
||||
|
||||
private:
|
||||
|
||||
G4ParticleChange *fParticleChange;
|
||||
const G4VImportanceSplitExaminer &fImportanceSplitExaminer;
|
||||
G4ImportancePostStepDoIt fImportancePostStepDoIt;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user