102 lines
3.2 KiB
C++
102 lines
3.2 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. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// -------------------------------------------------------------------
|
|
//
|
|
// GEANT4 Class header file
|
|
//
|
|
//
|
|
// File name: G4VSubCutoffProcessor
|
|
//
|
|
// Author: Vladimir Ivanchenko
|
|
//
|
|
// Creation date: 03.01.2002
|
|
//
|
|
// Modifications:
|
|
//
|
|
// 26-12-02 Secondary production moved to derived classes (V.Ivanchenko)
|
|
// 29-12-02 Change interface (V.Ivanchenko)
|
|
// 13-02-03 Add name (V.Ivanchenko)
|
|
//
|
|
// Class Description:
|
|
//
|
|
// Abstract class for interface to simualtion of subCutoff
|
|
|
|
// -------------------------------------------------------------------
|
|
//
|
|
|
|
#ifndef G4VSubCutoffProcessor_h
|
|
#define G4VSubCutoffProcessor_h 1
|
|
|
|
|
|
#include "globals.hh"
|
|
#include "g4std/vector"
|
|
|
|
class G4Step;
|
|
class G4Track;
|
|
class G4ParticleDefinition;
|
|
class G4VEmModel;
|
|
class G4DataVector;
|
|
class G4PhysicsTable;
|
|
|
|
class G4VSubCutoffProcessor
|
|
{
|
|
|
|
public:
|
|
|
|
G4VSubCutoffProcessor(const G4String& nam): name(nam) {};
|
|
|
|
virtual ~G4VSubCutoffProcessor() {};
|
|
|
|
virtual G4std::vector<G4Track*>* SampleSecondaries(const G4Step&,
|
|
G4double& tmax,
|
|
G4double& meanLoss,
|
|
G4VEmModel*) = 0;
|
|
|
|
virtual void Initialise(const G4ParticleDefinition*,
|
|
const G4ParticleDefinition*,
|
|
const G4DataVector*,
|
|
const G4DataVector*) = 0;
|
|
|
|
virtual void SetLambdaSubTable(G4PhysicsTable*) = 0;
|
|
|
|
virtual G4PhysicsTable* LambdaSubTable() = 0;
|
|
|
|
G4String GetName() const {return name;};
|
|
|
|
protected:
|
|
|
|
private:
|
|
|
|
// hide assignment operator
|
|
G4VSubCutoffProcessor & operator=(const G4VSubCutoffProcessor &right);
|
|
G4VSubCutoffProcessor(const G4VSubCutoffProcessor&);
|
|
|
|
const G4String name;
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|
|
|
#endif
|
|
|