79 lines
2.6 KiB
C++
79 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: G4VXrayTRadModel.hh,v 1.1 2004/11/09 09:20:34 hpw Exp $
|
|
// GEANT4 tag $Name: geant4-07-01 $
|
|
//
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// base class for 'fast' parametrisation model describing X-ray transition
|
|
// created in some G4Envelope. Anglur distribuiton is very rough !!! (see DoIt
|
|
// method
|
|
//
|
|
// History:
|
|
// 26.02.01 V. Grichine first version
|
|
// 26.02.01 V. Grichine, DoIt was transformed from virtual
|
|
//
|
|
|
|
|
|
#ifndef G4VXrayTRadModel_h
|
|
#define G4VXrayTRadModel_h 1
|
|
|
|
|
|
#include <complex>
|
|
#include "globals.hh"
|
|
|
|
#include "G4PhysicsTable.hh"
|
|
#include "G4PhysicsLogVector.hh"
|
|
#include "G4Gamma.hh"
|
|
|
|
#include "G4VXrayTRmodel.hh"
|
|
|
|
|
|
class G4VXrayTRadModel : public G4VXrayTRmodel
|
|
{
|
|
public:
|
|
|
|
G4VXrayTRadModel (G4LogicalVolume *anEnvelope,G4double,G4double);
|
|
virtual ~G4VXrayTRadModel ();
|
|
|
|
// Pure virtual functions from base class
|
|
|
|
void DoIt(const G4FastTrack&, G4FastStep&) ;
|
|
|
|
// Pure virtuals must be implemented in inherited particular TR radiators
|
|
|
|
virtual G4double GetStackFactor( G4double energy, G4double gamma,
|
|
G4double varAngle ) = 0 ;
|
|
|
|
|
|
void BuildTable() ;
|
|
void BuildEnergyTable() ;
|
|
void BuildAngleTable() ;
|
|
|
|
};
|
|
|
|
#endif
|
|
|