Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -0,0 +1,122 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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: G4SCProcessorStand
|
||||
//
|
||||
// Author: Vladimir Ivanchenko
|
||||
//
|
||||
// Creation date: 03.01.2002
|
||||
//
|
||||
// Modifications:
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
// Class for simualtion of subCutoff
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#ifndef G4SCProcessorStand_h
|
||||
#define G4SCProcessorStand_h 1
|
||||
|
||||
|
||||
#include "G4VSubCutoffProcessor.hh"
|
||||
#include "G4PhysicsTable.hh"
|
||||
#include "G4DataVector.hh"
|
||||
|
||||
class G4Navigator;
|
||||
class G4Material;
|
||||
|
||||
class G4SCProcessorStand : public G4VSubCutoffProcessor
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4SCProcessorStand();
|
||||
|
||||
~G4SCProcessorStand();
|
||||
|
||||
virtual G4std::vector<G4Track*>* SampleSecondary(const G4Step& step,
|
||||
const G4DynamicParticle*,
|
||||
G4double meanLoss);
|
||||
|
||||
virtual void Initialise(const G4ParticleDefinition*,
|
||||
const G4ParticleDefinition*,
|
||||
G4EmModelManager* );
|
||||
|
||||
virtual void SetLambdaSubTable(G4PhysicsTable*);
|
||||
|
||||
virtual G4PhysicsTable* LambdaSubTable();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
|
||||
// hide assignment operator
|
||||
G4SCProcessorStand & operator=(const G4SCProcessorStand &right);
|
||||
G4SCProcessorStand(const G4SCProcessorStand&);
|
||||
|
||||
G4PhysicsTable* theLambdaSubTable;
|
||||
const G4ParticleDefinition* particle;
|
||||
const G4ParticleDefinition* secondaryParticle;
|
||||
const G4ParticleDefinition* thePositron;
|
||||
G4EmModelManager* modelManager;
|
||||
G4Navigator* navigator;
|
||||
const G4DataVector* theCuts;
|
||||
const G4DataVector* theSubCuts;
|
||||
G4DataVector rangeCuts;
|
||||
|
||||
// cash
|
||||
const G4Material* material;
|
||||
G4int materialIndex;
|
||||
G4double cut;
|
||||
G4double subcut;
|
||||
G4double rcut;
|
||||
G4double initialMass;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
inline void G4SCProcessorStand::SetLambdaSubTable(G4PhysicsTable* table)
|
||||
{
|
||||
if(theLambdaSubTable) theLambdaSubTable->clearAndDestroy();
|
||||
theLambdaSubTable = table;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
inline G4PhysicsTable* G4SCProcessorStand::LambdaSubTable()
|
||||
{
|
||||
return theLambdaSubTable;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user